public enum KeyFormat extends Enum<KeyFormat>
Enum Constant and Description |
---|
PKCS11
PKCS #11 format
|
PKCS12
PKCS #12 key store format
|
PKCS8
PKCS #8 private key encoding
|
X509
X.509 public key encoding
|
Modifier and Type | Method and Description |
---|---|
static KeyFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyFormat X509
public static final KeyFormat PKCS8
public static final KeyFormat PKCS11
public static final KeyFormat PKCS12
public static KeyFormat[] values()
for (KeyFormat c : KeyFormat.values()) System.out.println(c);
public static KeyFormat 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 © 2018 The Holon Platform. All rights reserved.