public enum KeySize extends Enum<KeySize>
KeySize hold the bit size for private keys.| Enum Constant and Description |
|---|
KEYSIZE_1024
The keysize of 1024 bits.
|
KEYSIZE_2048
The keysize of 2048 bits.
|
KEYSIZE_4096
The keysize of 4096 bits.
|
KEYSIZE_8192
The keysize of 8192 bits.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static KeySize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeySize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeySize KEYSIZE_1024
public static final KeySize KEYSIZE_2048
public static final KeySize KEYSIZE_4096
public static final KeySize KEYSIZE_8192
public static KeySize[] values()
for (KeySize c : KeySize.values()) System.out.println(c);
public static 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 nullCopyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.