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) DEREncodablestatic final int(package private) intFields inherited from class ASN1Encodable
BER, DER -
Constructor Summary
ConstructorsConstructorDescriptionDistributionPointName(int type, ASN1Encodable name) DistributionPointName(int type, DEREncodable name) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidappendObject(StringBuffer buf, String sep, String name, String value) static DistributionPointNamegetInstance(Object obj) static DistributionPointNamegetInstance(ASN1TaggedObject obj, boolean explicit) getName()Return the tagged object inside the distribution point name.intgetType()Return the tag number applying to the underlying choice.toString()Methods inherited from class 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:
toASN1Objectin classASN1Encodable
-
toString
-
appendObject
-