public static enum KeyStoreManager.KeySize extends Enum<KeyStoreManager.KeySize>
Enum Constant and Description |
---|
BIT_1024 |
BIT_2048 |
BIT_3072 |
BIT_4096 |
BIT_512 |
BIT_768 |
Modifier and Type | Method and Description |
---|---|
int |
getBitLength() |
static KeyStoreManager.KeySize |
getKeySize(int bitLen) |
static KeyStoreManager.KeySize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyStoreManager.KeySize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyStoreManager.KeySize BIT_512
public static final KeyStoreManager.KeySize BIT_768
public static final KeyStoreManager.KeySize BIT_1024
public static final KeyStoreManager.KeySize BIT_2048
public static final KeyStoreManager.KeySize BIT_3072
public static final KeyStoreManager.KeySize BIT_4096
public static KeyStoreManager.KeySize[] values()
for (KeyStoreManager.KeySize c : KeyStoreManager.KeySize.values()) System.out.println(c);
public static KeyStoreManager.KeySize 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 null@NonNull public static KeyStoreManager.KeySize getKeySize(int bitLen)
public int getBitLength()