|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.security.x509.X509Key
com.ibm.crypto.pkcs11impl.provider.RSAPublicKey
public final class RSAPublicKey
A PKCS11 RSA Public Key
| Method Summary | |
|---|---|
java.lang.String |
getAlgorithm()
Get the Algorithm type |
java.lang.Boolean |
getDerive()
Returns true if key supports key derivation |
java.lang.Boolean |
getEncrypt()
Return if this key can do encryption |
java.util.Date |
getEndDate()
Returns the end date |
java.lang.String |
getFormat()
Get format of the key |
byte[] |
getID()
Return the ID |
java.lang.Integer |
getKeyType()
Return the key type |
java.lang.String |
getLabel()
Return the label. |
java.lang.Boolean |
getLocal()
Returns true if key was either: 1, generated locally with a C_GenerateKey or C_GenerateKeyPair call 2, created with a C_CopyObject call as a copy of a key which had its CKA_LOCAL attrobute set to TRUE |
java.lang.Boolean |
getModifiable()
Returns if the attribuites of the key are modifiable |
java.math.BigInteger |
getModulus()
Return the modulus of the key. |
java.lang.Integer |
getModulusBits()
Return the modulus bits. |
com.ibm.pkcs11.PKCS11Object |
getObject()
Return the PKCS11Object |
java.lang.Boolean |
getPrivate()
Returns if the key is private object. |
java.math.BigInteger |
getPublicExponent()
Returns the public exponent. |
com.ibm.pkcs11.PKCS11Session |
getSession()
Return the session associated with the key. |
java.util.Date |
getStartDate()
Returns the start date |
byte[] |
getSubject()
Return the subject |
java.lang.Boolean |
getToken()
Returns if the key is a token object. |
java.lang.Boolean |
getVerify()
Return if this key can verify a signature. |
java.lang.Boolean |
getVerifyRecover()
Returns if this key supports verify recover |
java.lang.Boolean |
getWrap()
Returns if this key can wrap another key |
java.lang.String |
toString()
Returns a human readable version of the RSA Public key. |
| Methods inherited from class com.ibm.security.x509.X509Key |
|---|
decode, decode, encode, encode, equals, getAlgorithmId, getEncoded, hashCode, parse, parse, write, writeBASE64 |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.security.Key |
|---|
getEncoded |
| Methods inherited from interface java.security.Key |
|---|
getEncoded |
| Methods inherited from interface java.security.Key |
|---|
getEncoded |
| Method Detail |
|---|
public com.ibm.pkcs11.PKCS11Object getObject()
getObject in interface PKCS11Keypublic java.lang.Boolean getToken()
getToken in interface PKCS11Keypublic java.lang.Boolean getPrivate()
getPrivate in interface PKCS11Keypublic java.lang.String getLabel()
getLabel in interface PKCS11Keypublic java.lang.Boolean getModifiable()
getModifiable in interface PKCS11Keypublic java.lang.Integer getKeyType()
getKeyType in interface PKCS11Keypublic byte[] getID()
getID in interface PKCS11Keypublic java.util.Date getStartDate()
getStartDate in interface PKCS11Keypublic java.util.Date getEndDate()
getEndDate in interface PKCS11Keypublic java.lang.Boolean getDerive()
getDerive in interface PKCS11Keypublic java.lang.Boolean getLocal()
getLocal in interface PKCS11Keypublic byte[] getSubject()
getSubject in interface PKCS11PublicKeypublic java.lang.Boolean getEncrypt()
getEncrypt in interface PKCS11PublicKeypublic java.lang.Boolean getVerify()
getVerify in interface PKCS11PublicKeypublic java.lang.Boolean getVerifyRecover()
getVerifyRecover in interface PKCS11PublicKeypublic java.lang.Boolean getWrap()
getWrap in interface PKCS11PublicKeypublic java.math.BigInteger getModulus()
getModulus in interface PKCS11RSAPublicKeygetModulus in interface java.security.interfaces.RSAKeypublic java.lang.Integer getModulusBits()
getModulusBits in interface PKCS11RSAPublicKeypublic java.math.BigInteger getPublicExponent()
getPublicExponent in interface PKCS11RSAPublicKeygetPublicExponent in interface java.security.interfaces.RSAPublicKeypublic com.ibm.pkcs11.PKCS11Session getSession()
getSession in interface PKCS11Keypublic java.lang.String toString()
toString in class com.ibm.security.x509.X509Keypublic java.lang.String getFormat()
getFormat in interface java.security.KeygetFormat in class com.ibm.security.x509.X509Keypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.KeygetAlgorithm in class com.ibm.security.x509.X509Key
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||