Home
last modified time | relevance | path

Searched refs:server_ctx (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_test.cc1638 SSL_CTX *client_ctx, SSL_CTX *server_ctx, in ConnectClientAndServer() argument
1642 bssl::UniquePtr<SSL> client(SSL_new(client_ctx)), server(SSL_new(server_ctx)); in ConnectClientAndServer()
1809 bssl::UniquePtr<SSL_CTX> server_ctx(SSL_CTX_new(TLS_method())); in TEST() local
1811 ASSERT_TRUE(server_ctx); in TEST()
1817 ASSERT_TRUE(SSL_CTX_use_certificate(server_ctx.get(), cert.get())); in TEST()
1818 ASSERT_TRUE(SSL_CTX_use_PrivateKey(server_ctx.get(), key.get())); in TEST()
1822 server_ctx.get())); in TEST()
2159 SSL_CTX *client_ctx, SSL_CTX *server_ctx, in CreateClientSession() argument
2166 if (!ConnectClientAndServer(&client, &server, client_ctx, server_ctx, in CreateClientSession()
2182 static void ExpectSessionReused(SSL_CTX *client_ctx, SSL_CTX *server_ctx, in ExpectSessionReused() argument
[all …]
/external/boringssl/src/ssl/
Dssl_test.cc1638 SSL_CTX *client_ctx, SSL_CTX *server_ctx, in ConnectClientAndServer() argument
1642 bssl::UniquePtr<SSL> client(SSL_new(client_ctx)), server(SSL_new(server_ctx)); in ConnectClientAndServer()
1809 bssl::UniquePtr<SSL_CTX> server_ctx(SSL_CTX_new(TLS_method())); in TEST() local
1811 ASSERT_TRUE(server_ctx); in TEST()
1817 ASSERT_TRUE(SSL_CTX_use_certificate(server_ctx.get(), cert.get())); in TEST()
1818 ASSERT_TRUE(SSL_CTX_use_PrivateKey(server_ctx.get(), key.get())); in TEST()
1822 server_ctx.get())); in TEST()
2159 SSL_CTX *client_ctx, SSL_CTX *server_ctx, in CreateClientSession() argument
2166 if (!ConnectClientAndServer(&client, &server, client_ctx, server_ctx, in CreateClientSession()
2182 static void ExpectSessionReused(SSL_CTX *client_ctx, SSL_CTX *server_ctx, in ExpectSessionReused() argument
[all …]
/external/grpc-grpc/src/core/lib/security/transport/
Dserver_auth_filter.cc233 grpc_server_security_context* server_ctx = in init_call_elem() local
235 server_ctx->auth_context = in init_call_elem()
241 args->context[GRPC_CONTEXT_SECURITY].value = server_ctx; in init_call_elem()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/
Dserver_auth_filter.cc61 grpc_server_security_context* server_ctx = in call_data() local
64 server_ctx->auth_context = in call_data()
70 args.context[GRPC_CONTEXT_SECURITY].value = server_ctx; in call_data()
/external/python/pyopenssl/tests/
Dtest_ssl.py2390 server_ctx = Context(SSLv23_METHOD)
2392 server_ctx.use_privatekey(
2395 server_ctx.use_certificate(
2398 server = Connection(server_ctx, None)
3458 server_ctx = Context(SSLv23_METHOD)
3459 server_ctx.set_options(OP_NO_SSLv2 | OP_NO_SSLv3 | OP_SINGLE_DH_USE)
3460 server_ctx.set_verify(
3464 server_store = server_ctx.get_cert_store()
3465 server_ctx.use_privatekey(
3468 server_ctx.use_certificate(
[all …]
/external/python/cpython3/Lib/test/
Dtest_ssl.py1883 client_ctx, server_ctx, hostname = testing_context()
1889 server = server_ctx.wrap_bio(s_in, s_out, server_side=True)