/** * Return whether or not this certificate is valid on a particular date. * * @param date the date of interest. * @return true if the certificate is valid, false otherwise. */ public boolean isValidOn(Date date) { return !date.before(x509Certificate.getStartDate().getDate()) && !date.after(x509Certificate.getEndDate().getDate()); }
/** * Return the date after which this certificate is not valid. * * @return the final time for the certificate's validity period. */ public Date getNotAfter() { return x509Certificate.getEndDate().getDate(); }
/** * Return the date after which this certificate is not valid. * * @return the final time for the certificate's validity period. */ public Date getNotAfter() { return x509Certificate.getEndDate().getDate(); }
public Date getRevocationDate() { return c.getRevocationDate().getDate(); }
/** * Return the date before which this certificate is not valid. * * @return the start time for the certificate's validity period. */ public Date getNotBefore() { return x509Certificate.getStartDate().getDate(); }
/** * Return the date before which this certificate is not valid. * * @return the start time for the certificate's validity period. */ public Date getNotBefore() { return x509Certificate.getStartDate().getDate(); }
/** * Return whether or not this certificate is valid on a particular date. * * @param date the date of interest. * @return true if the certificate is valid, false otherwise. */ public boolean isValidOn(Date date) { return !date.before(x509Certificate.getStartDate().getDate()) && !date.after(x509Certificate.getEndDate().getDate()); }
public Date getRevocationDate() { return c.getRevocationDate().getDate(); }
public Date getNotAfter() { return c.getEndDate().getDate(); }
/** * Return the date on which the certificate associated with this CRLEntry was revoked. * * @return the revocation date for the revoked certificate. */ public Date getRevocationDate() { return entry.getRevocationDate().getDate(); }
/** * Return the date on which the certificate associated with this CRLEntry was revoked. * * @return the revocation date for the revoked certificate. */ public Date getRevocationDate() { return entry.getRevocationDate().getDate(); }
public Date getRevocationDate() { return c.getRevocationDate().getDate(); }
public Date getNotBefore() { return c.getStartDate().getDate(); }
public Date getNotAfter() { return c.getEndDate().getDate(); }
public Date getThisUpdate() { return c.getThisUpdate().getDate(); }
public Date getNotBefore() { return c.getStartDate().getDate(); }
public Date getNotAfter() { return c.getEndDate().getDate(); }
public Date getNextUpdate() { if (c.getNextUpdate() != null) { return c.getNextUpdate().getDate(); } return null; }
public Date getNextUpdate() { if (c.getNextUpdate() != null) { return c.getNextUpdate().getDate(); } return null; }
public Date getNextUpdate() { if (c.getNextUpdate() != null) { return c.getNextUpdate().getDate(); } return null; }