Enum Constant and Description |
---|
R
Encryption of single/double/triple-length DES & AES keys using the ANSI
X9 TR-31 Key Block methods.
|
S
Encryption of all DES, AES, HMAC & RSA keys using proprietary Key Block
methods.
|
T
Encryption of a triple length DES key using the variant method.
|
U
Encryption of a double length DES key using the variant method.
|
X
Encryption of a double length key using X9.17 methods.
|
Y
Encryption of a triple length key using X9.17 methods.
|
Z
Encryption of a single length DES key using X9.17 methods.
|
Modifier and Type | Method and Description |
---|---|
static KeyScheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyScheme Z
Used for encryption of keys under a variant LMK..
public static final KeyScheme X
public static final KeyScheme U
Used for encryption of keys under a variant LMK.
public static final KeyScheme Y
public static final KeyScheme T
Used for encryption of keys under a variant LMK.
public static final KeyScheme R
Only used for exporting keys (e.g. under a KEK).
The ANSI X9 Committee published Technical Report 31 (TR-31) on Interoperable Secure Key ExcKey Block Specification for Symmetric Algorithms in 2010 to describe a method for secure key exchange which meets the needs of X9.24.
public static final KeyScheme S
Used for encrypting keys for local use (under a Key Block LMK) or for importing/exporting keys (e.g. under a KEK or ZMK).
public static KeyScheme[] values()
for (KeyScheme c : KeyScheme.values()) System.out.println(c);
public static KeyScheme valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null