Package de.xima.fc.certificate.mgmt.cert
Enum ECertificateSource
- java.lang.Object
-
- java.lang.Enum<ECertificateSource>
-
- de.xima.fc.certificate.mgmt.cert.ECertificateSource
-
- All Implemented Interfaces:
Serializable,Comparable<ECertificateSource>
public enum ECertificateSource extends Enum<ECertificateSource>
The source of the certificate, which indicates how the certificate was created or obtained.- Since:
- 8.5.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SYSTEM_GENERATEDThe certificate was generated by the system.USER_IMPORTEDThe certificate was imported by a user.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ECertificateSourcevalueOf(String name)Returns the enum constant of this type with the specified name.static ECertificateSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM_GENERATED
public static final ECertificateSource SYSTEM_GENERATED
The certificate was generated by the system.
-
USER_IMPORTED
public static final ECertificateSource USER_IMPORTED
The certificate was imported by a user.
-
-
Method Detail
-
values
public static ECertificateSource[] 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 (ECertificateSource c : ECertificateSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ECertificateSource 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
-
-