com.ibm.crypto.pkcs11impl.provider
Class PKCS11KeySpec
- java.lang.Object
com.ibm.crypto.pkcs11impl.provider.PKCS11KeySpec
All implemented interfaces:
java.security.spec.KeySpec
- public class PKCS11KeySpec
- extends java.lang.Object
- implements java.security.spec.KeySpec
Constructor Summary
Constructor and Description |
---|
PKCS11KeySpec(com.ibm.pkcs11.PKCS11Object key)
Uses the PKCS11Object to build a PKCS11 key.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getObject()
Returns the key material.
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
PKCS11KeySpec
- public PKCS11KeySpec(com.ibm.pkcs11.PKCS11Object key)
Uses the PKCS11Object to build a PKCS11 key.
Parameters:
key
- the PKCS11Object that contains the key material. Method Detail
getObject
- public com.ibm.pkcs11.PKCS11Object getObject( )
Returns the key material.
Returns:
the key material.