Top Description Fields Constructors Methods
org.bouncycastle.asn1.x509

public Class DistributionPointName

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice
Imports
org.bouncycastle.asn1.ASN1Choice, .ASN1Encodable, .ASN1Object, .ASN1Primitive, .ASN1Set, .ASN1TaggedObject, .DERTaggedObject, org.bouncycastle.util.Strings

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

Field Summary

Modifier and TypeField and Description
public static final int
pack-priv ASN1Encodable
public static final int
pack-priv int

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
private void
appendObject(StringBuffer buf, String sep, String name, String value)

public static DistributionPointName
getInstance(ASN1TaggedObject obj, boolean explicit)

public static DistributionPointName
public ASN1Encodable

Returns:

the underlying choice item.
getName
()

Return the tagged object inside the distribution point name.

public int

Returns:

the tag number for this point name.
getType
()

Return the tag number applying to the underlying choice.

public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

FULL_NAMEback to summary
public static final int FULL_NAME
nameback to summary
pack-priv ASN1Encodable name
NAME_RELATIVE_TO_CRL_ISSUERback to summary
public static final int NAME_RELATIVE_TO_CRL_ISSUER
typeback to summary
pack-priv int type

Constructor Detail

DistributionPointNameback to summary
public DistributionPointName(int type, ASN1Encodable name)
DistributionPointNameback to summary
public DistributionPointName(GeneralNames name)
DistributionPointNameback to summary
public DistributionPointName(ASN1TaggedObject obj)

Method Detail

appendObjectback to summary
private void appendObject(StringBuffer buf, String sep, String name, String value)
getInstanceback to summary
public static DistributionPointName getInstance(ASN1TaggedObject obj, boolean explicit)
getInstanceback to summary
public static DistributionPointName getInstance(Object obj)
getNameback to summary
public ASN1Encodable getName()

Return the tagged object inside the distribution point name.

Returns:ASN1Encodable

the underlying choice item.

getTypeback to summary
public int getType()

Return the tag number applying to the underlying choice.

Returns:int

the tag number for this point name.

toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object