fullName_ = new ASN1SequenceOf(GeneralName.class);
/*
* We wrap the only CHOICE we support into the appropriate tagged type.
*/
distributionPoint_ = new ASN1TaggedType(TAG_FULL_NAME, fullName_,
false, false);
/*
* We wrap again. Flags are EXPLICIT and OPTIONAL.
*/
distributionPointTag_ = new ASN1TaggedType(TAG_DISTRIBUTION_POINT,
distributionPoint_, true, true);
/*
* Finally, we add the tagged type.
*/
idp.add(distributionPointTag_);
/*
* Next element with tag [1].
*/
containsUserCerts_ = new ASN1Boolean(false);
containsUserCertsTag_ = new ASN1TaggedType(TAG_CONTAINS_USER_CERTS,
containsUserCerts_, false, true);
idp.add(containsUserCertsTag_);
/*
* next element with tag [2].
*/
containsCaCerts_ = new ASN1Boolean(false);
containsCaCertsTag_ = new ASN1TaggedType(TAG_CONTAINS_CA_CERTS,
containsCaCerts_, false, true);
idp.add(containsCaCertsTag_);
/*
* next element with tag [3].
*/
someReasons_ = new ASN1BitString();
someReasonsTag_ = new ASN1TaggedType(TAG_SOME_REASONS, someReasons_,
false, true);
idp.add(someReasonsTag_);
/*
* Final element with tag [4].
*/
indirectCrl_ = new ASN1Boolean(false);
indirectCrlTag_ = new ASN1TaggedType(TAG_INDIRECT_CRL, indirectCrl_,
false, true);
idp.add(indirectCrlTag_);
setValue(idp);
}