com.ibm.crypto.pkcs11impl.provider

Class PKCS11KeySpec

  1. java.lang.Object
  2. extended bycom.ibm.crypto.pkcs11impl.provider.PKCS11KeySpec
All implemented interfaces:
java.security.spec.KeySpec

  1. public class PKCS11KeySpec
  2. extends java.lang.Object
  3. implements java.security.spec.KeySpec
This class specifies a PKCS11 key via it's PKCS11 Object.

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
  1. com.ibm.pkcs11.PKCS11Object
getObject()
Returns the key material.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

PKCS11KeySpec

  1. 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

  1. public com.ibm.pkcs11.PKCS11Object getObject( )
Returns the key material.
Returns:
the key material.