@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class CRLDistributionPoint extends java.lang.Object implements java.io.Serializable
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) }
| Modifier and Type | Method and Description |
|---|---|
GeneralNames |
getCRLIssuer()
Retrieves the full set of names for the CRL issuer, if available.
|
GeneralNames |
getFullName()
Retrieves the full set of names for this CRL distribution point, if
available.
|
RDN |
getNameRelativeToCRLIssuer()
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.String |
toString()
Retrieves a string representation of this CRL distribution point.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this CRL distribution point to the
provided buffer.
|
@Nullable public GeneralNames getFullName()
null if it was not included in the extension.@Nullable public RDN getNameRelativeToCRLIssuer()
null if it was not included in the extension.@NotNull public java.util.Set<CRLDistributionPointRevocationReason> getPotentialRevocationReasons()
@Nullable public GeneralNames getCRLIssuer()
null if it
was not included in the extension.@NotNull public java.lang.String toString()
toString in class java.lang.Object