ASN1_TIME
ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, const ASN1_TIME *to)
ASN1_TIME *
d2i_ASN1_TIME(ASN1_TIME **a, const unsigned char **in, long len)
return (ASN1_TIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out)
ASN1_TIME *
return (ASN1_TIME *)ASN1_item_new(&ASN1_TIME_it);
ASN1_TIME_free(ASN1_TIME *a)
ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm)
tm_to_utctime(struct tm *tm, ASN1_TIME *atime)
tm_to_rfc5280_time(struct tm *tm, ASN1_TIME *atime)
ASN1_TIME_set_string_internal(ASN1_TIME *s, const char *str, int mode)
static ASN1_TIME *
ASN1_TIME_adj_internal(ASN1_TIME *s, time_t t, int offset_day, long offset_sec,
ASN1_TIME *atime = s;
ASN1_TIME *
ASN1_TIME_set(ASN1_TIME *s, time_t t)
ASN1_TIME *
ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day, long offset_sec)
ASN1_TIME_check(const ASN1_TIME *t)
ASN1_TIME_to_generalizedtime(const ASN1_TIME *t, ASN1_GENERALIZEDTIME **out)
ASN1_TIME_set_string(ASN1_TIME *s, const char *str)
ASN1_TIME_cmp_time_t_internal(const ASN1_TIME *s, time_t t2, int mode)
ASN1_TIME_compare(const ASN1_TIME *t1, const ASN1_TIME *t2)
ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t)
ASN1_TIME_normalize(ASN1_TIME *t)
ASN1_TIME_set_string_X509(ASN1_TIME *s, const char *str)
tm_to_gentime(struct tm *tm, ASN1_TIME *atime)
ASN1_TIME *ASN1_TIME_new(void);
void ASN1_TIME_free(ASN1_TIME *a);
ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, const unsigned char **in, long len);
int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out);
int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
int ASN1_TIME_compare(const ASN1_TIME *t1, const ASN1_TIME *t2);
int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t2);
int ASN1_TIME_normalize(ASN1_TIME *t);
int ASN1_TIME_set_string_X509(ASN1_TIME *time, const char *str);
int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from,
const ASN1_TIME *to);
ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day,
int ASN1_TIME_check(const ASN1_TIME *t);
ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t,
int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a);
ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm)
const ASN1_TIME *
ASN1_TIME *
const ASN1_TIME *
ASN1_TIME *
ASN1_TIME *at = NULL;
int status, int reason, ASN1_TIME *revtime, ASN1_TIME *thisupd,
ASN1_TIME *nextupd);
int reason, ASN1_TIME *revtime, ASN1_TIME *thisupd, ASN1_TIME *nextupd)
PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t)
ASN1_TIME *tm;
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl);
ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl);
int X509_cmp_time(const ASN1_TIME *s, time_t *t);
int X509_cmp_current_time(const ASN1_TIME *s);
ASN1_TIME * X509_time_adj(ASN1_TIME *s, long adj, time_t *t);
ASN1_TIME * X509_time_adj_ex(ASN1_TIME *s,
ASN1_TIME * X509_gmtime_adj(ASN1_TIME *s, long adj);
int X509_set_notBefore(X509 *x, const ASN1_TIME *tm);
int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm);
int X509_set_notAfter(X509 *x, const ASN1_TIME *tm);
int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm);
const ASN1_TIME *X509_get0_notBefore(const X509 *x);
ASN1_TIME *X509_getm_notBefore(const X509 *x);
const ASN1_TIME *X509_get0_notAfter(const X509 *x);
ASN1_TIME *X509_getm_notAfter(const X509 *x);
int X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm);
int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm);
int X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm);
int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm);
const ASN1_TIME *X509_REVOKED_get0_revocationDate(const X509_REVOKED *x);
int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm);
int x509_verify_asn1_time_to_time_t(const ASN1_TIME *atime, int notafter,
ASN1_TIME *revocationDate;
ASN1_TIME *lastUpdate;
ASN1_TIME *nextUpdate;
ASN1_TIME *notBefore;
ASN1_TIME *notAfter;
const ASN1_TIME *
ASN1_TIME *
X509_set_notBefore(X509 *x, const ASN1_TIME *tm)
ASN1_TIME *in;
X509_set1_notBefore(X509 *x, const ASN1_TIME *tm)
const ASN1_TIME *
ASN1_TIME *
X509_set_notAfter(X509 *x, const ASN1_TIME *tm)
ASN1_TIME *in;
X509_set1_notAfter(X509 *x, const ASN1_TIME *tm)
x509_verify_asn1_time_to_time_t(const ASN1_TIME *atime, int notAfter,
static int X509_cmp_time_internal(const ASN1_TIME *ctm, time_t *cmp_time,
X509_cmp_current_time(const ASN1_TIME *ctm)
X509_cmp_time_internal(const ASN1_TIME *ctm, time_t *cmp_time, int is_notafter)
X509_cmp_time(const ASN1_TIME *ctm, time_t *cmp_time)
ASN1_TIME *
X509_gmtime_adj(ASN1_TIME *s, long adj)
ASN1_TIME *
X509_time_adj(ASN1_TIME *s, long offset_sec, time_t *in_time)
ASN1_TIME *
X509_time_adj_ex(ASN1_TIME *s, int offset_day, long offset_sec, time_t *in_time)
X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm)
ASN1_TIME *in;
X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm)
X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm)
ASN1_TIME *in;
X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm)
const ASN1_TIME *
X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm)
ASN1_TIME *in;
ASN1_TIME *before, *after;
ASN1_TIME *t = NULL;
ASN1_TIME *t = NULL, *tx509 = NULL;
ASN1_TIME *t1 = NULL, *t2 = NULL;
ASN1_TIME *t = NULL;
x509_crl_set_time(const char *descr, int (*f)(X509_CRL *, const ASN1_TIME *),
ASN1_TIME *at;
x509_set_time(const char *descr, int (*f)(X509 *, const ASN1_TIME *), X509 **x,
ASN1_TIME *at;
ASN1_TIME *tm;
int unpack_revinfo(ASN1_TIME **prevtm, int *preason, ASN1_OBJECT **phold,
ASN1_TIME *revDate = NULL;
unpack_revinfo(ASN1_TIME **prevtm, int *preason, ASN1_OBJECT **phold,
ASN1_TIME *tmptm = NULL;
ASN1_TIME *thisupd = NULL, *nextupd = NULL;
ASN1_TIME *revtm = NULL;
ASN1_TIME *nB = X509_get_notBefore(x);
ASN1_TIME *nA = X509_get_notAfter(x);
ASN1_TIME *atim;
ASN1_TIME *atim;
const ASN1_TIME *at;
const ASN1_TIME *at;
const ASN1_TIME *at;
int x509_get_time(const ASN1_TIME *, time_t *);
const ASN1_TIME *, time_t *);
const ASN1_TIME *atime;
x509_get_time(const ASN1_TIME *at, time_t *t)
const ASN1_TIME *at, time_t *t)