- java.lang.Object
-
- com.ibm.crypto.hdwrCCA.provider.KeyPairUtils
-
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 Description protected static class
KeyPairUtils.KeyPairAlgorithm
-
Constructor Summary
Constructors Constructor Description KeyPairUtils()
This constructor is not a supported customer interface.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static void
deletePKDSEntry(byte[] pkdsLabel)
This method is not a supported customer interface.protected java.security.KeyPair
generateKeyPairFromInternalToken(byte[] token)
This method is not a supported customer interface.protected byte[]
generateKeysFromSkeletonToken(byte[] token)
This method is not a supported customer interface.java.security.Key
generatePrivateHWKey(java.security.PublicKey publickey, java.security.PrivateKey privatekey)
This method is not a supported customer interface.protected byte[]
generateToken(java.security.Key key)
This method is not a supported customer interface.protected byte[]
generateToken(java.security.Key publickey, java.security.Key privatekey)
This method is not a supported customer interface.static void
icsfDeletePKDSEntry(byte[] pkdsLabel)
This method is not a supported customer interface.static int[]
icsfDeletePKDSEntryWithRC(byte[] pkdsLabel)
This method is not a supported customer interface.byte[]
importExternalToken(byte[] eToken, KeyPairUtils.KeyPairAlgorithm alg)
This method is not a supported customer interface.
-
-
-
Method Detail
-
generateToken
protected byte[] generateToken(java.security.Key key) throws java.lang.InternalError, java.lang.RuntimeException
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
This method is not a supported customer interface.- Throws:
java.lang.InternalError
-
generateKeyPairFromInternalToken
protected java.security.KeyPair generateKeyPairFromInternalToken(byte[] token) throws java.lang.RuntimeException
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
This method is not a supported customer interface.- Throws:
java.lang.InternalError
java.lang.RuntimeException
-
importExternalToken
public byte[] importExternalToken(byte[] eToken, KeyPairUtils.KeyPairAlgorithm alg)
This method is not a supported customer interface.
-
generatePrivateHWKey
public java.security.Key generatePrivateHWKey(java.security.PublicKey publickey, java.security.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:
DSAPrivateHWKey
,RSAPrivateHWKey
,ECPrivateHWKey
-
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:
DSAPrivateHWKey
,RSAPrivateHWKey
,ECPrivateHWKey
-
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:
DSAPrivateHWKey
,RSAPrivateHWKey
,ECPrivateHWKey
-
-