com.ibm.crypto.pkcs11impl.provider
Interface PKCS11SecretKeyParameterSpec
All Superinterfaces:
java.security.spec.AlgorithmParameterSpec
All known implementing classes:
- public interface PKCS11SecretKeyParameterSpec
- extends java.security.spec.AlgorithmParameterSpec
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getEncrypt()
Returns the if the key can be used for encryption/decryption operations.
|
|
getExtractable()
Returns the if the key can be wrapped by another key.
|
|
getKeyID()
Returns the associated key identifier.
|
|
getKeyType()
Returns the key type
|
|
getLabel()
Returns the label for the key.
|
|
getSensitive()
Returns the if the key is to be sensitive.
|
|
getToken()
Returns the if the the keys are session or token key.
|
|
getWrap()
Returns the if the key can be used for wrapping operations.
|
Method Detail
getKeyType
- java.lang.Integer getKeyType()
Returns the key type
Returns:
the key type
getKeyID
- java.lang.String getKeyID()
Returns the associated key identifier.
Returns:
the key identifier
getLabel
- java.lang.String getLabel()
Returns the label for the key.
Returns:
the label.
getToken
- java.lang.Boolean getToken()
Returns the if the the keys are session or token key.
Returns:
true if keys are token key, false they are only related to the session.
getSensitive
- java.lang.Boolean getSensitive( )
Returns the if the key is to be sensitive.
Returns:
true if the key is to sensitive, false otherwise.
getEncrypt
- java.lang.Boolean getEncrypt()
Returns the if the key can be used for encryption/decryption operations.
Returns:
true if the key can do encryption/decryption operations, false otherwise.
getWrap
- java.lang.Boolean getWrap()
Returns the if the key can be used for wrapping operations.
Returns:
true if the key can do wrapping operations, false otherwise.
getExtractable
- java.lang.Boolean getExtractable( )
Returns the if the key can be wrapped by another key.
Returns:
true if the key can be wrapped by another key, false otherwise.