Package org.bouncycastle.asn1.x509
Class DistributionPointName
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.DistributionPointName
- All Implemented Interfaces:
ASN1Choice,ASN1Encodable
public class DistributionPointName extends ASN1Object implements ASN1Choice
The DistributionPointName object.
DistributionPointName ::= CHOICE {
fullName [0] GeneralNames,
nameRelativeToCRLIssuer [1] RDN
}
-
Field Summary
Fields Modifier and Type Field Description static intFULL_NAMEstatic intNAME_RELATIVE_TO_CRL_ISSUER -
Constructor Summary
Constructors Constructor Description DistributionPointName(int type, ASN1Encodable name)DistributionPointName(ASN1TaggedObject obj)DistributionPointName(GeneralNames name) -
Method Summary
Modifier and Type Method Description static DistributionPointNamegetInstance(Object obj)static DistributionPointNamegetInstance(ASN1TaggedObject obj, boolean explicit)ASN1EncodablegetName()Return the tagged object inside the distribution point name.intgetType()Return the tag number applying to the underlying choice.ASN1PrimitivetoASN1Primitive()StringtoString()Returns a string containing a concise, human-readable description of this object.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
-
Field Details
-
FULL_NAME
public static final int FULL_NAME- See Also:
- Constant Field Values
-
NAME_RELATIVE_TO_CRL_ISSUER
public static final int NAME_RELATIVE_TO_CRL_ISSUER- See Also:
- Constant Field Values
-
-
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.
-
toASN1Primitive
- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object
-
toString
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-