ASN1_TIME
const ASN1_TIME *tm;
const ASN1_TIME *tm = NULL;
ASN1_TIME *a_tm = NULL;
ASN1_TIME *exp_date = NULL;
ASN1_TIME *revDate = NULL;
int unpack_revinfo(ASN1_TIME **prevtm, int *preason, ASN1_OBJECT **phold,
int unpack_revinfo(ASN1_TIME **prevtm, int *preason, ASN1_OBJECT **phold,
ASN1_TIME *tm = ASN1_TIME_new();
ASN1_TIME *tm = ASN1_TIME_new();
ASN1_TIME *thisupd = NULL;
ASN1_TIME *thisupd = NULL, *nextupd = NULL;
ASN1_TIME *revtm = NULL;
IMPLEMENT_ASN1_MSTRING(ASN1_TIME, B_ASN1_TIME)
ASN1_TIME *ossl_asn1_time_from_tm(ASN1_TIME *s, struct tm *ts, int type)
ASN1_TIME *tmps = NULL;
IMPLEMENT_ASN1_FUNCTIONS(ASN1_TIME)
IMPLEMENT_ASN1_DUP_FUNCTION(ASN1_TIME)
ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t)
ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
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_set_string_X509(ASN1_TIME *s, const char *str)
ASN1_TIME t;
int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm)
const ASN1_TIME *from, const ASN1_TIME *to)
int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm)
int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags)
int ossl_asn1_time_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags)
int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t)
int ASN1_TIME_normalize(ASN1_TIME *t)
int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b)
int ossl_asn1_time_to_tm(struct tm *tm, const ASN1_TIME *d)
ASN1_ITEM_ref(ASN1_TIME),
int ossl_asn1_time_to_tm(struct tm *tm, const ASN1_TIME *d);
ASN1_TIME *ossl_asn1_time_from_tm(ASN1_TIME *s, struct tm *ts, int type);
ASN1_SIMPLE(X509_VAL, notBefore, ASN1_TIME),
ASN1_SIMPLE(X509_VAL, notAfter, ASN1_TIME)
ASN1_OPT(OSSL_CMP_CRLSTATUS, thisUpdate, ASN1_TIME)
const ASN1_TIME *thisUpdate)
const ASN1_TIME *last = crl == NULL ? NULL : X509_CRL_get0_lastUpdate(crl);
ASN1_TIME **thisUpdate)
ASN1_TIME *thisUpdate;
ASN1_TIME *notBefore = ASN1_TIME_adj(NULL, now, 0, 0);
ASN1_TIME *notAfter = ASN1_TIME_adj(NULL, now, ctx->days, 0);
static int cms_add1_signingTime(CMS_SignerInfo *si, ASN1_TIME *t)
ASN1_TIME *tt;
ASN1_EXP_OPT(OSSL_CRMF_OPTIONALVALIDITY, notBefore, ASN1_TIME, 0),
ASN1_EXP_OPT(OSSL_CRMF_OPTIONALVALIDITY, notAfter, ASN1_TIME, 1)
ASN1_TIME *notBefore, ASN1_TIME *notAfter)
/* 0 */ ASN1_TIME *notBefore;
/* 1 */ ASN1_TIME *notAfter;
ASN1_TIME *revtime,
ASN1_TIME *thisupd,
ASN1_TIME *nextupd)
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t)
ASN1_TIME *tmp = NULL;
const ASN1_TIME *X509_get0_notBefore(const X509 *x)
const ASN1_TIME *X509_get0_notAfter(const X509 *x)
ASN1_TIME *X509_getm_notBefore(const X509 *x)
ASN1_TIME *X509_getm_notAfter(const X509 *x)
int ossl_x509_set1_time(int *modified, ASN1_TIME **ptm, const ASN1_TIME *tm)
ASN1_TIME *new;
int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm)
int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm)
int X509_cmp_current_time(const ASN1_TIME *ctm)
int X509_cmp_time(const ASN1_TIME *ctm, time_t *cmp_time)
ASN1_TIME *asn1_cmp_time = NULL;
const ASN1_TIME *start, const ASN1_TIME *end)
ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s, long adj)
ASN1_TIME *X509_time_adj(ASN1_TIME *s, long offset_sec, time_t *in_tm)
ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s,
ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl)
ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl)
const ASN1_TIME *X509_REVOKED_get0_revocationDate(const X509_REVOKED *x)
int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm)
int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm)
int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm)
const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl)
const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl)
ASN1_SIMPLE(X509_REVOKED, revocationDate, ASN1_TIME),
ASN1_SIMPLE(X509_CRL_INFO, lastUpdate, ASN1_TIME),
ASN1_OPT(X509_CRL_INFO, nextUpdate, ASN1_TIME),
ASN1_ITEM_ref(ASN1_TIME),
int ossl_asn1_time_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags);
ASN1_TIME *revocationDate; /* revocation date */
int ossl_x509_set1_time(int *modified, ASN1_TIME **ptm, const ASN1_TIME *tm);
ASN1_TIME *lastUpdate; /* lastUpdate field */
ASN1_TIME *nextUpdate; /* nextUpdate field: optional */
const ASN1_TIME *from, const ASN1_TIME *to);
DECLARE_ASN1_FUNCTIONS(ASN1_TIME)
DECLARE_ASN1_DUP_FUNCTION(ASN1_TIME)
ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
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_set_string_X509(ASN1_TIME *s, const char *str);
int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
int ASN1_TIME_normalize(ASN1_TIME *s);
int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);
int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);
int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm);
int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags);
const ASN1_TIME *thisUpdate);
ASN1_TIME **thisUpdate);
ASN1_TIME *notBefore, ASN1_TIME *notAfter);
ASN1_TIME *revtime,
ASN1_TIME *thisupd,
ASN1_TIME *nextupd);
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
ASN1_TIME *notBefore;
ASN1_TIME *notAfter;
int X509_cmp_time(const ASN1_TIME *s, time_t *t);
int X509_cmp_current_time(const ASN1_TIME *s);
const ASN1_TIME *start, const ASN1_TIME *end);
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);
const ASN1_TIME *X509_get0_notBefore(const X509 *x);
ASN1_TIME *X509_getm_notBefore(const X509 *x);
int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm);
const ASN1_TIME *X509_get0_notAfter(const X509 *x);
ASN1_TIME *X509_getm_notAfter(const X509 *x);
int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm);
int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm);
int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm);
const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
OSSL_DEPRECATEDIN_1_1_0 ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl);
OSSL_DEPRECATEDIN_1_1_0 ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl);
const ASN1_TIME *X509_REVOKED_get0_revocationDate(const X509_REVOKED *x);
int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm);
const ASN1_TIME *X509_ACERT_get0_notBefore(const X509_ACERT *x);
const ASN1_TIME *X509_ACERT_get0_notAfter(const X509_ACERT *x);
static ASN1_TIME gtime = {
ASN1_TIME atime;
ASN1_TIME *ptime;
ASN1_TIME t1;
ASN1_TIME t2;
ASN1_TIME *asn1_time = NULL;
ASN1_TIME *asn1_time_dup = NULL;
ASN1_TIME *asn1_gentime = NULL;
ASN1_TIME *at;
ASN1_TIME *thisupd = ASN1_TIME_set(NULL, time(NULL));
ASN1_TIME *nextupd = ASN1_TIME_set(NULL, time(NULL) + 200);
ASN1_TIME *timestamp_asn1 = NULL;
static const char *print_time(const ASN1_TIME *t)
ASN1_TIME *at1 = ASN1_TIME_set(NULL, t1); \
ASN1_TIME *at2 = ASN1_TIME_set(NULL, t2); \
static ASN1_TIME the_asn1_time = {
ASN1_TIME at;
ASN1_TIME t;
ASN1_TIME *asn1_before = NULL, *asn1_after = NULL;
ASN1_TIME *asn1_before,
ASN1_TIME *asn1_mid,
ASN1_TIME *asn1_after)
ASN1_TIME *asn1_mid = ASN1_TIME_adj(NULL, now, 0, 0);
ASN1_TIME *asn1_before = ASN1_TIME_adj(NULL, now, -1, 0);
ASN1_TIME *asn1_after = ASN1_TIME_adj(NULL, now, 1, 0);
ASN1_TIME *t = NULL;
ASN1_TIME *a = NULL;
ASN1_TIME asn1;
ASN1_TIME asn1;