public class DistributionPointName extends ASN1Object implements ASN1Choice
DistributionPointName ::= CHOICE { fullName [0] GeneralNames, nameRelativeToCRLIssuer [1] RDN }
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 obj,
boolean explicit) |
static DistributionPointName |
getInstance(java.lang.Object obj) |
ASN1Encodable |
getName()
Return the tagged object inside the distribution point name.
|
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, hashCode
public 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(ASN1TaggedObject obj, boolean explicit)
public static DistributionPointName getInstance(java.lang.Object obj)
public int getType()
public ASN1Encodable getName()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public java.lang.String toString()
toString
in class java.lang.Object