Class KeyPairUtils

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

public final class KeyPairUtils extends 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, DSA, Kyber, Dilithium, ML-DSA, and ML-KEM keys in hardware.
  • Constructor Details

    • KeyPairUtils

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

    • generateToken

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

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

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

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

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

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

      public static void icsfDeletePKDSEntry(byte[] pkdsLabel)
      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:
    • icsfDeletePKDSEntryWithRC

      public static int[] icsfDeletePKDSEntryWithRC(byte[] pkdsLabel)
      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:
    • deletePKDSEntry

      protected static void deletePKDSEntry(byte[] pkdsLabel)
      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: