Package com.unboundid.util.ssl.cert
Class CRLDistributionPoint
java.lang.Object
com.unboundid.util.ssl.cert.CRLDistributionPoint
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class CRLDistributionPoint
extends Object
implements Serializable
This class implements a data structure that provides information about a
CRL distribution point for use in conjunction with the
CRLDistributionPointsExtension. A CRL distribution point has the
following ASN.1 encoding:
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:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the full set of names for the CRL issuer, if available.Retrieves the full set of names for this CRL distribution point, if available.Retrieves the name relative to the CRL issuer for this CRL distribution point, if available.Retrieves a set of potential reasons that the CRL distribution point may list a certificate as revoked.toString()Retrieves a string representation of this CRL distribution point.voidtoString(StringBuilder buffer) Appends a string representation of this CRL distribution point to the provided buffer.
-
Method Details
-
getFullName
Retrieves the full set of names for this CRL distribution point, if available.- Returns:
- The full set of names for this CRL distribution point, or
nullif it was not included in the extension.
-
getNameRelativeToCRLIssuer
Retrieves the name relative to the CRL issuer for this CRL distribution point, if available.- Returns:
- The name relative to the CRL issuer for this CRL distribution
point, or
nullif it was not included in the extension.
-
getPotentialRevocationReasons
Retrieves a set of potential reasons that the CRL distribution point may list a certificate as revoked.- Returns:
- A set of potential reasons that the CRL distribution point may list a certificate as revoked.
-
getCRLIssuer
Retrieves the full set of names for the CRL issuer, if available.- Returns:
- The full set of names for the CRL issuer, or
nullif it was not included in the extension.
-
toString
Retrieves a string representation of this CRL distribution point. -
toString
Appends a string representation of this CRL distribution point to the provided buffer.- Parameters:
buffer- The buffer to which the information should be appended.
-