Enum CertificateUsageType
- All Implemented Interfaces:
Serializable, Comparable<CertificateUsageType>
The usage type of certificate.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdobe PDF SigningCertificate Authority (CA) certificate.TLS Web Client AuthenticationCode SigningDocument SigningE-mail ProtectionTLS Web Server Authentication -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateUsageTypeReturns 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 Details
-
CERTIFICATE_AUTHORITY
Certificate Authority (CA) certificate. This type of certificate is used to sign other certificates. -
SERVER_AUTH
TLS Web Server Authentication -
CLIENT_AUTH
TLS Web Client Authentication -
DOCUMENT_SIGNING
Document Signing -
ADOBE_PDF_SIGNING
Adobe PDF Signing -
CODE_SIGNING
Code Signing -
EMAIL_PROTECTION
E-mail Protection
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-