public void setEndDate( ASN1UTCTime endDate) { this.endDate = new Time(endDate); }
public void setEndDate( ASN1UTCTime endDate) { this.endDate = new Time(endDate); }
public void setThisUpdate( ASN1UTCTime thisUpdate) { this.thisUpdate = new Time(thisUpdate); }
public void setStartDate( ASN1UTCTime startDate) { this.startDate = new Time(startDate); }
public void setStartDate( ASN1UTCTime startDate) { this.startDate = new Time(startDate); }
public void setNextUpdate( ASN1UTCTime nextUpdate) { this.nextUpdate = new Time(nextUpdate); }
public void setNotAfter( Date date) { tbsGen.setEndDate(new Time(date)); }
@Override public BcX509TBSCertificateBuilder setEndDate(Date time) { this.tbsGen.setEndDate(new Time(time)); return this; }
public void addCRLEntry(ASN1Integer userCertificate, ASN1UTCTime revocationDate, int reason) { addCRLEntry(userCertificate, new Time(revocationDate), reason); }
public void setThisUpdate( Date date) { tbsGen.setThisUpdate(new Time(date)); }
public void setNotBefore( Date date) { tbsGen.setStartDate(new Time(date)); }
public void setNotAfter( Date date) { tbsGen.setEndDate(new Time(date)); }
public void setNotBefore( Date date) { tbsGen.setStartDate(new Time(date)); }
@Override public BcX509TBSCertificateBuilder setStartDate(Date time) { this.tbsGen.setStartDate(new Time(time)); return this; }
public void setNextUpdate( Date date) { tbsGen.setNextUpdate(new Time(date)); }
@Override public BcX509TBSCertificateBuilder setStartDate(Date time) { this.tbsGen.setStartDate(new Time(time)); return this; }
@Override public BcX509TBSCertificateBuilder setEndDate(Date time) { this.tbsGen.setEndDate(new Time(time)); return this; }
/** * Reason being as indicated by CRLReason, i.e. CRLReason.keyCompromise * or 0 if CRLReason is not to be used **/ public void addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason) { tbsGen.addCRLEntry(new ASN1Integer(userCertificate), new Time(revocationDate), reason); }
/** * Add a CRL entry with an Invalidity Date extension as well as a CRLReason extension. * Reason being as indicated by CRLReason, i.e. CRLReason.keyCompromise * or 0 if CRLReason is not to be used **/ public void addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason, Date invalidityDate) { tbsGen.addCRLEntry(new ASN1Integer(userCertificate), new Time(revocationDate), reason, new ASN1GeneralizedTime(invalidityDate)); }
/** * Add a CRL entry with extensions. **/ public void addCRLEntry(BigInteger userCertificate, Date revocationDate, X509Extensions extensions) { tbsGen.addCRLEntry(new ASN1Integer(userCertificate), new Time(revocationDate), Extensions.getInstance(extensions)); }