com.ibm.crypto.pkcs11impl.provider
Interface PKCS11SecretKey

All Superinterfaces:
java.security.Key, PKCS11Key, javax.crypto.SecretKey, java.io.Serializable
All Known Subinterfaces:
GeneralPKCS11Key, PKCS11DESedeKey, PKCS11DESKey
All Known Implementing Classes:
GeneralKey

public interface PKCS11SecretKey
extends PKCS11Key, javax.crypto.SecretKey

The interface to a PKCS11 secret key, as defined in the PKCS#11 standard


Field Summary
static long serialVersionUID
           
 
Method Summary
 java.lang.Boolean getAlwaysSensitive()
          Returns Always Sensitive
 java.lang.Boolean getDecrypt()
          Returns encrypt
 java.lang.Boolean getEncrypt()
          Returns encrypt
 java.lang.Boolean getNeverExtractable()
          Returns Never Extractable
 java.lang.Boolean getSensitive()
          Returns the sensitive.
 java.lang.Boolean getUnwrap()
          Returns unwrap
 java.lang.Boolean getVerify()
          Returns verify
 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

getSensitive

java.lang.Boolean getSensitive()
Returns the sensitive.

Returns:
true if the key is sensitive; false otherwise

getEncrypt

java.lang.Boolean getEncrypt()
Returns encrypt

Returns:
true if key supports encryption; false otherwise

getDecrypt

java.lang.Boolean getDecrypt()
Returns encrypt

Returns:
true if key supports encryption; false otherwise

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

getWrap

java.lang.Boolean getWrap()
Returns Wrap

Returns:
true if key supports wrapping; false otherwise.

getUnwrap

java.lang.Boolean getUnwrap()
Returns unwrap

Returns:
true if key supports wrapping; false otherwise

getAlwaysSensitive

java.lang.Boolean getAlwaysSensitive()
Returns Always Sensitive

Returns:
true if key is Always Sensitive; false otherwise

getNeverExtractable

java.lang.Boolean getNeverExtractable()
Returns Never Extractable

Returns:
true if key is Never Extractable; false otherwise