com.ibm.crypto.pkcs11impl.provider
Interface PKCS11PublicKey

All Superinterfaces:
java.security.Key, PKCS11Key, java.security.PublicKey, java.io.Serializable
All Known Subinterfaces:
PKCS11DSAPublicKey, PKCS11RSAPublicKey
All Known Implementing Classes:
DSAPublicKey, 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
static long serialVersionUID
           
 
Method Summary
 java.lang.Boolean getEncrypt()
          Returns encrypt
 byte[] getSubject()
          Returns the subject.
 java.lang.Boolean getVerify()
          Returns verify
 java.lang.Boolean getVerifyRecover()
          Returns verify recover
 java.lang.Boolean getWrap()
          Returns wrap
 
Methods inherited from interface com.ibm.crypto.pkcs11impl.provider.PKCS11Key
getDerive, getEndDate, getID, getKeyType, getLabel, getLocal, getModifiable, getObject, getPrivate, getSession, getStartDate, getToken
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

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