public enum KeyPairType extends java.lang.Enum<KeyPairType>
Enum Constant and Description |
---|
DSA
Deprecated.
DSA should only be used for legacy support of old network
content. Replaced by
ECP256 |
ECP256 |
ECP384 |
ECP521 |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
alg |
int |
modulusSize
Expected size of a DER encoded pubkey in bytes
|
java.security.spec.ECGenParameterSpec |
spec |
java.lang.String |
specName |
Modifier and Type | Method and Description |
---|---|
static KeyPairType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyPairType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final KeyPairType DSA
ECP256
public static final KeyPairType ECP256
public static final KeyPairType ECP384
public static final KeyPairType ECP521
public final java.lang.String alg
public final java.lang.String specName
public final int modulusSize
public final java.security.spec.ECGenParameterSpec spec
public static KeyPairType[] values()
for (KeyPairType c : KeyPairType.values()) System.out.println(c);
public static KeyPairType 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