Package de.xima.fc.certificate.mgmt.io
Enum ECryptoFileFormat
- java.lang.Object
-
- java.lang.Enum<ECryptoFileFormat>
-
- de.xima.fc.certificate.mgmt.io.ECryptoFileFormat
-
- All Implemented Interfaces:
Serializable,Comparable<ECryptoFileFormat>
public enum ECryptoFileFormat extends Enum<ECryptoFileFormat> implements Serializable
- Since:
- 8.5.0
- Author:
- tobias
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BCFKSBKSJCEKSJKSPEM_PRIVATE_KEYPEM_PUBLIC_KEYPKCS12UNKNOWNX509_DERX509_PEM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCertificate()booleanisKeyStore()static ECryptoFileFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static ECryptoFileFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X509_PEM
public static final ECryptoFileFormat X509_PEM
-
X509_DER
public static final ECryptoFileFormat X509_DER
-
PEM_PRIVATE_KEY
public static final ECryptoFileFormat PEM_PRIVATE_KEY
-
JCEKS
public static final ECryptoFileFormat JCEKS
-
PKCS12
public static final ECryptoFileFormat PKCS12
-
JKS
public static final ECryptoFileFormat JKS
-
BCFKS
public static final ECryptoFileFormat BCFKS
-
BKS
public static final ECryptoFileFormat BKS
-
PEM_PUBLIC_KEY
public static final ECryptoFileFormat PEM_PUBLIC_KEY
-
UNKNOWN
public static final ECryptoFileFormat UNKNOWN
-
-
Method Detail
-
values
public static ECryptoFileFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ECryptoFileFormat c : ECryptoFileFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ECryptoFileFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isKeyStore
public boolean isKeyStore()
-
isCertificate
public boolean isCertificate()
-
-