Its ASN.1 definition is:
DistributionPointName ::= CHOICE {
fullName [0] GeneralNames,
nameRelativeToCRLIssuer [1] RelativeDistinguishedName }
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, IssuingDistributionPointExtension
| Modifier and Type | Field and Description |
|---|---|
| private GeneralNames | |
| private volatile int | |
| private RDN | |
| private static final byte | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| public | DistributionPointName(GeneralNames
the name for the distribution point. fullName)Creates a distribution point name using a full name. |
| public | DistributionPointName(RDN
the name of the distribution point relative to
the name of the issuer of the CRL. relativeName)Creates a distribution point name using a relative name. |
| public | DistributionPointName(DerValue
the DER-encoded value. encoding)Creates a distribution point name from its DER-encoded form. |
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(DerOutputStream
the output stream. out)Implements sun. Encodes the distribution point name and writes it 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 distribution point name for equality. |
| public GeneralNames | |
| public RDN | |
| public int | Returns: the hash code for this distribution point nameOverrides java. Returns the hash code for this distribution point name. |
| public String | toString()
Overrides java. Returns a printable string of the distribution point name. |
| fullName | back to summary |
|---|---|
| private GeneralNames fullName | |
| hashCode | back to summary |
|---|---|
| private volatile int hashCode | |
| relativeName | back to summary |
|---|---|
| private RDN relativeName | |
| TAG_FULL_NAME | back to summary |
|---|---|
| private static final byte TAG_FULL_NAME | |
| TAG_RELATIVE_NAME | back to summary |
|---|---|
| private static final byte TAG_RELATIVE_NAME | |
| DistributionPointName | back to summary |
|---|---|
| public DistributionPointName(GeneralNames fullName) Creates a distribution point name using a full name.
| |
| DistributionPointName | back to summary |
|---|---|
| public DistributionPointName(RDN relativeName) Creates a distribution point name using a relative name.
| |
| DistributionPointName | back to summary |
|---|---|
| public DistributionPointName(DerValue encoding) throws IOException Creates a distribution point name from its DER-encoded form.
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Implements sun. Encodes the distribution point name and writes it to the DerOutputStream.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Compare an object to this distribution point name for equality. | |
| getFullName | back to summary |
|---|---|
| public GeneralNames getFullName() Returns the full name for the distribution point or null if not set. | |
| getRelativeName | back to summary |
|---|---|
| public RDN getRelativeName() Returns the relative name for the distribution point or null if not set. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hash code for this distribution point name.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a printable string of the distribution point name. | |