Package com.unboundid.util.ssl.cert
Class CRLDistributionPointsExtension
java.lang.Object
com.unboundid.util.ssl.cert.X509CertificateExtension
com.unboundid.util.ssl.cert.CRLDistributionPointsExtension
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class CRLDistributionPointsExtension
extends X509CertificateExtension
This class provides an implementation of the CRL distribution points X.509
certificate extension as described in
RFC 5280 section 4.2.1.13.
This can be used to provide information about the location of certificate
revocation lists (CRLs) that can be examined to check the validity of this
certificate.
The OID for this extension is 2.5.29.31 and the value has the following encoding:
The OID for this extension is 2.5.29.31 and the value has the following encoding:
CRLDistributionPoints ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint
DistributionPoint ::= SEQUENCE {
distributionPoint [0] DistributionPointName OPTIONAL,
reasons [1] ReasonFlags OPTIONAL,
cRLIssuer [2] GeneralNames OPTIONAL }
DistributionPointName ::= CHOICE {
fullName [0] GeneralNames,
nameRelativeToCRLIssuer [1] RelativeDistinguishedName }
ReasonFlags ::= BIT STRING {
unused (0),
keyCompromise (1),
cACompromise (2),
affiliationChanged (3),
superseded (4),
cessationOfOperation (5),
certificateHold (6),
privilegeWithdrawn (7),
aACompromise (8) }
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OIDThe OID (2.5.29.31) for CRL distribution points extensions. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the list of CRL distribution points included in this extension.Retrieves the name for this extension.voidtoString(StringBuilder buffer) Appends a string representation of this certificate extension to the provided buffer.Methods inherited from class com.unboundid.util.ssl.cert.X509CertificateExtension
getOID, getValue, isCritical, toString
-
Field Details
-
CRL_DISTRIBUTION_POINTS_OID
The OID (2.5.29.31) for CRL distribution points extensions.
-
-
Method Details
-
getCRLDistributionPoints
Retrieves the list of CRL distribution points included in this extension.- Returns:
- The list of CRL distribution points included in this extension.
-
getExtensionName
Retrieves the name for this extension.- Overrides:
getExtensionNamein classX509CertificateExtension- Returns:
- The name for this extension.
-
toString
Appends a string representation of this certificate extension to the provided buffer.- Overrides:
toStringin classX509CertificateExtension- Parameters:
buffer- The buffer to which the information should be appended.
-