public enum KeyType extends Enum<KeyType>
| Modifier and Type | Method and Description |
|---|---|
static List<Integer> |
allSupportedKeySizes() |
static KeyType |
defaultKeyType() |
static Integer |
defaultRsaLength() |
static KeyType |
from(String value) |
static KeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
PublicKeyAlgorithm |
X509Type() |
public static KeyType[] values()
for (KeyType c : KeyType.values()) System.out.println(c);
public static KeyType 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 nullpublic PublicKeyAlgorithm X509Type()
public static Integer defaultRsaLength()
public static KeyType defaultKeyType()
Copyright © 2021. All rights reserved.