The ASN.1 definition for this is:
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) }
GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
GeneralName ::= CHOICE {
otherName [0] INSTANCE OF OTHER-NAME,
rfc822Name [1] IA5String,
dNSName [2] IA5String,
x400Address [3] ORAddress,
directoryName [4] Name,
ediPartyName [5] EDIPartyName,
uniformResourceIdentifier [6] IA5String,
iPAddress [7] OCTET STRING,
registeredID [8] OBJECT IDENTIFIER }
RelativeDistinguishedName ::=
SET OF AttributeTypeAndValue
AttributeTypeAndValue ::= SEQUENCE {
type AttributeType,
value AttributeValue }
AttributeType ::= OBJECT IDENTIFIER
AttributeValue ::= ANY DEFINED BY AttributeType
Instances of this class are designed to be immutable. However, since this is an internal API we do not use defensive cloning for values for performance reasons. It is the responsibility of the consumer to ensure that no mutable elements are modified.
CRLDistributionPointsExtension
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private GeneralNames | |
| private GeneralNames | |
| private volatile int | |
| public static final int | |
| public static final int | |
| private static final String[] | |
| private boolean[] | |
| private RDN | |
| public static final int | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| public | DistributionPoint(GeneralNames
the GeneralNames of the distribution point; may be null fullName, boolean[] the CRL reasons included in the CRL at this distribution
point; may be null reasonFlags, GeneralNames the name(s) of the CRL issuer for the CRL at this
distribution point; may be null crlIssuer)Constructor for the class using GeneralNames for DistributionPointName |
| public | DistributionPoint(RDN
the RelativeDistinguishedName of the distribution
point; may not be null relativeName, boolean[] the CRL reasons included in the CRL at this distribution
point; may be null reasonFlags, GeneralNames the name(s) of the CRL issuer for the CRL at this
distribution point; may not be null or empty. crlIssuer)Constructor for the class using RelativeDistinguishedName for DistributionPointName |
| public | DistributionPoint(DerValue
the DER encoded form of the DistributionPoint val)Create the object from the passed DER encoded form. |
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(DerOutputStream
the DerOutputStream to write the extension to. out)Implements sun. Write the DistributionPoint value to the DerOutputStream. |
| public boolean | Returns: true if objects match; false otherwiseObject to be compared to this obj)Overrides java. Compare an object to this DistributionPoint for equality. |
| public GeneralNames | |
| public GeneralNames | |
| public boolean[] | |
| public RDN | |
| public int | |
| private static String | |
| public String |
| AA_COMPROMISE | back to summary |
|---|---|
| public static final int AA_COMPROMISE | |
| AFFILIATION_CHANGED | back to summary |
|---|---|
| public static final int AFFILIATION_CHANGED | |
| CA_COMPROMISE | back to summary |
|---|---|
| public static final int CA_COMPROMISE | |
| CERTIFICATE_HOLD | back to summary |
|---|---|
| public static final int CERTIFICATE_HOLD | |
| CESSATION_OF_OPERATION | back to summary |
|---|---|
| public static final int CESSATION_OF_OPERATION | |
| crlIssuer | back to summary |
|---|---|
| private GeneralNames crlIssuer | |
| fullName | back to summary |
|---|---|
| private GeneralNames fullName | |
| hashCode | back to summary |
|---|---|
| private volatile int hashCode | |
| KEY_COMPROMISE | back to summary |
|---|---|
| public static final int KEY_COMPROMISE | |
| PRIVILEGE_WITHDRAWN | back to summary |
|---|---|
| public static final int PRIVILEGE_WITHDRAWN | |
| REASON_STRINGS | back to summary |
|---|---|
| private static final String[] REASON_STRINGS | |
| reasonFlags | back to summary |
|---|---|
| private boolean[] reasonFlags | |
| relativeName | back to summary |
|---|---|
| private RDN relativeName | |
| SUPERSEDED | back to summary |
|---|---|
| public static final int SUPERSEDED | |
| TAG_DIST_PT | back to summary |
|---|---|
| private static final byte TAG_DIST_PT | |
| TAG_FULL_NAME | back to summary |
|---|---|
| private static final byte TAG_FULL_NAME | |
| TAG_ISSUER | back to summary |
|---|---|
| private static final byte TAG_ISSUER | |
| TAG_REASONS | back to summary |
|---|---|
| private static final byte TAG_REASONS | |
| TAG_REL_NAME | back to summary |
|---|---|
| private static final byte TAG_REL_NAME | |
| DistributionPoint | back to summary |
|---|---|
| public DistributionPoint(GeneralNames fullName, boolean[] reasonFlags, GeneralNames crlIssuer) Constructor for the class using GeneralNames for DistributionPointName
| |
| DistributionPoint | back to summary |
|---|---|
| public DistributionPoint(RDN relativeName, boolean[] reasonFlags, GeneralNames crlIssuer) Constructor for the class using RelativeDistinguishedName for DistributionPointName
| |
| DistributionPoint | back to summary |
|---|---|
| public DistributionPoint(DerValue val) throws IOException Create the object from the passed DER encoded form.
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Implements sun. Write the DistributionPoint value to the DerOutputStream.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Compare an object to this DistributionPoint for equality. | |
| getCRLIssuer | back to summary |
|---|---|
| public GeneralNames getCRLIssuer() Return the CRL issuer name or null if not set. | |
| getFullName | back to summary |
|---|---|
| public GeneralNames getFullName() Return the full distribution point name or null if not set. | |
| getReasonFlags | back to summary |
|---|---|
| public boolean[] getReasonFlags() Return the reason flags or null if not set. | |
| getRelativeName | back to summary |
|---|---|
| public RDN getRelativeName() Return the relative distribution point name or null if not set. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| reasonToString | back to summary |
|---|---|
| private static String reasonToString(int reason) Return a string representation for reasonFlag bit 'reason'. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a printable string of the Distribution Point. | |