280281282283284285286287288
ASN1EncodableVector v = new ASN1EncodableVector(); v.add(tbsCert); v.add(sigAlgId); v.add(new DERBitString(sig.sign())); return new X509CertificateObject(new X509CertificateStructure(new DERSequence(v))); }
8384858687888990919293
boolean cA, int pathLenConstraint) { if (cA ) { this.cA = new DERBoolean(cA); this.pathLenConstraint = new DERInteger(pathLenConstraint); } else { this.cA = null;
9899100101102103104105106107108
public BasicConstraints( boolean cA) { if (cA) { this.cA = new DERBoolean(true); } else { this.cA = null; }
115116117118119120121122
* @param pathLenConstraint */ public BasicConstraints( int pathLenConstraint) { this.cA = new DERBoolean(true); this.pathLenConstraint = new DERInteger(pathLenConstraint); }
338339340341342343344345346347348
v.add(oid); if (ext.isCritical()) { v.add(new DERBoolean(true)); } v.add(ext.getValue()); vec.add(new DERSequence(v));
63646566676869
* <code>String</code>. */ public PolicyQualifierInfo (String cps) { policyQualifierId = PolicyQualifierId.id_qt_cps; qualifier = new DERIA5String (cps); }