Package org.bouncycastle.asn1.x509
Class DistributionPointName
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.DistributionPointName
- All Implemented Interfaces:
ASN1Choice,ASN1Encodable,Encodable
The DistributionPointName object.
DistributionPointName ::= CHOICE {
fullName [0] GeneralNames,
nameRelativeToCRLIssuer [1] RDN
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DistributionPointNamegetInstance(Object obj) static DistributionPointNamegetInstance(ASN1TaggedObject taggedObject, boolean declaredExplicit) getName()Return the tagged object inside the distribution point name.static DistributionPointNamegetTagged(ASN1TaggedObject taggedObject, boolean declaredExplicit) intgetType()Return the tag number applying to the underlying choice.Method providing a primitive representation of this object suitable for encoding.toString()Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
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
public static DistributionPointName getInstance(ASN1TaggedObject taggedObject, boolean declaredExplicit) -
getTagged
public static DistributionPointName getTagged(ASN1TaggedObject taggedObject, boolean declaredExplicit) -
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.
-
toASN1Primitive
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-
toString
-