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
    This class specifies a PKCS11 key via it's PKCS11 Object.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PKCS11KeySpec(com.ibm.pkcs11.PKCS11Object key)
      Uses the PKCS11Object to build a PKCS11 key.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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

        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.

© Portions Copyright 2003, 2017 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2017, Oracle and/or its affiliates. All rights reserved.