| /freebsd-13.1/crypto/openssl/doc/man3/ |
| H A D | X509_cmp_time.pod | 10 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 D | X509_get0_notBefore.pod | 14 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 D | ASN1_TIME_set.pod | 20 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 D | X509_CRL_get0_by_serial.pod | 22 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 D | a_time.c | 24 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 D | x_val.c | 16 ASN1_SIMPLE(X509_VAL, notBefore, ASN1_TIME), 17 ASN1_SIMPLE(X509_VAL, notAfter, ASN1_TIME)
|
| H A D | asn1_local.h | 12 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 D | asn1_item_list.h | 39 ASN1_ITEM_ref(ASN1_TIME),
|
| /freebsd-13.1/crypto/openssl/crypto/x509/ |
| H A D | x509cset.c | 37 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 D | x509_set.c | 64 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 D | x_crl.c | 24 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 D | x509_vfy.c | 1845 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 D | asn1.h | 594 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 D | x509.h | 67 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 D | ossl_typ.h | 31 # define ASN1_TIME ASN1_STRING macro 51 typedef struct asn1_string_st ASN1_TIME;
|
| H A D | ocsp.h | 246 ASN1_TIME *revtime, 247 ASN1_TIME *thisupd, 248 ASN1_TIME *nextupd);
|
| H A D | pkcs7.h | 307 int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
|
| /freebsd-13.1/crypto/openssl/include/crypto/ |
| H A D | x509.h | 82 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 D | ocsp_srv.c | 89 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 D | pk7_attr.c | 96 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 D | ca.c | 232 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 D | apps.h | 500 int unpack_revinfo(ASN1_TIME **prevtm, int *preason, ASN1_OBJECT **phold,
|
| H A D | ocsp.c | 1140 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 D | cms_sd.c | 395 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 D | ntp-keygen.c | 155 u_long asn2ntp (ASN1_TIME *); 2100 ASN1_TIME *asn1time /* pointer to ASN1_TIME structure */
|