Home
last modified time | relevance | path

Searched refs:x509_method (Results 1 – 13 of 13) sorted by relevance

/external/boringssl/src/ssl/
Dssl_cert.cc139 : x509_method(x509_method_arg) {} in CERT()
143 x509_method->cert_free(this); in ~CERT()
152 UniquePtr<CERT> ret = MakeUnique<CERT>(cert->x509_method); in ssl_cert_dup()
175 ret->x509_method->cert_dup(ret.get(), cert); in ssl_cert_dup()
202 cert->x509_method->cert_clear(cert); in ssl_cert_clear_certs()
320 cert->x509_method->cert_flush_cached_leaf(cert); in ssl_set_cert()
658 if (!ssl->ctx->x509_method->check_client_CA_list(ret.get())) { in ssl_parse_client_CA_list()
736 if (!ssl->ctx->x509_method->ssl_auto_chain_if_needed(hs)) { in ssl_on_certificate_selected()
993 ctx->x509_method->ssl_ctx_flush_cached_client_CA(ctx); in SSL_CTX_set0_client_CAs()
1001 ssl->ctx->x509_method->ssl_flush_cached_client_CA(ssl->config.get()); in SSL_set0_client_CAs()
Dssl_session.cc168 UniquePtr<SSL_SESSION> ssl_session_new(const SSL_X509_METHOD *x509_method) { in ssl_session_new() argument
169 return MakeUnique<SSL_SESSION>(x509_method); in ssl_session_new()
193 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
228 if (!session->x509_method->session_dup(new_session.get(), session)) { in SSL_SESSION_dup()
352 UniquePtr<SSL_SESSION> session = ssl_session_new(ssl->ctx->x509_method); in ssl_get_new_session()
846 : x509_method(method), in ssl_session_st()
858 x509_method->session_clear(this); in ~ssl_session_st()
862 return ssl_session_new(ctx->x509_method).release(); in SSL_SESSION_new()
Dssl_x509.cc164 assert(ssl == NULL || ssl->ctx->x509_method == &ssl_crypto_x509_method); in check_ssl_x509_method()
170 assert(ctx == NULL || ctx->x509_method == &ssl_crypto_x509_method); in check_ssl_ctx_x509_method()
762 assert(cert->x509_method); in ssl_cert_cache_leaf_cert()
822 assert(cert->x509_method); in ssl_cert_append_cert()
938 assert(cert->x509_method); in ssl_cert_cache_chain_certs()
1077 ssl->ctx->x509_method->ssl_flush_cached_client_CA(ssl->config.get()); in SSL_set_client_CA_list()
1084 ctx->x509_method->ssl_ctx_flush_cached_client_CA(ctx); in SSL_CTX_set_client_CA_list()
Dssl_asn1.cc514 const SSL_X509_METHOD *x509_method, in SSL_SESSION_parse() argument
516 UniquePtr<SSL_SESSION> ret = ssl_session_new(x509_method); in SSL_SESSION_parse()
735 if (!x509_method->session_cache_objects(ret.get())) { in SSL_SESSION_parse()
819 SSL_SESSION_parse(&cbs, ctx->x509_method, ctx->pool); in SSL_SESSION_from_bytes()
Dinternal.h1876 explicit CERT(const SSL_X509_METHOD *x509_method);
1910 const SSL_X509_METHOD *x509_method = nullptr;
2600 UniquePtr<SSL_SESSION> ssl_session_new(const SSL_X509_METHOD *x509_method);
2609 CBS *cbs, const SSL_X509_METHOD *x509_method, CRYPTO_BUFFER_POOL *pool);
2876 const bssl::SSL_X509_METHOD *x509_method;
2885 const bssl::SSL_X509_METHOD *x509_method = nullptr;
3305 const bssl::SSL_X509_METHOD *x509_method = nullptr;
Dssl_lib.cc559 x509_method(ssl_method->x509_method), in ssl_ctx_st()
587 x509_method->ssl_ctx_free(this); in ~ssl_ctx_st()
601 ret->cert = MakeUnique<CERT>(method->x509_method); in SSL_CTX_new()
607 !ret->x509_method->ssl_ctx_new(ret.get())) { in SSL_CTX_new()
720 !ssl->ctx->x509_method->ssl_new(ssl->s3->hs.get())) { in SSL_new()
743 ssl->ctx->x509_method->ssl_config_free(this); in ~SSL_CONFIG()
2415 if (ssl->ctx->x509_method != ctx->x509_method) { in SSL_set_SSL_CTX()
Dhandshake.cc157 ssl->ctx->x509_method->hs_flush_cached_ca_names(this); in ~SSL_HANDSHAKE()
347 ret = ssl->ctx->x509_method->session_verify_cert_chain( in ssl_verify_peer_cert()
Dhandoff.cc361 SSL_SESSION_parse(&seq, ssl->ctx->x509_method, ssl->ctx->pool); in SSL_apply_handback()
365 SSL_SESSION_parse(&seq, ssl->ctx->x509_method, ssl->ctx->pool); in SSL_apply_handback()
Dhandshake_server.cc1101 !ssl->ctx->x509_method->session_cache_objects(hs->new_session.get())) { in do_read_client_certificate()
1599 ssl->ctx->x509_method->session_clear(hs->new_session.get()); in do_finish_server_handshake()
Dhandshake_client.cc815 !ssl->ctx->x509_method->session_cache_objects(hs->new_session.get())) { in do_read_server_certificate()
1167 ssl->ctx->x509_method->hs_flush_cached_ca_names(hs); in do_read_certificate_request()
Dtls13_both.cc316 if (!ssl->ctx->x509_method->session_cache_objects(hs->new_session.get())) { in tls13_process_certificate()
Dtls13_client.cc531 ssl->ctx->x509_method->hs_flush_cached_ca_names(hs); in do_read_certificate_request()
/external/boringssl/src/ssl/test/
Dtest_state.cc121 SSL_SESSION_parse(&sessions, ctx->x509_method, ctx->pool); in DeserializeContextState()
161 &pending_session, ctx->x509_method, ctx->pool); in Deserialize()