IssuingDistributionPointpublic class IssuingDistributionPoint extends org.bouncycastle.asn1.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 } |
Fields Summary |
---|
private boolean | onlyContainsUserCerts | private boolean | onlyContainsCACerts | private boolean | indirectCRL | private boolean | onlyContainsAttributeCerts | private org.bouncycastle.asn1.ASN1Sequence | seq |
Constructors Summary |
---|
public IssuingDistributionPoint(org.bouncycastle.asn1.ASN1Sequence seq)Constructor from ASN1Sequence
this.seq = seq;
for (int i = 0; i != seq.size(); i++)
{
ASN1TaggedObject o = ASN1TaggedObject.getInstance(seq.getObjectAt(i));
switch (o.getTagNo())
{
case 0:
break;
case 1:
onlyContainsUserCerts = DERBoolean.getInstance(o, false).isTrue();
break;
case 2:
onlyContainsCACerts = DERBoolean.getInstance(o, false).isTrue();
break;
case 3:
break;
case 4:
indirectCRL = DERBoolean.getInstance(o, false).isTrue();
break;
case 5:
onlyContainsAttributeCerts = DERBoolean.getInstance(o, false).isTrue();
break;
default:
throw new IllegalArgumentException("unknown tag in IssuingDistributionPoint");
}
}
|
|