org.gudy.bouncycastle.asn1.x509
Class IssuingDistributionPoint
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.x509.IssuingDistributionPoint
- All Implemented Interfaces:
- DEREncodable
public class IssuingDistributionPoint
- extends ASN1Encodable
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 }
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
- If true
then the CRL contains revocation
information about certificates ssued by other CAs.onlyContainsAttributeCerts
- Covers revocation information for attribute certificates.
IssuingDistributionPoint
public IssuingDistributionPoint(ASN1Sequence seq)
- Constructor from ASN1Sequence
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.
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object
in class ASN1Encodable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object