org.bouncycastle.asn1.x509

Class DistributionPointName

public class DistributionPointName extends ASN1Encodable implements ASN1Choice

The DistributionPointName object.
 DistributionPointName ::= CHOICE {
     fullName                 [0] GeneralNames,
     nameRelativeToCRLIssuer  [1] RelativeDistinguishedName
 }
 
Field Summary
static intFULL_NAME
static intNAME_RELATIVE_TO_CRL_ISSUER
Constructor Summary
DistributionPointName(int type, DEREncodable name)
DistributionPointName(int type, ASN1Encodable name)
DistributionPointName(ASN1TaggedObject obj)
Method Summary
static DistributionPointNamegetInstance(ASN1TaggedObject obj, boolean explicit)
static DistributionPointNamegetInstance(Object obj)
ASN1EncodablegetName()
Return the tagged object inside the distribution point name.
intgetType()
Return the tag number applying to the underlying choice.
DERObjecttoASN1Object()
StringtoString()

Field Detail

FULL_NAME

public static final int FULL_NAME

NAME_RELATIVE_TO_CRL_ISSUER

public static final int NAME_RELATIVE_TO_CRL_ISSUER

Constructor Detail

DistributionPointName

public DistributionPointName(int type, DEREncodable name)

DistributionPointName

public DistributionPointName(int type, ASN1Encodable name)

DistributionPointName

public DistributionPointName(ASN1TaggedObject obj)

Method Detail

getInstance

public static DistributionPointName getInstance(ASN1TaggedObject obj, boolean explicit)

getInstance

public static DistributionPointName getInstance(Object obj)

getName

public ASN1Encodable getName()
Return the tagged object inside the distribution point name.

Returns: the underlying choice item.

getType

public int getType()
Return the tag number applying to the underlying choice.

Returns: the tag number for this point name.

toASN1Object

public DERObject toASN1Object()

toString

public String toString()