com.ibm.crypto.hdwrCCA.provider

Class KeyPairUtils

  • java.lang.Object
    • com.ibm.crypto.hdwrCCA.provider.KeyPairUtils

  • Deprecated.

    public final class KeyPairUtils
    extends java.lang.Object
    The methods in this class are not supported customer interfaces. This class is a utilities class to handle generation and handling of EC, RSA and DSA keys in hardware.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      protected static class  KeyPairUtils.KeyPairAlgorithm
      Deprecated. 
       
    • Constructor Summary

      Constructors 
      Constructor and Description
      KeyPairUtils()
      Deprecated. 
      This constructor is not a supported customer interface.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      protected static void deletePKDSEntry(byte[] pkdsLabel)
      Deprecated. 
      This method is not a supported customer interface.
      protected java.security.KeyPair generateKeyPairFromInternalToken(byte[] token)
      Deprecated. 
      This method is not a supported customer interface.
      protected byte[] generateKeysFromSkeletonToken(byte[] token)
      Deprecated. 
      This method is not a supported customer interface.
      java.security.Key generatePrivateHWKey(java.security.PublicKey publickey, java.security.PrivateKey privatekey)
      Deprecated. 
      This method is not a supported customer interface.
      protected byte[] generateToken(java.security.Key key)
      Deprecated. 
      This method is not a supported customer interface.
      protected byte[] generateToken(java.security.Key publickey, java.security.Key privatekey)
      Deprecated. 
      This method is not a supported customer interface.
      static void icsfDeletePKDSEntry(byte[] pkdsLabel)
      Deprecated. 
      This method is not a supported customer interface. The supported methods to delete an entry from the PKDS are in the key object.
      static int[] icsfDeletePKDSEntryWithRC(byte[] pkdsLabel)
      Deprecated. 
      This method is not a supported customer interface. The supported methods to delete an entry from the PKDS are in the key object.
      byte[] importExternalToken(byte[] eToken, KeyPairUtils.KeyPairAlgorithm alg)
      Deprecated. 
      This method is not a supported customer interface.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyPairUtils

        public KeyPairUtils()
        Deprecated. This constructor is not a supported customer interface.
    • Method Detail

      • generateToken

        protected byte[] generateToken(java.security.Key key)
                                throws java.lang.InternalError,
                                       java.lang.RuntimeException
        Deprecated. 
        This method is not a supported customer interface.
        Throws:
        java.lang.InternalError
        java.lang.RuntimeException
      • generateKeysFromSkeletonToken

        protected byte[] generateKeysFromSkeletonToken(byte[] token)
                                                throws java.lang.InternalError
        Deprecated. 
        This method is not a supported customer interface.
        Throws:
        java.lang.InternalError
      • generateKeyPairFromInternalToken

        protected java.security.KeyPair generateKeyPairFromInternalToken(byte[] token)
                                                                  throws java.lang.RuntimeException
        Deprecated. 
        This method is not a supported customer interface.
        Throws:
        java.lang.RuntimeException
      • generateToken

        protected byte[] generateToken(java.security.Key publickey,
                                       java.security.Key privatekey)
                                throws java.lang.InternalError,
                                       java.lang.RuntimeException
        Deprecated. 
        This method is not a supported customer interface.
        Throws:
        java.lang.InternalError
        java.lang.RuntimeException
      • importExternalToken

        public byte[] importExternalToken(byte[] eToken,
                                          KeyPairUtils.KeyPairAlgorithm alg)
        Deprecated. This method is not a supported customer interface.
      • generatePrivateHWKey

        public java.security.Key generatePrivateHWKey(java.security.PublicKey publickey,
                                                      java.security.PrivateKey privatekey)
        Deprecated. This method is not a supported customer interface.
      • icsfDeletePKDSEntry

        public static void icsfDeletePKDSEntry(byte[] pkdsLabel)
        Deprecated. This method is not a supported customer interface. The supported methods to delete an entry from the PKDS are in the key object.
        See Also:
        DSAPrivateHWKey, RSAPrivateHWKey, ECPrivateHWKey
      • icsfDeletePKDSEntryWithRC

        public static int[] icsfDeletePKDSEntryWithRC(byte[] pkdsLabel)
        Deprecated. This method is not a supported customer interface. The supported methods to delete an entry from the PKDS are in the key object.
        See Also:
        DSAPrivateHWKey, RSAPrivateHWKey, ECPrivateHWKey
      • deletePKDSEntry

        protected static void deletePKDSEntry(byte[] pkdsLabel)
        Deprecated. 
        This method is not a supported customer interface. The supported methods to delete an entry from the PKDS are in the key object.
        See Also:
        DSAPrivateHWKey, RSAPrivateHWKey, ECPrivateHWKey
� Portions Copyright 1997, 2022 IBM Corporation. All rights reserved. � Portions Copyright 1997, 2022, Oracle and/or its affiliates. All rights reserved.