@Deprecated public enum PemKeyType extends Enum<PemKeyType>
| Enum Constant and Description |
|---|
ECDSA_P256_SHA256
Deprecated.
|
ECDSA_P384_SHA384
Deprecated.
|
ECDSA_P521_SHA512
Deprecated.
|
RSA_PSS_2048_SHA256
Deprecated.
|
RSA_PSS_3072_SHA256
Deprecated.
|
RSA_PSS_4096_SHA256
Deprecated.
|
RSA_PSS_4096_SHA512
Deprecated.
|
RSA_SIGN_PKCS1_2048_SHA256
Deprecated.
|
RSA_SIGN_PKCS1_3072_SHA256
Deprecated.
|
RSA_SIGN_PKCS1_4096_SHA256
Deprecated.
|
RSA_SIGN_PKCS1_4096_SHA512
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
String |
algorithm
Deprecated.
|
Enums.HashType |
hash
Deprecated.
|
int |
keySizeInBits
Deprecated.
|
String |
keyType
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Key |
readKey(BufferedReader reader)
Deprecated.
Reads a single key from
reader. |
static PemKeyType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static PemKeyType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PemKeyType RSA_PSS_2048_SHA256
public static final PemKeyType RSA_PSS_3072_SHA256
public static final PemKeyType RSA_PSS_4096_SHA256
public static final PemKeyType RSA_PSS_4096_SHA512
public static final PemKeyType RSA_SIGN_PKCS1_2048_SHA256
public static final PemKeyType RSA_SIGN_PKCS1_3072_SHA256
public static final PemKeyType RSA_SIGN_PKCS1_4096_SHA256
public static final PemKeyType RSA_SIGN_PKCS1_4096_SHA512
public static final PemKeyType ECDSA_P256_SHA256
public static final PemKeyType ECDSA_P384_SHA384
public static final PemKeyType ECDSA_P521_SHA512
public final String keyType
public final String algorithm
public final int keySizeInBits
public final Enums.HashType hash
public static PemKeyType[] values()
for (PemKeyType c : PemKeyType.values()) System.out.println(c);
public static PemKeyType 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@Nullable public Key readKey(BufferedReader reader) throws IOException
reader.Key or null if the reader doesn't contain a valid PEM.IOException