Home
last modified time | relevance | path

Searched refs:ASN1_TIME (Results 1 – 25 of 40) sorted by relevance

12

/openssl-master/crypto/asn1/
A Da_time.c27 IMPLEMENT_ASN1_FUNCTIONS(ASN1_TIME) in IMPLEMENT_ASN1_MSTRING()
28 IMPLEMENT_ASN1_DUP_FUNCTION(ASN1_TIME) in IMPLEMENT_ASN1_MSTRING()
267 ASN1_TIME *ossl_asn1_time_from_tm(ASN1_TIME *s, struct tm *ts, int type) in ossl_asn1_time_from_tm()
270 ASN1_TIME *tmps = NULL; in ossl_asn1_time_from_tm()
319 ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t) in ASN1_TIME_set()
324 ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, in ASN1_TIME_adj()
342 int ASN1_TIME_check(const ASN1_TIME *t) in ASN1_TIME_check()
382 ASN1_TIME t; in ASN1_TIME_set_string_X509()
457 const ASN1_TIME *from, const ASN1_TIME *to) in ASN1_TIME_diff()
570 int ASN1_TIME_normalize(ASN1_TIME *t) in ASN1_TIME_normalize()
[all …]
A Dx_val.c16 ASN1_SIMPLE(X509_VAL, notBefore, ASN1_TIME),
17 ASN1_SIMPLE(X509_VAL, notAfter, ASN1_TIME)
A Dasn1_local.h15 int ossl_asn1_time_to_tm(struct tm *tm, const ASN1_TIME *d);
91 ASN1_TIME *ossl_asn1_time_from_tm(ASN1_TIME *s, struct tm *ts, int type);
/openssl-master/doc/man3/
A DX509_cmp_time.pod11 int X509_cmp_time(const ASN1_TIME *asn1_time, time_t *in_tm);
12 int X509_cmp_current_time(const ASN1_TIME *asn1_time);
14 const ASN1_TIME *start, const ASN1_TIME *end);
15 ASN1_TIME *X509_time_adj(ASN1_TIME *asn1_time, long offset_sec, time_t *in_tm);
16 ASN1_TIME *X509_time_adj_ex(ASN1_TIME *asn1_time, int offset_day, long
21 X509_cmp_time() compares the ASN1_TIME in B<asn1_time> with the time
24 X509_cmp_current_time() compares the ASN1_TIME in
34 X509_time_adj() sets the ASN1_TIME structure B<asn1_time> to the time
39 In both methods, if B<asn1_time> is NULL, a new ASN1_TIME structure
45 B<asn1_time> must satisfy the ASN1_TIME format mandated by RFC 5280,
[all …]
A DX509_get0_notBefore.pod14 const ASN1_TIME *X509_get0_notBefore(const X509 *x);
15 const ASN1_TIME *X509_get0_notAfter(const X509 *x);
17 ASN1_TIME *X509_getm_notBefore(const X509 *x);
18 ASN1_TIME *X509_getm_notAfter(const X509 *x);
20 int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm);
21 int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm);
23 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
24 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
26 int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm);
27 int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm);
[all …]
A DASN1_TIME_set.pod21 ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
26 ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day,
34 int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
40 int ASN1_TIME_normalize(ASN1_TIME *s);
42 int ASN1_TIME_check(const ASN1_TIME *t);
46 int ASN1_TIME_print(BIO *b, const ASN1_TIME *s);
51 int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
53 const ASN1_TIME *to);
58 int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);
63 ASN1_TIME *ASN1_TIME_dup(const ASN1_TIME *t);
[all …]
A DX509_CRL_get0_by_serial.pod22 const ASN1_TIME *X509_REVOKED_get0_revocationDate(const X509_REVOKED *r);
25 int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm);
83 X509_REVOKED_get0_revocationDate() returns an B<ASN1_TIME> value.
A DOSSL_CRMF_MSG_set0_validity.pod19 ASN1_TIME *notBefore, ASN1_TIME *notAfter);
/openssl-master/crypto/x509/
A Dx509cset.c37 int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_lastUpdate()
44 int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_nextUpdate()
84 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl) in X509_CRL_get0_lastUpdate()
89 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl) in X509_CRL_get0_nextUpdate()
95 ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl) in X509_CRL_get_lastUpdate()
100 ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl) in X509_CRL_get_nextUpdate()
135 const ASN1_TIME *X509_REVOKED_get0_revocationDate(const X509_REVOKED *x) in X509_REVOKED_get0_revocationDate()
140 int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) in X509_REVOKED_set_revocationDate()
142 ASN1_TIME *in; in X509_REVOKED_set_revocationDate()
A Dx509_set.c64 int ossl_x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm) in ossl_x509_set1_time()
66 ASN1_TIME *in; in ossl_x509_set1_time()
78 int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm) in X509_set1_notBefore()
85 int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm) in X509_set1_notAfter()
116 const ASN1_TIME *X509_get0_notBefore(const X509 *x) in X509_get0_notBefore()
121 const ASN1_TIME *X509_get0_notAfter(const X509 *x) in X509_get0_notAfter()
126 ASN1_TIME *X509_getm_notBefore(const X509 *x) in X509_getm_notBefore()
131 ASN1_TIME *X509_getm_notAfter(const X509 *x) in X509_getm_notAfter()
A Dx_crl.c24 ASN1_SIMPLE(X509_REVOKED, revocationDate, ASN1_TIME),
71 ASN1_SIMPLE(X509_CRL_INFO, lastUpdate, ASN1_TIME),
72 ASN1_OPT(X509_CRL_INFO, nextUpdate, ASN1_TIME),
/openssl-master/test/
A Dx509_time_test.c258 ASN1_TIME t; in test_x509_cmp_time()
280 ASN1_TIME *asn1_before = NULL, *asn1_after = NULL; in test_x509_cmp_time_current()
302 ASN1_TIME *asn1_mid, in test_X509_cmp_timeframe_vpm()
303 ASN1_TIME *asn1_after) in test_X509_cmp_timeframe_vpm()
325 ASN1_TIME *asn1_mid = ASN1_TIME_adj(NULL, now, 0, 0); in test_X509_cmp_timeframe()
327 ASN1_TIME *asn1_before = ASN1_TIME_adj(NULL, now, -1, 0); in test_X509_cmp_timeframe()
328 ASN1_TIME *asn1_after = ASN1_TIME_adj(NULL, now, 1, 0); in test_X509_cmp_timeframe()
354 ASN1_TIME *t = NULL; in test_x509_time()
461 ASN1_TIME *a = NULL; in test_days()
485 ASN1_TIME asn1;
[all …]
A Dasn1_time_test.c102 static ASN1_TIME gtime = {
113 ASN1_TIME atime; in test_table()
114 ASN1_TIME *ptime; in test_table()
279 ASN1_TIME t1;
280 ASN1_TIME t2;
326 ASN1_TIME *asn1_time = NULL; in test_time_dup()
327 ASN1_TIME *asn1_time_dup = NULL; in test_time_dup()
328 ASN1_TIME *asn1_gentime = NULL; in test_time_dup()
A Dtime_offset_test.c60 static ASN1_TIME the_asn1_time = {
69 ASN1_TIME at; in test_offset()
A Docspapitest.c75 ASN1_TIME *thisupd = ASN1_TIME_set(NULL, time(NULL)); in make_dummy_resp()
76 ASN1_TIME *nextupd = ASN1_TIME_set(NULL, time(NULL) + 200); in make_dummy_resp()
/openssl-master/include/crypto/
A Dx509.h93 ASN1_TIME *lastUpdate; /* lastUpdate field */
94 ASN1_TIME *nextUpdate; /* nextUpdate field: optional */
132 ASN1_TIME *revocationDate; /* revocation date */
312 int ossl_x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm);
/openssl-master/include/openssl/
A Dx509.h.in86 ASN1_TIME *notBefore;
87 ASN1_TIME *notAfter;
481 int X509_cmp_time(const ASN1_TIME *s, time_t *t);
482 int X509_cmp_current_time(const ASN1_TIME *s);
484 const ASN1_TIME *start, const ASN1_TIME *end);
485 ASN1_TIME *X509_time_adj(ASN1_TIME *s, long adj, time_t *t);
486 ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s,
488 ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s, long adj);
648 ASN1_TIME *X509_getm_notBefore(const X509 *x);
650 const ASN1_TIME *X509_get0_notAfter(const X509 *x);
[all …]
A Dasn1.h.in631 const ASN1_TIME *from, const ASN1_TIME *to);
667 DECLARE_ASN1_FUNCTIONS(ASN1_TIME)
669 DECLARE_ASN1_DUP_FUNCTION(ASN1_TIME)
675 ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
676 ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
678 int ASN1_TIME_check(const ASN1_TIME *t);
683 int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
684 int ASN1_TIME_normalize(ASN1_TIME *s);
685 int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);
686 int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);
[all …]
A Dtypes.h36 # define ASN1_TIME ASN1_STRING macro
56 typedef struct asn1_string_st ASN1_TIME; typedef
A Dcrmf.h.in136 ASN1_TIME *notBefore, ASN1_TIME *notAfter);
/openssl-master/crypto/crmf/
A Dcrmf_local.h287 /* 0 */ ASN1_TIME *notBefore;
288 /* 1 */ ASN1_TIME *notAfter;
A Dcrmf_asn.c179 ASN1_EXP_OPT(OSSL_CRMF_OPTIONALVALIDITY, notBefore, ASN1_TIME, 0),
180 ASN1_EXP_OPT(OSSL_CRMF_OPTIONALVALIDITY, notAfter, ASN1_TIME, 1)
/openssl-master/crypto/ocsp/
A Docsp_srv.c88 ASN1_TIME *revtime, in OCSP_basic_add1_status()
89 ASN1_TIME *thisupd, in OCSP_basic_add1_status()
90 ASN1_TIME *nextupd) in OCSP_basic_add1_status()
/openssl-master/test/testutil/
A Dtests.c445 static const char *print_time(const ASN1_TIME *t) in print_time()
455 ASN1_TIME *at1 = ASN1_TIME_set(NULL, t1); \
456 ASN1_TIME *at2 = ASN1_TIME_set(NULL, t2); \
/openssl-master/crypto/pkcs7/
A Dpk7_attr.c96 int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t) in PKCS7_add0_attrib_signing_time()

Completed in 197 milliseconds

12