@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum RSAPrivateKeyVersion extends java.lang.Enum<RSAPrivateKeyVersion>
Enum Constant and Description |
---|
MULTI
The multi RSA private key version.
|
TWO_PRIME
The two-prime RSA private key version.
|
Modifier and Type | Method and Description |
---|---|
static RSAPrivateKeyVersion |
forName(java.lang.String name)
Retrieves the RSA private key version with the specified name.
|
java.lang.String |
getName()
Retrieves the name for this private key version.
|
static RSAPrivateKeyVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RSAPrivateKeyVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RSAPrivateKeyVersion TWO_PRIME
public static final RSAPrivateKeyVersion MULTI
public static RSAPrivateKeyVersion[] values()
for (RSAPrivateKeyVersion c : RSAPrivateKeyVersion.values()) System.out.println(c);
public static RSAPrivateKeyVersion 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@NotNull public java.lang.String getName()
@Nullable public static RSAPrivateKeyVersion forName(@NotNull java.lang.String name)
name
- The name of the RSA private key version to retrieve. It must
not be null
.null
if no such
version is defined.