Package de.xima.fc.certificate.provider
Enum CertificateUsageType
- java.lang.Object
-
- java.lang.Enum<CertificateUsageType>
-
- de.xima.fc.certificate.provider.CertificateUsageType
-
- All Implemented Interfaces:
Serializable,Comparable<CertificateUsageType>
public enum CertificateUsageType extends Enum<CertificateUsageType> implements Serializable
The usage type of certificate.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADOBE_PDF_SIGNINGAdobe PDF SigningCERTIFICATE_AUTHORITYCertificate Authority (CA) certificate.CLIENT_AUTHTLS Web Client AuthenticationCODE_SIGNINGCode SigningDOCUMENT_SIGNINGDocument SigningEMAIL_PROTECTIONE-mail ProtectionSERVER_AUTHTLS Web Server Authentication
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CertificateUsageTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CertificateUsageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CERTIFICATE_AUTHORITY
public static final CertificateUsageType CERTIFICATE_AUTHORITY
Certificate Authority (CA) certificate. This type of certificate is used to sign other certificates.
-
SERVER_AUTH
public static final CertificateUsageType SERVER_AUTH
TLS Web Server Authentication
-
CLIENT_AUTH
public static final CertificateUsageType CLIENT_AUTH
TLS Web Client Authentication
-
DOCUMENT_SIGNING
public static final CertificateUsageType DOCUMENT_SIGNING
Document Signing
-
ADOBE_PDF_SIGNING
public static final CertificateUsageType ADOBE_PDF_SIGNING
Adobe PDF Signing
-
CODE_SIGNING
public static final CertificateUsageType CODE_SIGNING
Code Signing
-
EMAIL_PROTECTION
public static final CertificateUsageType EMAIL_PROTECTION
E-mail Protection
-
-
Method Detail
-
values
public static CertificateUsageType[] 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 (CertificateUsageType c : CertificateUsageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CertificateUsageType 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
-
-