Package org.bouncycastle.asn1.x509
Class IssuingDistributionPoint
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x509.IssuingDistributionPoint
-
- All Implemented Interfaces:
ASN1Encodable
,Encodable
public class IssuingDistributionPoint extends ASN1Object
IssuingDistributionPoint ::= SEQUENCE { distributionPoint [0] DistributionPointName OPTIONAL, onlyContainsUserCerts [1] BOOLEAN DEFAULT FALSE, onlyContainsCACerts [2] BOOLEAN DEFAULT FALSE, onlySomeReasons [3] ReasonFlags OPTIONAL, indirectCRL [4] BOOLEAN DEFAULT FALSE, onlyContainsAttributeCerts [5] BOOLEAN DEFAULT FALSE }
-
-
Constructor Summary
Constructors Constructor Description IssuingDistributionPoint(DistributionPointName distributionPoint, boolean indirectCRL, boolean onlyContainsAttributeCerts)
Shorthand Constructor from given details.IssuingDistributionPoint(DistributionPointName distributionPoint, boolean onlyContainsUserCerts, boolean onlyContainsCACerts, ReasonFlags onlySomeReasons, boolean indirectCRL, boolean onlyContainsAttributeCerts)
Constructor from given details.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributionPointName
getDistributionPoint()
static IssuingDistributionPoint
getInstance(java.lang.Object obj)
static IssuingDistributionPoint
getInstance(ASN1TaggedObject obj, boolean explicit)
ReasonFlags
getOnlySomeReasons()
boolean
isIndirectCRL()
boolean
onlyContainsAttributeCerts()
boolean
onlyContainsCACerts()
boolean
onlyContainsUserCerts()
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
-
IssuingDistributionPoint
public IssuingDistributionPoint(DistributionPointName distributionPoint, boolean onlyContainsUserCerts, boolean onlyContainsCACerts, ReasonFlags onlySomeReasons, boolean indirectCRL, boolean onlyContainsAttributeCerts)
Constructor from given details.- Parameters:
distributionPoint
- May contain an URI as pointer to most current CRL.onlyContainsUserCerts
- Covers revocation information for end certificates.onlyContainsCACerts
- Covers revocation information for CA certificates.onlySomeReasons
- Which revocation reasons does this point cover.indirectCRL
- Iftrue
then the CRL contains revocation information about certificates ssued by other CAs.onlyContainsAttributeCerts
- Covers revocation information for attribute certificates.
-
IssuingDistributionPoint
public IssuingDistributionPoint(DistributionPointName distributionPoint, boolean indirectCRL, boolean onlyContainsAttributeCerts)
Shorthand Constructor from given details.- Parameters:
distributionPoint
- May contain an URI as pointer to most current CRL.indirectCRL
- Iftrue
then the CRL contains revocation information about certificates ssued by other CAs.onlyContainsAttributeCerts
- Covers revocation information for attribute certificates.
-
-
Method Detail
-
getInstance
public static IssuingDistributionPoint getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
public static IssuingDistributionPoint getInstance(java.lang.Object obj)
-
onlyContainsUserCerts
public boolean onlyContainsUserCerts()
-
onlyContainsCACerts
public boolean onlyContainsCACerts()
-
isIndirectCRL
public boolean isIndirectCRL()
-
onlyContainsAttributeCerts
public boolean onlyContainsAttributeCerts()
-
getDistributionPoint
public DistributionPointName getDistributionPoint()
- Returns:
- Returns the distributionPoint.
-
getOnlySomeReasons
public ReasonFlags getOnlySomeReasons()
- Returns:
- Returns the onlySomeReasons.
-
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
-
-