/third_party/openssl/doc/man3/ |
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 …]
|
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 …]
|
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); 34 int ASN1_TIME_set_string_X509(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); 50 int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, 51 const ASN1_TIME *to); [all …]
|
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.
|
/third_party/openssl/crypto/asn1/ |
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() 74 int asn1_time_to_tm(struct tm *tm, const ASN1_TIME *d) in asn1_time_to_tm() 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() 350 ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t, in ASN1_TIME_to_generalizedtime() 370 int ASN1_TIME_set_string(ASN1_TIME *s, const char *str) in ASN1_TIME_set_string() [all …]
|
D | x_val.c | 16 ASN1_SIMPLE(X509_VAL, notBefore, ASN1_TIME), 17 ASN1_SIMPLE(X509_VAL, notAfter, ASN1_TIME)
|
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);
|
D | asn1_item_list.h | 39 ASN1_ITEM_ref(ASN1_TIME),
|
/third_party/openssl/crypto/x509/ |
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()
|
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()
|
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),
|
/third_party/openssl/include/openssl/ |
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); 630 ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t, 632 int ASN1_TIME_set_string(ASN1_TIME *s, const char *str); 633 int ASN1_TIME_set_string_X509(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); [all …]
|
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); 646 int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm); [all …]
|
D | ossl_typ.h | 31 # define ASN1_TIME ASN1_STRING macro 51 typedef struct asn1_string_st ASN1_TIME;
|
D | ocsp.h | 246 ASN1_TIME *revtime, 247 ASN1_TIME *thisupd, 248 ASN1_TIME *nextupd);
|
/third_party/openssl/include/crypto/ |
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);
|
/third_party/openssl/test/ |
D | x509_time_test.c | 258 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 *t = NULL; in test_x509_time() 409 ASN1_TIME *a = NULL; in test_days() 433 ASN1_TIME asn1;
|
D | asn1_time_test.c | 102 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;
|
D | time_offset_test.c | 60 static ASN1_TIME the_asn1_time = { 69 ASN1_TIME at; in test_offset()
|
D | ocspapitest.c | 75 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()
|
/third_party/openssl/crypto/ocsp/ |
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()
|
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/ |
D | ssl_wrapper.h | 60 time_t ConvertAsn1Time(const ASN1_TIME *const time) const;
|
/third_party/openssl/test/testutil/ |
D | tests.c | 421 static const char *print_time(const ASN1_TIME *t) in print_time() 431 ASN1_TIME *at1 = ASN1_TIME_set(NULL, t1); \ 432 ASN1_TIME *at2 = ASN1_TIME_set(NULL, t2); \
|
/third_party/mindspore/mindspore/ccsrc/ps/core/ |
D | comm_util.cc | 211 ASN1_TIME *start = X509_getm_notBefore(cert); in VerifyCertTime() 212 ASN1_TIME *end = X509_getm_notAfter(cert); in VerifyCertTime()
|
/third_party/openssl/crypto/pkcs7/ |
D | pk7_attr.c | 96 int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t) in PKCS7_add0_attrib_signing_time()
|