Home
last modified time | relevance | path

Searched refs:grpc_auth_context (Results 1 – 25 of 40) sorted by relevance

12

/external/grpc-grpc/src/core/lib/security/context/
Dsecurity_context.h43 struct grpc_auth_context { struct
44 struct grpc_auth_context* chained; argument
52 grpc_auth_context* grpc_auth_context_create(grpc_auth_context* chained); argument
60 grpc_auth_context* grpc_auth_context_ref(grpc_auth_context* policy,
63 void grpc_auth_context_unref(grpc_auth_context* policy, const char* file,
68 grpc_auth_context* grpc_auth_context_ref(grpc_auth_context* policy);
69 void grpc_auth_context_unref(grpc_auth_context* policy);
90 grpc_auth_context* auth_context;
103 grpc_auth_context* auth_context;
114 grpc_arg grpc_auth_context_to_arg(grpc_auth_context* c);
[all …]
Dsecurity_context.cc65 grpc_auth_context* grpc_call_auth_context(grpc_call* call) { in grpc_call_auth_context()
78 void grpc_auth_context_release(grpc_auth_context* context) { in grpc_auth_context_release()
122 grpc_auth_context* grpc_auth_context_create(grpc_auth_context* chained) { in grpc_auth_context_create()
123 grpc_auth_context* ctx = in grpc_auth_context_create()
124 static_cast<grpc_auth_context*>(gpr_zalloc(sizeof(grpc_auth_context))); in grpc_auth_context_create()
135 grpc_auth_context* grpc_auth_context_ref(grpc_auth_context* ctx,
146 grpc_auth_context* grpc_auth_context_ref(grpc_auth_context* ctx) {
154 void grpc_auth_context_unref(grpc_auth_context* ctx, const char* file, int line,
164 void grpc_auth_context_unref(grpc_auth_context* ctx) {
181 const grpc_auth_context* ctx) {
[all …]
/external/grpc-grpc/include/grpc/
Dgrpc_security.h34 typedef struct grpc_auth_context grpc_auth_context; typedef
37 const grpc_auth_context* ctx;
55 grpc_auth_context_property_iterator(const grpc_auth_context* ctx);
60 grpc_auth_context_peer_identity(const grpc_auth_context* ctx);
65 const grpc_auth_context* ctx, const char* name);
70 const grpc_auth_context* ctx);
74 const grpc_auth_context* ctx);
78 GRPCAPI grpc_auth_context* grpc_call_auth_context(grpc_call* call);
81 GRPCAPI void grpc_auth_context_release(grpc_auth_context* context);
89 GRPCAPI void grpc_auth_context_add_property(grpc_auth_context* ctx,
[all …]
/external/grpc-grpc/test/core/security/
Dalts_security_connector_test.cc37 grpc_auth_context* ctx; in test_invalid_input_failure()
46 grpc_auth_context* ctx = nullptr; in test_empty_certificate_type_failure()
56 grpc_auth_context* ctx; in test_empty_peer_property_failure()
69 grpc_auth_context* ctx; in test_missing_rpc_protocol_versions_property_failure()
85 grpc_auth_context* ctx; in test_unknown_peer_property_failure()
98 static bool test_identity(const grpc_auth_context* ctx, in test_identity()
122 grpc_auth_context* ctx; in test_alts_peer_to_auth_context_success()
Dsecurity_connector_test.cc37 static int check_transport_security_type(const grpc_auth_context* ctx) { in check_transport_security_type()
85 grpc_auth_context* ctx; in test_unauthenticated_ssl_peer()
103 static int check_identity(const grpc_auth_context* ctx, in check_identity()
133 static int check_x509_cn(const grpc_auth_context* ctx, in check_x509_cn()
153 static int check_x509_pem_cert(const grpc_auth_context* ctx, in check_x509_pem_cert()
177 grpc_auth_context* ctx; in test_cn_only_ssl_peer_to_auth_context()
209 grpc_auth_context* ctx; in test_cn_and_one_san_ssl_peer_to_auth_context()
246 grpc_auth_context* ctx; in test_cn_and_multiple_sans_ssl_peer_to_auth_context()
288 grpc_auth_context* ctx; in test_cn_and_multiple_sans_and_others_ssl_peer_to_auth_context()
Dauth_context_test.cc28 grpc_auth_context* ctx = grpc_auth_context_create(nullptr); in test_empty_context()
47 grpc_auth_context* ctx = grpc_auth_context_create(nullptr); in test_simple_context()
85 grpc_auth_context* chained = grpc_auth_context_create(nullptr); in test_chained_context()
86 grpc_auth_context* ctx = grpc_auth_context_create(chained); in test_chained_context()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.h57 grpc_auth_context** auth_context,
92 grpc_auth_context** auth_context,
121 grpc_auth_context* auth_context,
141 grpc_auth_context* auth_context, grpc_closure* on_call_host_checked,
243 grpc_auth_context* grpc_ssl_peer_to_auth_context(const tsi_peer* peer);
245 const grpc_auth_context* auth_context);
Dsecurity_connector.cc139 grpc_auth_context** auth_context, in grpc_security_connector_check_peer()
186 grpc_auth_context* auth_context, grpc_closure* on_call_host_checked, in grpc_channel_security_connector_check_call_host()
399 grpc_auth_context** auth_context,
435 grpc_auth_context** auth_context,
444 grpc_auth_context** auth_context,
477 grpc_auth_context* auth_context,
819 grpc_auth_context* grpc_ssl_peer_to_auth_context(const tsi_peer* peer) {
821 grpc_auth_context* ctx = nullptr;
862 grpc_auth_context** auth_context) {
889 grpc_auth_context** auth_context,
[all …]
Dlocal_security_connector.cc110 static grpc_security_status local_auth_context_create(grpc_auth_context** ctx) { in local_auth_context_create()
126 grpc_auth_context** auth_context, in local_check_peer()
150 grpc_auth_context* auth_context, in local_check_call_host()
Dalts_security_connector.cc108 const tsi_peer* peer, grpc_auth_context** ctx) { in grpc_alts_auth_context_from_tsi_peer()
179 grpc_auth_context** auth_context, in alts_check_peer()
221 grpc_auth_context* auth_context, in alts_check_call_host()
Dalts_security_connector.h63 const tsi_peer* peer, grpc_auth_context** ctx);
/external/grpc-grpc/src/cpp/common/
Dsecure_auth_context.h24 struct grpc_auth_context;
30 SecureAuthContext(grpc_auth_context* ctx, bool take_ownership);
53 grpc_auth_context* ctx_;
/external/grpc-grpc/src/cpp/server/
Dsecure_server_credentials.h36 static void Process(void* wrapper, grpc_auth_context* context,
45 void InvokeProcessor(grpc_auth_context* context, const grpc_metadata* md,
Dsecure_server_credentials.cc37 void* wrapper, grpc_auth_context* context, const grpc_metadata* md, in Process()
56 grpc_auth_context* ctx, const grpc_metadata* md, size_t num_md, in InvokeProcessor()
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dsecurity.pyx.pxi35 cdef grpc_auth_context* auth_context
54 cdef grpc_auth_context* auth_context
68 cdef grpc_auth_context* auth_context
Dgrpc.pxi513 ctypedef struct grpc_auth_context:
520 const grpc_auth_context *channel_auth_context
552 const grpc_auth_context *ctx)
555 const grpc_auth_context *ctx)
558 const grpc_auth_context *ctx)
561 const grpc_auth_context *ctx, const char *name)
564 const grpc_auth_context *ctx)
566 grpc_auth_context *grpc_call_auth_context(grpc_call *call)
568 void grpc_auth_context_release(grpc_auth_context *context)
/external/grpc-grpc/include/grpcpp/impl/codegen/security/
Dauth_context.h28 struct grpc_auth_context;
56 const grpc_auth_context* ctx_;
/external/grpc-grpc/test/cpp/common/
Dsecure_auth_context_test.cc45 grpc_auth_context* ctx = grpc_auth_context_create(nullptr); in TEST_F()
63 grpc_auth_context* ctx = grpc_auth_context_create(nullptr); in TEST_F()
Dauth_property_iterator_test.cc51 grpc_auth_context* ctx_;
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h290 …pc_auth_property_iterator(*grpc_auth_context_property_iterator_type)(const grpc_auth_context* ctx);
293 typedef grpc_auth_property_iterator(*grpc_auth_context_peer_identity_type)(const grpc_auth_context*…
296 …rty_iterator(*grpc_auth_context_find_properties_by_name_type)(const grpc_auth_context* ctx, const …
299 typedef const char*(*grpc_auth_context_peer_identity_property_name_type)(const grpc_auth_context* c…
302 typedef int(*grpc_auth_context_peer_is_authenticated_type)(const grpc_auth_context* ctx);
305 typedef grpc_auth_context*(*grpc_call_auth_context_type)(grpc_call* call);
308 typedef void(*grpc_auth_context_release_type)(grpc_auth_context* context);
311 typedef void(*grpc_auth_context_add_property_type)(grpc_auth_context* ctx, const char* name, const …
314 typedef void(*grpc_auth_context_add_cstring_property_type)(grpc_auth_context* ctx, const char* name…
317 typedef int(*grpc_auth_context_set_peer_identity_property_name_type)(grpc_auth_context* ctx, const …
/external/grpc-grpc/src/core/lib/security/transport/
Dclient_auth_filter.cc67 grpc_auth_context* auth_context;
82 (grpc_auth_context*)auth_md_context->channel_auth_context, in grpc_auth_metadata_context_reset()
128 grpc_auth_context* auth_context, in grpc_auth_metadata_context_build()
372 grpc_auth_context* auth_context = in init_channel_elem()
Dauth_filters.h32 grpc_auth_context* auth_context,
/external/grpc-grpc/test/core/end2end/fixtures/
Dh2_oauth2.cc60 static void process_oauth2_success(void* state, grpc_auth_context* ctx, in process_oauth2_success()
79 static void process_oauth2_failure(void* state, grpc_auth_context* ctx, in process_oauth2_failure()
/external/grpc-grpc/src/cpp/ext/filters/census/
Dserver_filter.h79 grpc_auth_context* auth_context_;
/external/grpc-grpc/test/core/end2end/tests/
Dcall_creds.cc107 static void print_auth_context(int is_client, const grpc_auth_context* ctx) { in print_auth_context()
152 grpc_auth_context* s_auth_context = nullptr; in request_response_with_payload_and_call_creds()
153 grpc_auth_context* c_auth_context = nullptr; in request_response_with_payload_and_call_creds()

12