this.onlySomeReasons = onlySomeReasons;
ASN1EncodableVector vec = new ASN1EncodableVector();
if (distributionPoint != null)
{ // CHOICE item so explicitly tagged
vec.add(new DERTaggedObject(true, 0, distributionPoint));
}
if (!onlyContainsUserCerts)
{
vec.add(new DERTaggedObject(false, 1, new DERBoolean(true)));
}
if (!onlyContainsCACerts)
{
vec.add(new DERTaggedObject(false, 2, new DERBoolean(true)));
}
if (onlySomeReasons != null)
{
vec.add(new DERTaggedObject(false, 3, onlySomeReasons));
}
if (!indirectCRL)
{
vec.add(new DERTaggedObject(false, 4, new DERBoolean(true)));
}
if (!onlyContainsAttributeCerts)
{
vec.add(new DERTaggedObject(false, 5, new DERBoolean(true)));
}
seq = new DERSequence(vec);
}