Class IssuingDistributionPoint
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.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 }
-
-
Field Summary
Fields Modifier and Type Field Description public DistributionPointName
distributionPoint
public ReasonFlags
onlySomeReasons
-
Constructor Summary
Constructors Constructor Description IssuingDistributionPoint(DistributionPointName distributionPoint, boolean onlyContainsUserCerts, boolean onlyContainsCACerts, ReasonFlags onlySomeReasons, boolean indirectCRL, boolean onlyContainsAttributeCerts)
Constructor from given details. IssuingDistributionPoint(DistributionPointName distributionPoint, boolean indirectCRL, boolean onlyContainsAttributeCerts)
Shorthand Constructor from given details.
-
Method Summary
Modifier and Type Method Description DistributionPointName
getDistributionPoint()
ReasonFlags
getOnlySomeReasons()
static IssuingDistributionPoint
getInstance(ASN1TaggedObject obj, boolean explicit)
static IssuingDistributionPoint
getInstance(Object obj)
boolean
onlyContainsUserCerts()
boolean
onlyContainsCACerts()
boolean
isIndirectCRL()
boolean
onlyContainsAttributeCerts()
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. String
toString()
-
-
Constructor Detail
-
IssuingDistributionPoint
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
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
-
getDistributionPoint
DistributionPointName getDistributionPoint()
- Returns:
Returns the distributionPoint.
-
getOnlySomeReasons
ReasonFlags getOnlySomeReasons()
- Returns:
Returns the onlySomeReasons.
-
getInstance
static IssuingDistributionPoint getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
static IssuingDistributionPoint getInstance(Object obj)
-
onlyContainsUserCerts
boolean onlyContainsUserCerts()
-
onlyContainsCACerts
boolean onlyContainsCACerts()
-
isIndirectCRL
boolean isIndirectCRL()
-
onlyContainsAttributeCerts
boolean onlyContainsAttributeCerts()
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
- Returns:
a primitive representation of this object.
-
-
-
-