Package org.bouncycastle.asn1.x509
Class DistributionPoint
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x509.DistributionPoint
-
- All Implemented Interfaces:
ASN1Encodable
,Encodable
public class DistributionPoint extends ASN1Object
The DistributionPoint object.DistributionPoint ::= SEQUENCE { distributionPoint [0] DistributionPointName OPTIONAL, reasons [1] ReasonFlags OPTIONAL, cRLIssuer [2] GeneralNames OPTIONAL }
-
-
Constructor Summary
Constructors Constructor Description DistributionPoint(ASN1Sequence seq)
DistributionPoint(DistributionPointName distributionPoint, ReasonFlags reasons, GeneralNames cRLIssuer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneralNames
getCRLIssuer()
DistributionPointName
getDistributionPoint()
static DistributionPoint
getInstance(java.lang.Object obj)
static DistributionPoint
getInstance(ASN1TaggedObject obj, boolean explicit)
ReasonFlags
getReasons()
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.java.lang.String
toString()
-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Constructor Detail
-
DistributionPoint
public DistributionPoint(ASN1Sequence seq)
-
DistributionPoint
public DistributionPoint(DistributionPointName distributionPoint, ReasonFlags reasons, GeneralNames cRLIssuer)
-
-
Method Detail
-
getInstance
public static DistributionPoint getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
public static DistributionPoint getInstance(java.lang.Object obj)
-
getDistributionPoint
public DistributionPointName getDistributionPoint()
-
getReasons
public ReasonFlags getReasons()
-
getCRLIssuer
public GeneralNames getCRLIssuer()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-