public enum KeysType extends Enum<KeysType>
| Enum Constant and Description |
|---|
Default
Recommended most safe type
|
EC_BP256R1
256-bits Brainpool curve
|
EC_BP384R1
384-bits Brainpool curve
|
EC_BP512R1
512-bits Brainpool curve
|
EC_CURVE25519
Diffie–Hellman X25519
|
EC_SECP256K1
256-bits "Koblitz" curve
|
EC_SECP256R1
256-bits NIST curve
|
EC_SECP384R1
384-bits NIST curve
|
EC_SECP521R1
521-bits NIST curve
|
FAST_EC_ED25519
EdDSA Ed25519
|
FAST_EC_X25519
Fast Diffie–Hellman X25519
|
RSA_2048
RSA 2048 bit (not recommended)
|
RSA_3072
RSA 3072 bit
|
RSA_4096
RSA 4096 bit
|
RSA_8192
RSA 8192 bit
|
| Modifier and Type | Method and Description |
|---|---|
static KeysType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeysType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeysType Default
public static final KeysType RSA_2048
public static final KeysType RSA_3072
public static final KeysType RSA_4096
public static final KeysType RSA_8192
public static final KeysType EC_SECP256R1
public static final KeysType EC_SECP384R1
public static final KeysType EC_SECP521R1
public static final KeysType EC_BP256R1
public static final KeysType EC_BP384R1
public static final KeysType EC_BP512R1
public static final KeysType EC_SECP256K1
public static final KeysType EC_CURVE25519
public static final KeysType FAST_EC_X25519
public static final KeysType FAST_EC_ED25519
public static KeysType[] values()
for (KeysType c : KeysType.values()) System.out.println(c);
public static KeysType 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 © 2016. All rights reserved.