| /freebsd/crypto/openssl/crypto/ocsp/ |
| H A D | ocsp_cl.c | 250 ASN1_GENERALIZEDTIME **thisupd, in OCSP_single_get0_status() argument 272 if (thisupd != NULL) in OCSP_single_get0_status() 273 *thisupd = single->thisUpdate; in OCSP_single_get0_status() 286 ASN1_GENERALIZEDTIME **thisupd, in OCSP_resp_find_status() argument 296 i = OCSP_single_get0_status(single, reason, revtime, thisupd, nextupd); in OCSP_resp_find_status() 310 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, in OCSP_check_validity() argument 318 if (!ASN1_GENERALIZEDTIME_check(thisupd)) { in OCSP_check_validity() 323 if (X509_cmp_time(thisupd, &t_tmp) > 0) { in OCSP_check_validity() 334 if (X509_cmp_time(thisupd, &t_tmp) < 0) { in OCSP_check_validity() 357 if (ASN1_STRING_cmp(nextupd, thisupd) < 0) { in OCSP_check_validity()
|
| H A D | ocsp_srv.c | 88 ASN1_TIME *thisupd, in OCSP_basic_add1_status() argument 104 if (!ASN1_TIME_to_generalizedtime(thisupd, &single->thisUpdate)) in OCSP_basic_add1_status()
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | OCSP_resp_find_status.pod | 21 ASN1_GENERALIZEDTIME **thisupd, 29 ASN1_GENERALIZEDTIME **thisupd, 50 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, 61 I<*revtime>, I<*thisupd> and I<*nextupd>. The I<*status> value will be one of 81 I<*revtime>, I<*thisupd> and I<*nextupd>. 109 OCSP_check_validity() checks the validity of its I<thisupd> and I<nextupd> 113 the maximum age of I<thisupd> in seconds. 174 OCSP_check_validity() returns 1 if I<thisupd> and I<nextupd> are valid time 175 values and the current time + I<sec> is not before I<thisupd> and, 196 The values written to I<*revtime>, I<*thisupd> and I<*nextupd> by
|
| /freebsd/crypto/openssl/test/ |
| H A D | ocspapitest.c | 75 ASN1_TIME *thisupd = ASN1_TIME_set(NULL, time(NULL)); in make_dummy_resp() local 92 || !TEST_ptr(thisupd) in make_dummy_resp() 97 0, NULL, thisupd, nextupd))) in make_dummy_resp() 102 ASN1_TIME_free(thisupd); in make_dummy_resp()
|
| /freebsd/crypto/openssl/apps/ |
| H A D | ocsp.c | 1020 ASN1_GENERALIZEDTIME *rev, *thisupd, *nextupd; in print_ocsp_summary() local 1035 &rev, &thisupd, &nextupd)) { in print_ocsp_summary() 1045 if (!OCSP_check_validity(thisupd, nextupd, nsec, maxage)) { in print_ocsp_summary() 1052 ASN1_GENERALIZEDTIME_print(out, thisupd); in print_ocsp_summary() 1082 ASN1_TIME *thisupd = NULL, *nextupd = NULL; in make_ocsp_response() local 1101 thisupd = X509_gmtime_adj(NULL, 0); in make_ocsp_response() 1153 0, NULL, thisupd, nextupd); in make_ocsp_response() 1159 0, NULL, thisupd, nextupd); in make_ocsp_response() 1163 0, NULL, thisupd, nextupd); in make_ocsp_response() 1174 reason, revtm, thisupd, nextupd); in make_ocsp_response() [all …]
|
| /freebsd/crypto/openssl/fuzz/ |
| H A D | x509.c | 120 ASN1_GENERALIZEDTIME *revtime, *thisupd, *nextupd; in FuzzerTestOneInput() local 133 OCSP_resp_find_status(bs, id, &status, &reason, &revtime, &thisupd, in FuzzerTestOneInput()
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | tls_openssl_ocsp.c | 345 static int ocsp_resp_valid(ASN1_GENERALIZEDTIME *thisupd, in ocsp_resp_valid() argument 350 if (!ASN1_GENERALIZEDTIME_check(thisupd)) { in ocsp_resp_valid() 358 if (X509_cmp_time(thisupd, &tmp) > 0) { in ocsp_resp_valid() 378 if (ASN1_STRING_cmp(nextupd, thisupd) < 0) { in ocsp_resp_valid()
|
| /freebsd/crypto/openssl/apps/lib/ |
| H A D | cmp_mock_srv.c | 465 ASN1_TIME *thisupd = NULL; in check_client_crl() local 475 if (!OSSL_CMP_CRLSTATUS_get0(crlstatus, &dpn, &issuer, &thisupd)) in check_client_crl() 494 return thisupd == NULL in check_client_crl() 495 || ASN1_TIME_compare(thisupd, X509_CRL_get0_lastUpdate(crl)) < 0; in check_client_crl()
|
| /freebsd/crypto/openssl/include/openssl/ |
| H A D | ocsp.h.in | 252 ASN1_GENERALIZEDTIME **thisupd, 257 ASN1_GENERALIZEDTIME **thisupd, 259 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, 283 ASN1_TIME *thisupd,
|
| H A D | ocsp.h | 348 ASN1_GENERALIZEDTIME **thisupd, 353 ASN1_GENERALIZEDTIME **thisupd, 355 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, 379 ASN1_TIME *thisupd,
|