Package org.gudy.bouncycastle.asn1.x509
Class DistributionPointName
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.x509.DistributionPointName
- All Implemented Interfaces:
ASN1Choice
,DEREncodable
The DistributionPointName object.
DistributionPointName ::= CHOICE { fullName [0] GeneralNames, nameRelativeToCRLIssuer [1] RelativeDistinguishedName }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
(package private) DEREncodable
static final int
(package private) int
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
Constructor Summary
ConstructorsConstructorDescriptionDistributionPointName
(int type, ASN1Encodable name) DistributionPointName
(int type, DEREncodable name) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
appendObject
(StringBuffer buf, String sep, String name, String value) static DistributionPointName
getInstance
(Object obj) static DistributionPointName
getInstance
(ASN1TaggedObject obj, boolean explicit) getName()
Return the tagged object inside the distribution point name.int
getType()
Return the tag number applying to the underlying choice.toString()
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
Field Details
-
name
DEREncodable name -
type
int type -
FULL_NAME
public static final int FULL_NAME- See Also:
-
NAME_RELATIVE_TO_CRL_ISSUER
public static final int NAME_RELATIVE_TO_CRL_ISSUER- See Also:
-
-
Constructor Details
-
DistributionPointName
-
DistributionPointName
-
DistributionPointName
-
-
Method Details
-
getInstance
-
getInstance
-
getType
public int getType()Return the tag number applying to the underlying choice.- Returns:
- the tag number for this point name.
-
getName
Return the tagged object inside the distribution point name.- Returns:
- the underlying choice item.
-
toASN1Object
- Specified by:
toASN1Object
in classASN1Encodable
-
toString
-
appendObject
-