public static enum MLKEMPrivateKey.PrivateKeyEncoding extends Enum<MLKEMPrivateKey.PrivateKeyEncoding>
seed, then SEED_ONLY is set as default.
After the initialization with seed the default can be changed.
If MLKEMPrivateKey is initialized with expandedKey, which is the other constructor of MLKEMPrivateKey, then EXTENDED_KEY_ONLY is set as default.| Enum Constant and Description |
|---|
BOTH |
EXTENDED_KEY_ONLY |
SEED_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static MLKEMPrivateKey.PrivateKeyEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MLKEMPrivateKey.PrivateKeyEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MLKEMPrivateKey.PrivateKeyEncoding SEED_ONLY
public static final MLKEMPrivateKey.PrivateKeyEncoding EXTENDED_KEY_ONLY
public static final MLKEMPrivateKey.PrivateKeyEncoding BOTH
public static MLKEMPrivateKey.PrivateKeyEncoding[] values()
for (MLKEMPrivateKey.PrivateKeyEncoding c : MLKEMPrivateKey.PrivateKeyEncoding.values()) System.out.println(c);
public static MLKEMPrivateKey.PrivateKeyEncoding valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020–2025 Stiftung SIC. All rights reserved.