Home
last modified time | relevance | path

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

12

/freebsd-13.1/crypto/openssl/doc/man3/
H A DX509_cmp_time.pod10 int X509_cmp_time(const ASN1_TIME *asn1_time, time_t *in_tm);
11 int X509_cmp_current_time(const ASN1_TIME *asn1_time);
12 ASN1_TIME *X509_time_adj(ASN1_TIME *asn1_time, long offset_sec, time_t *in_tm);
13 ASN1_TIME *X509_time_adj_ex(ASN1_TIME *asn1_time, int offset_day, long
18 X509_cmp_time() compares the ASN1_TIME in B<asn1_time> with the time
19 in <cmp_time>. X509_cmp_current_time() compares the ASN1_TIME in
21 must satisfy the ASN1_TIME format mandated by RFC 5280, i.e., its
24 X509_time_adj_ex() sets the ASN1_TIME structure B<asn1_time> to the time
27 X509_time_adj() sets the ASN1_TIME structure B<asn1_time> to the time
32 In both methods, if B<asn1_time> is NULL, a new ASN1_TIME structure
[all …]
H 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 …]
H A DASN1_TIME_set.pod20 ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
25 ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day,
33 int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
39 int ASN1_TIME_normalize(ASN1_TIME *s);
41 int ASN1_TIME_check(const ASN1_TIME *t);
45 int ASN1_TIME_print(BIO *b, const ASN1_TIME *s);
49 int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
51 const ASN1_TIME *to);
53 int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);
56 int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);
[all …]
H 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.
/freebsd-13.1/crypto/openssl/crypto/asn1/
H A Da_time.c24 IMPLEMENT_ASN1_MSTRING(ASN1_TIME, B_ASN1_TIME) in IMPLEMENT_ASN1_MSTRING() argument
26 IMPLEMENT_ASN1_FUNCTIONS(ASN1_TIME) in IMPLEMENT_ASN1_MSTRING()
265 ASN1_TIME *asn1_time_from_tm(ASN1_TIME *s, struct tm *ts, int type) in asn1_time_from_tm()
268 ASN1_TIME *tmps = NULL; in asn1_time_from_tm()
317 ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t) in ASN1_TIME_set()
322 ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, in ASN1_TIME_adj()
340 int ASN1_TIME_check(const ASN1_TIME *t) in ASN1_TIME_check()
380 ASN1_TIME t; in ASN1_TIME_set_string_X509()
453 const ASN1_TIME *from, const ASN1_TIME *to) in ASN1_TIME_diff()
537 int ASN1_TIME_normalize(ASN1_TIME *t) in ASN1_TIME_normalize()
[all …]
H A Dx_val.c16 ASN1_SIMPLE(X509_VAL, notBefore, ASN1_TIME),
17 ASN1_SIMPLE(X509_VAL, notAfter, ASN1_TIME)
H A Dasn1_local.h12 int asn1_time_to_tm(struct tm *tm, const ASN1_TIME *d);
83 ASN1_TIME *asn1_time_from_tm(ASN1_TIME *s, struct tm *ts, int type);
H A Dasn1_item_list.h39 ASN1_ITEM_ref(ASN1_TIME),
/freebsd-13.1/crypto/openssl/crypto/x509/
H 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()
H A Dx509_set.c64 int x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm) in x509_set1_time()
66 ASN1_TIME *in; in 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()
H 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),
H A Dx509_vfy.c1845 int X509_cmp_current_time(const ASN1_TIME *ctm) in X509_cmp_current_time()
1850 int X509_cmp_time(const ASN1_TIME *ctm, time_t *cmp_time) in X509_cmp_time()
1854 ASN1_TIME *asn1_cmp_time = NULL; in X509_cmp_time()
1919 ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s, long adj) in X509_gmtime_adj()
1924 ASN1_TIME *X509_time_adj(ASN1_TIME *s, long offset_sec, time_t *in_tm) in X509_time_adj()
1929 ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s, in X509_time_adj_ex()
/freebsd-13.1/crypto/openssl/include/openssl/
H A Dasn1.h594 const ASN1_TIME *from, const ASN1_TIME *to);
622 DECLARE_ASN1_FUNCTIONS(ASN1_TIME)
626 ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
627 ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
629 int ASN1_TIME_check(const ASN1_TIME *t);
632 int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
634 int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
635 int ASN1_TIME_normalize(ASN1_TIME *s);
636 int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);
637 int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);
[all …]
H A Dx509.h67 ASN1_TIME *notBefore;
68 ASN1_TIME *notAfter;
486 int X509_cmp_time(const ASN1_TIME *s, time_t *t);
487 int X509_cmp_current_time(const ASN1_TIME *s);
488 ASN1_TIME *X509_time_adj(ASN1_TIME *s, long adj, time_t *t);
489 ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s,
491 ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s, long adj);
644 const ASN1_TIME * X509_get0_notBefore(const X509 *x);
645 ASN1_TIME *X509_getm_notBefore(const X509 *x);
647 const ASN1_TIME *X509_get0_notAfter(const X509 *x);
[all …]
H A Dossl_typ.h31 # define ASN1_TIME ASN1_STRING macro
51 typedef struct asn1_string_st ASN1_TIME;
H A Docsp.h246 ASN1_TIME *revtime,
247 ASN1_TIME *thisupd,
248 ASN1_TIME *nextupd);
H A Dpkcs7.h307 int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
/freebsd-13.1/crypto/openssl/include/crypto/
H A Dx509.h82 ASN1_TIME *lastUpdate; /* lastUpdate field */
83 ASN1_TIME *nextUpdate; /* nextUpdate field: optional */
118 ASN1_TIME *revocationDate; /* revocation date */
286 int x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm);
/freebsd-13.1/crypto/openssl/crypto/ocsp/
H A Docsp_srv.c89 ASN1_TIME *revtime, in OCSP_basic_add1_status()
90 ASN1_TIME *thisupd, in OCSP_basic_add1_status()
91 ASN1_TIME *nextupd) in OCSP_basic_add1_status()
/freebsd-13.1/crypto/openssl/crypto/pkcs7/
H A Dpk7_attr.c96 int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t) in PKCS7_add0_attrib_signing_time()
/freebsd-13.1/crypto/openssl/apps/
H A Dca.c232 ASN1_TIME *tmptm; in ca_main()
1395 const ASN1_TIME *tm; in do_body()
2054 const ASN1_TIME *tm = NULL; in do_revoke()
2226 ASN1_TIME *a_tm = NULL; in do_updatedb()
2245 ASN1_TIME *exp_date = NULL; in do_updatedb()
2400 ASN1_TIME *revDate = NULL; in make_revoked()
2486 int unpack_revinfo(ASN1_TIME **prevtm, int *preason, ASN1_OBJECT **phold, in unpack_revinfo()
H A Dapps.h500 int unpack_revinfo(ASN1_TIME **prevtm, int *preason, ASN1_OBJECT **phold,
H A Docsp.c1140 ASN1_TIME *thisupd = NULL, *nextupd = NULL; in make_ocsp_response()
1208 ASN1_TIME *revtm = NULL; in make_ocsp_response()
/freebsd-13.1/crypto/openssl/crypto/cms/
H A Dcms_sd.c395 static int cms_add1_signingTime(CMS_SignerInfo *si, ASN1_TIME *t) in cms_add1_signingTime()
397 ASN1_TIME *tt; in cms_add1_signingTime()
/freebsd-13.1/contrib/ntp/util/
H A Dntp-keygen.c155 u_long asn2ntp (ASN1_TIME *);
2100 ASN1_TIME *asn1time /* pointer to ASN1_TIME structure */

12