public enum PrivateKeyType extends Enum<PrivateKeyType>
| Enum Constant and Description |
|---|
NONE |
PKCS_12_PASSPHRASE |
PKCS_12_UNPROTECTED |
PKCS8_PASSPHRASE |
PKCS8_UNPROTECT |
PKCS8_WRAPPED |
| Modifier and Type | Method and Description |
|---|---|
static PrivateKeyType |
fromString(String str) |
static List<String> |
getPrivKeyTypeList() |
String |
toString() |
static PrivateKeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrivateKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrivateKeyType NONE
public static final PrivateKeyType PKCS_12_UNPROTECTED
public static final PrivateKeyType PKCS_12_PASSPHRASE
public static final PrivateKeyType PKCS8_UNPROTECT
public static final PrivateKeyType PKCS8_PASSPHRASE
public static final PrivateKeyType PKCS8_WRAPPED
public static PrivateKeyType[] values()
for (PrivateKeyType c : PrivateKeyType.values()) System.out.println(c);
public static PrivateKeyType 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 nullpublic String toString()
toString in class Enum<PrivateKeyType>public static PrivateKeyType fromString(String str)
Copyright © 2021. All rights reserved.