Module ibm.crypto.hdwrcca
Package com.ibm.crypto.hdwrCCA.provider
Enum SymmetricKeyConstants.KeyType
- java.lang.Object
-
- java.lang.Enum<SymmetricKeyConstants.KeyType>
-
- com.ibm.crypto.hdwrCCA.provider.SymmetricKeyConstants.KeyType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SymmetricKeyConstants.KeyType>
- Enclosing class:
- SymmetricKeyConstants
public static enum SymmetricKeyConstants.KeyType extends java.lang.Enum<SymmetricKeyConstants.KeyType>
The types of symmetric keys.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CKDS
An ICSF secure key enciphered by the ICSF master key and stored in the CKDSCLEAR
A software key containing raw key materialPROTECTED
Deprecated.SECURE_INTERNAL_TOKEN
An ICSF secure key enciphered by the ICSF master key
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SymmetricKeyConstants.KeyType
valueOf​(java.lang.String name)
Returns the enum constant of this type with the specified name.static SymmetricKeyConstants.KeyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLEAR
public static final SymmetricKeyConstants.KeyType CLEAR
A software key containing raw key material
-
PROTECTED
@Deprecated public static final SymmetricKeyConstants.KeyType PROTECTED
Deprecated.This is deprecated andSECURE_INTERNAL_TOKEN
should be used instead.
-
SECURE_INTERNAL_TOKEN
public static final SymmetricKeyConstants.KeyType SECURE_INTERNAL_TOKEN
An ICSF secure key enciphered by the ICSF master key
-
CKDS
public static final SymmetricKeyConstants.KeyType CKDS
An ICSF secure key enciphered by the ICSF master key and stored in the CKDS
-
-
Method Detail
-
values
public static SymmetricKeyConstants.KeyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SymmetricKeyConstants.KeyType c : SymmetricKeyConstants.KeyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SymmetricKeyConstants.KeyType valueOf​(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-