public enum KeyEncapsulationAlgorithm extends Enum<KeyEncapsulationAlgorithm>
| Enum Constant and Description |
|---|
RSA |
RSA_OAEP_SHA224 |
RSA_OAEP_SHA256 |
RSA_OAEP_SHA384 |
RSA_OAEP_SHA512 |
| Modifier and Type | Method and Description |
|---|---|
static KeyEncapsulationAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyEncapsulationAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyEncapsulationAlgorithm RSA
public static final KeyEncapsulationAlgorithm RSA_OAEP_SHA224
public static final KeyEncapsulationAlgorithm RSA_OAEP_SHA256
public static final KeyEncapsulationAlgorithm RSA_OAEP_SHA384
public static final KeyEncapsulationAlgorithm RSA_OAEP_SHA512
public static KeyEncapsulationAlgorithm[] values()
for (KeyEncapsulationAlgorithm c : KeyEncapsulationAlgorithm.values()) System.out.println(c);
public static KeyEncapsulationAlgorithm 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 © 2021–2024. All rights reserved.