Package com.unboundid.util.ssl.cert
Class CRLDistributionPoint
- java.lang.Object
-
- com.unboundid.util.ssl.cert.CRLDistributionPoint
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class CRLDistributionPoint extends java.lang.Object implements java.io.Serializable
This class implements a data structure that provides information about a CRL distribution point for use in conjunction with theCRLDistributionPointsExtension. 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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneralNamesgetCRLIssuer()Retrieves the full set of names for the CRL issuer, if available.GeneralNamesgetFullName()Retrieves the full set of names for this CRL distribution point, if available.RDNgetNameRelativeToCRLIssuer()Retrieves the name relative to the CRL issuer for this CRL distribution point, if available.java.util.Set<CRLDistributionPointRevocationReason>getPotentialRevocationReasons()Retrieves a set of potential reasons that the CRL distribution point may list a certificate as revoked.java.lang.StringtoString()Retrieves a string representation of this CRL distribution point.voidtoString(java.lang.StringBuilder buffer)Appends a string representation of this CRL distribution point to the provided buffer.
-
-
-
Method Detail
-
getFullName
@Nullable public GeneralNames 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
@Nullable public RDN 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
@NotNull public java.util.Set<CRLDistributionPointRevocationReason> 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
@Nullable public GeneralNames 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
@NotNull public java.lang.String toString()
Retrieves a string representation of this CRL distribution point.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of this CRL distribution point.
-
-