- java.lang.Object
-
- com.ibm.crypto.hdwrCCA.provider.KeyLabelKeySpec
-
- All Implemented Interfaces:
java.security.spec.KeySpec
public class KeyLabelKeySpec extends java.lang.Object implements java.security.spec.KeySpec
This class specifies a CKDS or PKDS ICSF key label.- Implementation Note:
- Provider support, ICSF support, and hardware support all determine which key and algorithm types will function on a given system. For details on the supported operations for each key type please consult the z/OS Unique Considerations Hardware Crypto Reference Guide. More information can also be found in the Javadoc reference for the specific SPI class in use (KeyFactory, KeyGenerator, etc.)"
- See Also:
AESKeyFactory
,DESKeyFactory
,DESedeKeyFactory
-
-
Constructor Summary
Constructors Constructor Description KeyLabelKeySpec​(java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getLabel()
Deprecated.this method is being replaced bygetLabelString()
byte[]
getLabelBytes()
Deprecated.this method is being replaced bygetLabelString()
java.lang.String
getLabelString()
Returns the label associated with this key spec.
-
-
-
Method Detail
-
getLabel
@Deprecated public java.lang.String getLabel()
Deprecated.this method is being replaced bygetLabelString()
Returns the label associated with this key spec.- Returns:
- the label to the key.
-
getLabelBytes
@Deprecated public byte[] getLabelBytes()
Deprecated.this method is being replaced bygetLabelString()
Returns the label associated with this key spec.- Returns:
- the IBM-1047 byte representation of the key.
-
getLabelString
public java.lang.String getLabelString()
Returns the label associated with this key spec.- Returns:
- the label to the key.
-
-