com.ibm.crypto.pkcs11impl.provider
Interface PKCS11PublicKey
-
- All Superinterfaces:
- java.security.Key, com.ibm.pkcs11.P11Key, PKCS11Key, java.security.PublicKey, java.io.Serializable
- All Known Subinterfaces:
- PKCS11DSAPublicKey, PKCS11RSAPublicKey
- All Known Implementing Classes:
- DSAPublicKey, PKCS11ECPublicKey, RSAPublicKey
public interface PKCS11PublicKey extends PKCS11Key, java.security.PublicKey
The interface to a PKCS11 public key, as defined in the PKCS#11 standard
-
-
Field Summary
Fields Modifier and Type Field and Description static longserialVersionUID
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.BooleangetEncrypt()Returns encryptbyte[]getSubject()Returns the subject.java.lang.BooleangetVerify()Returns verifyjava.lang.BooleangetVerifyRecover()Returns verify recoverjava.lang.BooleangetWrap()Returns wrap-
Methods inherited from interface com.ibm.crypto.pkcs11impl.provider.PKCS11Key
getDerive, getEndDate, getID, getKeyType, getLabel, getLocal, getModifiable, getObject, getPrivate, getSessionManager, getStartDate, getToken, rm
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSubject
byte[] getSubject()
Returns the subject.- Returns:
- the subject
-
getEncrypt
java.lang.Boolean getEncrypt()
Returns encrypt- Returns:
- true if key supports encryption
-
getVerify
java.lang.Boolean getVerify()
Returns verify- Returns:
- true if the key suports verification where the signature is an appendix to the data; false otherwise
-
getVerifyRecover
java.lang.Boolean getVerifyRecover()
Returns verify recover- Returns:
- true if key supports verification where the data is recovered from the signature.
-
getWrap
java.lang.Boolean getWrap()
Returns wrap- Returns:
- true if key supports wrapping; false otherwise
-
-