org.bouncycastle.asn1.x509
Class DistributionPointName
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.x509.DistributionPointName
- All Implemented Interfaces:
- ASN1Choice, ASN1Encodable, Encodable
- public class DistributionPointName
- extends ASN1Object
- implements ASN1Choice
The DistributionPointName object.
DistributionPointName ::= CHOICE {
fullName [0] GeneralNames,
nameRelativeToCRLIssuer [1] RDN
}
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FULL_NAME
public static final int FULL_NAME
NAME_RELATIVE_TO_CRL_ISSUER
public static final int NAME_RELATIVE_TO_CRL_ISSUER
DistributionPointName
public DistributionPointName(int type,
ASN1Encodable name)
DistributionPointName
public DistributionPointName(GeneralNames name)
DistributionPointName
public DistributionPointName(ASN1TaggedObject obj)
getInstance
public static DistributionPointName getInstance(ASN1TaggedObject obj,
boolean explicit)
getInstance
public static DistributionPointName getInstance(java.lang.Object obj)
getType
public int getType()
- Return the tag number applying to the underlying choice.
- Returns:
- the tag number for this point name.
getName
public ASN1Encodable getName()
- Return the tagged object inside the distribution point name.
- Returns:
- the underlying choice item.
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Description copied from class:
ASN1Object
- Method providing a primitive representation of this object suitable for encoding.
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object