public void setEndDate( ASN1UTCTime endDate) { this.endDate = new Time(endDate); }
private Time createTime(Date date) { if (date != null) { return new Time(date); } return null; }
public void setNextUpdate( ASN1UTCTime nextUpdate) { this.nextUpdate = new Time(nextUpdate); }
public void setStartDate( DERUTCTime startDate) { this.startDate = new Time(startDate); }
public void setEndDate( ASN1UTCTime endDate) { this.endDate = new Time(endDate); }
public void setStartDate( ASN1UTCTime startDate) { this.startDate = new Time(startDate); }
public void setStartDate( ASN1UTCTime startDate) { this.startDate = new Time(startDate); }
public void setNotAfter( Date date) { tbsGen.setEndDate(new Time(date)); }
/** * Set the date by which the next CRL will become available. * * @param date date of next CRL update. * @return the current builder. */ public X509v2CRLBuilder setNextUpdate( Date date) { return this.setNextUpdate(new Time(date)); }
public void setNotBefore( Date date) { tbsGen.setStartDate(new Time(date)); }
public void setThisUpdate( Date date) { tbsGen.setThisUpdate(new Time(date)); }
public void setNotAfter( Date date) { tbsGen.setEndDate(new Time(date)); }
public void setNotAfter( Date date) { tbsGen.setEndDate(new Time(date)); }
public void setNotAfter( Date date) { tbsGen.setEndDate(new Time(date)); }
public void setNextUpdate( Date date) { tbsGen.setNextUpdate(new Time(date)); }
public void setNotBefore( Date date) { tbsGen.setStartDate(new Time(date)); }
/** * 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 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 DERGeneralizedTime(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)); }
/** * 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)); }