Home
last modified time | relevance | path

Searched refs:key_cert (Results 1 – 5 of 5) sorted by relevance

/third_party/grpc/src/ruby/ext/grpc/
Drb_server_credentials.c136 VALUE key_cert = Qnil; in grpc_rb_server_credentials_init() local
159 key_cert = rb_ary_entry(pem_key_certs, i); in grpc_rb_server_credentials_init()
160 if (key_cert == Qnil) { in grpc_rb_server_credentials_init()
164 } else if (TYPE(key_cert) != T_HASH) { in grpc_rb_server_credentials_init()
167 rb_obj_classname(key_cert)); in grpc_rb_server_credentials_init()
169 } else if (rb_hash_aref(key_cert, sym_private_key) == Qnil) { in grpc_rb_server_credentials_init()
173 } else if (rb_hash_aref(key_cert, sym_cert_chain) == Qnil) { in grpc_rb_server_credentials_init()
185 key_cert = rb_ary_entry(pem_key_certs, i); in grpc_rb_server_credentials_init()
186 key = rb_hash_aref(key_cert, sym_private_key); in grpc_rb_server_credentials_init()
187 cert = rb_hash_aref(key_cert, sym_cert_chain); in grpc_rb_server_credentials_init()
/third_party/mbedtls/library/
Dssl_misc.h644 mbedtls_ssl_key_cert *key_cert; /*!< chosen key/cert pair (server) */ member
1305 mbedtls_ssl_key_cert *key_cert; in mbedtls_ssl_own_key() local
1307 … if( ssl->MBEDTLS_PRIVATE(handshake) != NULL && ssl->MBEDTLS_PRIVATE(handshake)->key_cert != NULL ) in mbedtls_ssl_own_key()
1308 key_cert = ssl->MBEDTLS_PRIVATE(handshake)->key_cert; in mbedtls_ssl_own_key()
1310 key_cert = ssl->MBEDTLS_PRIVATE(conf)->MBEDTLS_PRIVATE(key_cert); in mbedtls_ssl_own_key()
1312 return( key_cert == NULL ? NULL : key_cert->key ); in mbedtls_ssl_own_key()
1317 mbedtls_ssl_key_cert *key_cert; in mbedtls_ssl_own_cert() local
1319 … if( ssl->MBEDTLS_PRIVATE(handshake) != NULL && ssl->MBEDTLS_PRIVATE(handshake)->key_cert != NULL ) in mbedtls_ssl_own_cert()
1320 key_cert = ssl->MBEDTLS_PRIVATE(handshake)->key_cert; in mbedtls_ssl_own_cert()
1322 key_cert = ssl->MBEDTLS_PRIVATE(conf)->MBEDTLS_PRIVATE(key_cert); in mbedtls_ssl_own_cert()
[all …]
Dssl_srv.c921 list = ssl->conf->key_cert; in ssl_pick_cert()
998 ssl->handshake->key_cert = cur; in ssl_pick_cert()
1000 ssl->handshake->key_cert->cert ); in ssl_pick_cert()
Dssl_tls.c3653 return( ssl_append_key_cert( &conf->key_cert, own_cert, pk_key ) ); in mbedtls_ssl_conf_own_cert()
5459 static void ssl_key_cert_free( mbedtls_ssl_key_cert *key_cert ) in ssl_key_cert_free() argument
5461 mbedtls_ssl_key_cert *cur = key_cert, *next; in ssl_key_cert_free()
6638 ssl_key_cert_free( conf->key_cert ); in mbedtls_ssl_config_free()
/third_party/mbedtls/include/mbedtls/
Dssl.h1342 mbedtls_ssl_key_cert *MBEDTLS_PRIVATE(key_cert); /*!< own certificate/key pair(s) */