DistributionPointName ::= CHOICE { fullName [0] GeneralNames, nameRelativeToCRLIssuer [1] RelativeDistinguishedName }
312313314315316317318319320321322
if (extensions != null) { tbsGen.setExtensions(new X509Extensions(extOrdering, extensions)); } TBSCertificateStructure tbsCert = tbsGen.generateTBSCertificate(); try { ByteArrayOutputStream bOut = new ByteArrayOutputStream(); DEROutputStream dOut = new DEROutputStream(bOut);
231232233234235236237238239240241
else { sig.initSign(key); } TBSCertificateStructure tbsCert = tbsGen.generateTBSCertificate(); try { ByteArrayOutputStream bOut = new ByteArrayOutputStream(); DEROutputStream dOut = new DEROutputStream(bOut);
949596979899100
} public void setNotBefore( Date date) { tbsGen.setStartDate(new Time(date)); }
100101102103104105106
} public void setNotAfter( Date date) { tbsGen.setEndDate(new Time(date)); }
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))); }