public enum CertificateFormat extends Enum<CertificateFormat>
Enum Constant and Description |
---|
CER
Enum value cer.
|
PFX
Enum value pfx.
|
Modifier and Type | Method and Description |
---|---|
static CertificateFormat |
fromString(String value)
Parses a serialized value to a CertificateFormat instance.
|
String |
toString() |
static CertificateFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertificateFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertificateFormat PFX
public static final CertificateFormat CER
public static CertificateFormat[] values()
for (CertificateFormat c : CertificateFormat.values()) System.out.println(c);
public static CertificateFormat 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 static CertificateFormat fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<CertificateFormat>
Copyright © 2019. All rights reserved.