Module ibm.crypto.hdwrcca
Package com.ibm.crypto.hdwrCCA.provider
Enum Class SymmetricKeyConstants.KeyUsage
java.lang.Object
java.lang.Enum<SymmetricKeyConstants.KeyUsage>
com.ibm.crypto.hdwrCCA.provider.SymmetricKeyConstants.KeyUsage
- All Implemented Interfaces:
Serializable
,Comparable<SymmetricKeyConstants.KeyUsage>
,Constable
- Enclosing class:
- SymmetricKeyConstants
Key usage attributes consisting of a combination of key form and key
functionality.
OP
key represents a single operational key that is wrapped by
the ICSF master key and may be used in crypto operations on the current
system. OPEX
keys represent a pair of keys, the first one
operational, and the second exportable. Exportable keys are wrapped by
a key encrypting key for export to a different system, and cannot be
used in crypto operations on the current system.
Key usage attributes only apply to SymmetricKeyConstants.KeyType.CKDS
and
SymmetricKeyConstants.KeyType.SECURE_INTERNAL_TOKEN
keys, and do not apply to SymmetricKeyConstants.KeyType.CLEAR
keys, since SymmetricKeyConstants.KeyType.CLEAR
keys do not have usage restrictions.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA single operational CIPHER key.A single operational DATA key.Operational EXPORTER key encrypting key.Operational IMPORTER key encrypting key.A key pair.A key pair. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SymmetricKeyConstants.KeyUsage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OP_DATA
A single operational DATA key. -
OP_CIPHER
A single operational CIPHER key. -
OP_IMPORTER
Operational IMPORTER key encrypting key. Protects keys of any type that are sent from another system to the local system. Only supported for DESede and AES keys. -
OP_EXPORTER
Operational EXPORTER key encrypting key. Protects keys of any type that are sent from the local system to another system. Only supported for DESede and AES keys. -
OPEX_EXPORTER_IMPORTER
A key pair. The first key is an operational EXPORTER key, and the second key is the corresponding exportable IMPORTER key. -
OPEX_IMPORTER_EXPORTER
A key pair. The first key is an operational IMPORTER key, and the second key is the corresponding exportable EXPORTER key.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-