Enum CertificateSource
- All Implemented Interfaces:
-
Serializable
,Comparable<CertificateSource>
,java.lang.constant.Constable
This enum lists all possible contexts related to the certificate origin in which a validation may take place
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe context while validating a certificate issuer certificate.The context while validating a CRL issuer certificate.The context while validating a OCSP issuer certificate that is neither trusted nor CA.The context while validating a signer certificate.The context while validating a timestamp issuer certificate.A certificate that is on a trusted list. -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateSource
Returns the enum constant of this type with the specified name.static CertificateSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CRL_ISSUER
The context while validating a CRL issuer certificate. -
OCSP_ISSUER
The context while validating a OCSP issuer certificate that is neither trusted nor CA. -
CERT_ISSUER
The context while validating a certificate issuer certificate. -
SIGNER_CERT
The context while validating a signer certificate. -
TRUSTED
A certificate that is on a trusted list. -
TIMESTAMP
The context while validating a timestamp issuer certificate.
-
-
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 name -
NullPointerException
- if the argument is null
-