/external/boringssl/src/ssl/ |
D | tls13_both.cc | 262 CBS ocsp_response; in tls13_process_certificate() local 265 !CBS_get_u24_length_prefixed(&status_request, &ocsp_response) || in tls13_process_certificate() 266 CBS_len(&ocsp_response) == 0 || in tls13_process_certificate() 273 hs->new_session->ocsp_response.reset( in tls13_process_certificate() 274 CRYPTO_BUFFER_new_from_CBS(&ocsp_response, ssl->ctx->pool)); in tls13_process_certificate() 275 if (hs->new_session->ocsp_response == nullptr) { in tls13_process_certificate() 467 if (hs->ocsp_stapling_requested && cert->ocsp_response != NULL) { in tls13_add_certificate() 468 CBB contents, ocsp_response; in tls13_add_certificate() local 472 !CBB_add_u24_length_prefixed(&contents, &ocsp_response) || in tls13_add_certificate() 473 !CBB_add_bytes(&ocsp_response, in tls13_add_certificate() [all …]
|
D | ssl_cert.cc | 177 ret->ocsp_response = UpRef(cert->ocsp_response); in ssl_cert_dup() 977 ctx->cert->ocsp_response.reset( in SSL_CTX_set_ocsp_response() 979 return ctx->cert->ocsp_response != nullptr; in SSL_CTX_set_ocsp_response() 987 ssl->config->cert->ocsp_response.reset( in SSL_set_ocsp_response() 989 return ssl->config->cert->ocsp_response != nullptr; in SSL_set_ocsp_response()
|
D | ssl_asn1.cc | 313 if (in->ocsp_response != nullptr) { in SSL_SESSION_to_bytes_full() 316 &child, CRYPTO_BUFFER_data(in->ocsp_response.get()), in SSL_SESSION_to_bytes_full() 317 CRYPTO_BUFFER_len(in->ocsp_response.get()))) { in SSL_SESSION_to_bytes_full() 677 !SSL_SESSION_parse_crypto_buffer(&session, &ret->ocsp_response, in SSL_SESSION_parse()
|
D | ssl_session.cc | 235 new_session->ocsp_response = UpRef(session->ocsp_response); in SSL_SESSION_dup() 954 if (session->ocsp_response) { in SSL_SESSION_get0_ocsp_response() 955 *out = CRYPTO_BUFFER_data(session->ocsp_response.get()); in SSL_SESSION_get0_ocsp_response() 956 *out_len = CRYPTO_BUFFER_len(session->ocsp_response.get()); in SSL_SESSION_get0_ocsp_response()
|
D | handshake_client.cc | 871 CBS certificate_status = msg.body, ocsp_response; in do_read_certificate_status() local 875 !CBS_get_u24_length_prefixed(&certificate_status, &ocsp_response) || in do_read_certificate_status() 876 CBS_len(&ocsp_response) == 0 || in do_read_certificate_status() 883 hs->new_session->ocsp_response.reset( in do_read_certificate_status() 884 CRYPTO_BUFFER_new_from_CBS(&ocsp_response, ssl->ctx->pool)); in do_read_certificate_status() 885 if (hs->new_session->ocsp_response == nullptr) { in do_read_certificate_status()
|
D | handshake_server.cc | 948 CBB body, ocsp_response; in do_send_server_certificate() local 952 !CBB_add_u24_length_prefixed(&body, &ocsp_response) || in do_send_server_certificate() 954 &ocsp_response, in do_send_server_certificate() 955 CRYPTO_BUFFER_data(hs->config->cert->ocsp_response.get()), in do_send_server_certificate() 956 CRYPTO_BUFFER_len(hs->config->cert->ocsp_response.get())) || in do_send_server_certificate()
|
D | handshake.cc | 327 hs->new_session->ocsp_response = UpRef(prev_session->ocsp_response); in ssl_verify_peer_cert()
|
D | ssl_lib.cc | 2149 if (ssl->server || !session || !session->ocsp_response) { in SSL_get0_ocsp_response() 2155 *out = CRYPTO_BUFFER_data(session->ocsp_response.get()); in SSL_get0_ocsp_response() 2156 *out_len = CRYPTO_BUFFER_len(session->ocsp_response.get()); in SSL_get0_ocsp_response()
|
D | internal.h | 2121 UniquePtr<CRYPTO_BUFFER> ocsp_response; 3567 bssl::UniquePtr<CRYPTO_BUFFER> ocsp_response;
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | tls13_both.cc | 263 CBS ocsp_response; in tls13_process_certificate() local 266 !CBS_get_u24_length_prefixed(&status_request, &ocsp_response) || in tls13_process_certificate() 267 CBS_len(&ocsp_response) == 0 || in tls13_process_certificate() 274 hs->new_session->ocsp_response.reset( in tls13_process_certificate() 275 CRYPTO_BUFFER_new_from_CBS(&ocsp_response, ssl->ctx->pool)); in tls13_process_certificate() 276 if (hs->new_session->ocsp_response == nullptr) { in tls13_process_certificate() 468 if (hs->ocsp_stapling_requested && cert->ocsp_response != NULL) { in tls13_add_certificate() 469 CBB contents, ocsp_response; in tls13_add_certificate() local 473 !CBB_add_u24_length_prefixed(&contents, &ocsp_response) || in tls13_add_certificate() 474 !CBB_add_bytes(&ocsp_response, in tls13_add_certificate() [all …]
|
D | ssl_cert.cc | 177 ret->ocsp_response = UpRef(cert->ocsp_response); in ssl_cert_dup() 980 ctx->cert->ocsp_response.reset( in SSL_CTX_set_ocsp_response() 982 return ctx->cert->ocsp_response != nullptr; in SSL_CTX_set_ocsp_response() 990 ssl->config->cert->ocsp_response.reset( in SSL_set_ocsp_response() 992 return ssl->config->cert->ocsp_response != nullptr; in SSL_set_ocsp_response()
|
D | ssl_asn1.cc | 306 if (in->ocsp_response != nullptr) { in SSL_SESSION_to_bytes_full() 309 &child, CRYPTO_BUFFER_data(in->ocsp_response.get()), in SSL_SESSION_to_bytes_full() 310 CRYPTO_BUFFER_len(in->ocsp_response.get()))) { in SSL_SESSION_to_bytes_full() 657 !SSL_SESSION_parse_crypto_buffer(&session, &ret->ocsp_response, in SSL_SESSION_parse()
|
D | ssl_session.cc | 236 new_session->ocsp_response = UpRef(session->ocsp_response); in SSL_SESSION_dup() 958 if (session->ocsp_response) { in SSL_SESSION_get0_ocsp_response() 959 *out = CRYPTO_BUFFER_data(session->ocsp_response.get()); in SSL_SESSION_get0_ocsp_response() 960 *out_len = CRYPTO_BUFFER_len(session->ocsp_response.get()); in SSL_SESSION_get0_ocsp_response()
|
D | handshake_client.cc | 875 CBS certificate_status = msg.body, ocsp_response; in do_read_certificate_status() local 879 !CBS_get_u24_length_prefixed(&certificate_status, &ocsp_response) || in do_read_certificate_status() 880 CBS_len(&ocsp_response) == 0 || in do_read_certificate_status() 887 hs->new_session->ocsp_response.reset( in do_read_certificate_status() 888 CRYPTO_BUFFER_new_from_CBS(&ocsp_response, ssl->ctx->pool)); in do_read_certificate_status() 889 if (hs->new_session->ocsp_response == nullptr) { in do_read_certificate_status()
|
D | handshake_server.cc | 942 CBB body, ocsp_response; in do_send_server_certificate() local 946 !CBB_add_u24_length_prefixed(&body, &ocsp_response) || in do_send_server_certificate() 948 &ocsp_response, in do_send_server_certificate() 949 CRYPTO_BUFFER_data(hs->config->cert->ocsp_response.get()), in do_send_server_certificate() 950 CRYPTO_BUFFER_len(hs->config->cert->ocsp_response.get())) || in do_send_server_certificate()
|
D | handshake.cc | 325 hs->new_session->ocsp_response = UpRef(prev_session->ocsp_response); in ssl_verify_peer_cert()
|
D | ssl_lib.cc | 2106 if (ssl->server || !session || !session->ocsp_response) { in SSL_get0_ocsp_response() 2112 *out = CRYPTO_BUFFER_data(session->ocsp_response.get()); in SSL_get0_ocsp_response() 2113 *out_len = CRYPTO_BUFFER_len(session->ocsp_response.get()); in SSL_get0_ocsp_response()
|
D | internal.h | 2078 UniquePtr<CRYPTO_BUFFER> ocsp_response; 3514 bssl::UniquePtr<CRYPTO_BUFFER> ocsp_response;
|
D | t1_lib.cc | 1015 !hs->ocsp_stapling_requested || hs->config->cert->ocsp_response == NULL || in ext_ocsp_add_serverhello()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/ |
D | test_config.cc | 194 {"-ocsp-response", &TestConfig::ocsp_response}, 387 if (!config->ocsp_response.empty() && config->set_ocsp_in_callback && in LegacyOCSPCallback() 388 !SSL_set_ocsp_response(ssl, (const uint8_t *)config->ocsp_response.data(), in LegacyOCSPCallback() 389 config->ocsp_response.size())) { in LegacyOCSPCallback() 745 if (!config->ocsp_response.empty() && !config->set_ocsp_in_callback && in GetCertificate() 746 !SSL_set_ocsp_response(ssl, (const uint8_t *)config->ocsp_response.data(), in GetCertificate() 747 config->ocsp_response.size())) { in GetCertificate()
|
D | test_config.h | 111 std::string ocsp_response; member
|
/external/boringssl/src/ssl/test/ |
D | test_config.cc | 203 {"-ocsp-response", &TestConfig::ocsp_response}, 439 if (!config->ocsp_response.empty() && config->set_ocsp_in_callback && in LegacyOCSPCallback() 440 !SSL_set_ocsp_response(ssl, (const uint8_t *)config->ocsp_response.data(), in LegacyOCSPCallback() 441 config->ocsp_response.size())) { in LegacyOCSPCallback() 810 if (!config->ocsp_response.empty() && !config->set_ocsp_in_callback && in GetCertificate() 811 !SSL_set_ocsp_response(ssl, (const uint8_t *)config->ocsp_response.data(), in GetCertificate() 812 config->ocsp_response.size())) { in GetCertificate()
|
D | test_config.h | 118 std::string ocsp_response; member
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | ocsp.py | 91 def __init__(self, backend, ocsp_response): argument 93 self._ocsp_response = ocsp_response
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 9507 static bool get_ocsp_basic_response(CBS* ocsp_response, CBS* basic_response) { in get_ocsp_basic_response() argument 9511 if (!CBS_get_asn1(ocsp_response, nullptr /* responseStatus */, CBS_ASN1_ENUMERATED) || in get_ocsp_basic_response() 9512 !CBS_get_asn1(ocsp_response, &tagged_response_bytes, in get_ocsp_basic_response() 9594 CBS ocsp_response; in NativeCrypto_get_ocsp_single_extension() local 9595 if (!CBS_get_asn1(&cbs, &ocsp_response, CBS_ASN1_SEQUENCE)) { in NativeCrypto_get_ocsp_single_extension() 9601 if (!get_ocsp_basic_response(&ocsp_response, &basic_response)) { in NativeCrypto_get_ocsp_single_extension()
|