public class DistributionPointName extends ASN1Object implements ASN1Choice
DistributionPointName ::= CHOICE {
fullName [0] GeneralNames,
nameRelativeToCRLIssuer [1] RelativeDistinguishedName
}
RelativeDistinguishedName ::= SET SIZE (1..MAX) OF AttributeTypeAndValue
Per RFC 5280 sec. 4.2.1.13, nameRelativeToCRLIssuer is a single
RelativeDistinguishedName (a SET of one or more attribute-type-and-value
pairs) — never a sequence of RDNs. When two attributes need to be carried
here they share one multi-valued RDN (e.g. O=Bouncy+OU=Test), not
two adjacent RDNs (e.g. O=Bouncy,OU=Test); the CHOICE branch is
decoded as an ASN1Set and a sequence-shaped
input is rejected. The full DN of the distribution point is formed by
appending this single RDN to the CRL issuer's RDNSequence (RFC 5280
sec. 5.2.5).| Modifier and Type | Field and Description |
|---|---|
static int |
FULL_NAME |
static int |
NAME_RELATIVE_TO_CRL_ISSUER |
| Constructor and Description |
|---|
DistributionPointName(ASN1TaggedObject obj) |
DistributionPointName(GeneralNames name) |
DistributionPointName(int type,
ASN1Encodable name) |
| Modifier and Type | Method and Description |
|---|---|
static DistributionPointName |
getInstance(ASN1TaggedObject taggedObject,
boolean declaredExplicit) |
static DistributionPointName |
getInstance(java.lang.Object obj) |
ASN1Encodable |
getName()
Return the tagged object inside the distribution point name.
|
static DistributionPointName |
getTagged(ASN1TaggedObject taggedObject,
boolean declaredExplicit) |
int |
getType()
Return the tag number applying to the underlying choice.
|
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
java.lang.String |
toString() |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCodepublic static final int FULL_NAME
public static final int NAME_RELATIVE_TO_CRL_ISSUER
public DistributionPointName(int type,
ASN1Encodable name)
public DistributionPointName(GeneralNames name)
public DistributionPointName(ASN1TaggedObject obj)
public static DistributionPointName getInstance(java.lang.Object obj)
public static DistributionPointName getInstance(ASN1TaggedObject taggedObject, boolean declaredExplicit)
public static DistributionPointName getTagged(ASN1TaggedObject taggedObject, boolean declaredExplicit)
public int getType()
public ASN1Encodable getName()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Objectpublic java.lang.String toString()
toString in class java.lang.Object