public class

DistributionPointName

extends ASN1Encodable
implements ASN1Choice
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.x509.DistributionPointName

Class Overview

The DistributionPointName object.

 DistributionPointName ::= CHOICE {
     fullName                 [0] GeneralNames,
     nameRelativeToCRLIssuer  [1] RDN
 }
 

Summary

Constants
int FULL_NAME
int NAME_RELATIVE_TO_CRL_ISSUER
[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
DistributionPointName(int type, DEREncodable name)
DistributionPointName(int type, ASN1Encodable name)
DistributionPointName(GeneralNames name)
DistributionPointName(ASN1TaggedObject obj)
Public Methods
static DistributionPointName getInstance(ASN1TaggedObject obj, boolean explicit)
static DistributionPointName getInstance(Object obj)
ASN1Encodable getName()
Return the tagged object inside the distribution point name.
int getType()
Return the tag number applying to the underlying choice.
DERObject toASN1Object()
String toString()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Constants

public static final int FULL_NAME

Constant Value: 0 (0x00000000)

public static final int NAME_RELATIVE_TO_CRL_ISSUER

Constant Value: 1 (0x00000001)

Public Constructors

public DistributionPointName (int type, DEREncodable name)

public DistributionPointName (int type, ASN1Encodable name)

public DistributionPointName (GeneralNames name)

public DistributionPointName (ASN1TaggedObject obj)

Public Methods

public static DistributionPointName getInstance (ASN1TaggedObject obj, boolean explicit)

public static DistributionPointName getInstance (Object obj)

public ASN1Encodable getName ()

Return the tagged object inside the distribution point name.

Returns
  • the underlying choice item.

public int getType ()

Return the tag number applying to the underlying choice.

Returns
  • the tag number for this point name.

public DERObject toASN1Object ()

public String toString ()