100101102103104105106
} public void setNotAfter( Date date) { tbsGen.setEndDate(new Time(date)); }
61626364656667
algorithms.put("ECDSAWITHSHA1", new DERObjectIdentifier("1.2.840.10045.4.1")); } public X509V1CertificateGenerator() { tbsGen = new V1TBSCertificateGenerator(); }
69707172737475
/** * reset the generator */ public void reset() { tbsGen = new V1TBSCertificateGenerator(); }
71727374757677
public X509V2CRLGenerator() { dateF.setTimeZone(tz); tbsGen = new V2TBSCertListGenerator(); }
79808182838485
/** * reset the generator */ public void reset() { tbsGen = new V2TBSCertListGenerator(); }
59606162636465
algorithms.put("ECDSAWITHSHA1", new DERObjectIdentifier("1.2.840.10045.4.1")); } public X509V3CertificateGenerator() { tbsGen = new V3TBSCertificateGenerator(); }
676869707172737475
/** * reset the generator */ public void reset() { tbsGen = new V3TBSCertificateGenerator(); extensions = null; extOrdering = null; }
334335336337338339340
v.add(tbsCert); v.add(sigAlgId); v.add(new DERBitString(sig.sign())); return new X509CertificateObject(new X509CertificateStructure(new DERSequence(v))); }
253254255256257258259
210211212213214215216217
{ extensions = new Hashtable(); extOrdering = new Vector(); } extensions.put(OID, new X509Extension(critical, new DEROctetString(value))); extOrdering.addElement(OID); }