/external/grpc-grpc/src/core/lib/security/context/ |
D | security_context.h | 43 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 …]
|
D | security_context.cc | 65 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/rust/crates/grpcio-sys/grpc/src/core/lib/security/context/ |
D | security_context.h | 49 struct grpc_auth_context struct 50 : public grpc_core::RefCounted<grpc_auth_context, 53 explicit grpc_auth_context( in grpc_auth_context() function 54 grpc_core::RefCountedPtr<grpc_auth_context> chained) in grpc_auth_context() 55 : grpc_core::RefCounted<grpc_auth_context, in grpc_auth_context() 66 ~grpc_auth_context() { in ~grpc_auth_context() argument 76 const grpc_auth_context* chained() const { return chained_.get(); } in chained() argument 94 grpc_core::RefCountedPtr<grpc_auth_context> chained_; argument 120 grpc_core::RefCountedPtr<grpc_auth_context> auth_context; 136 grpc_core::RefCountedPtr<grpc_auth_context> auth_context; [all …]
|
D | security_context.cc | 65 grpc_auth_context* grpc_call_auth_context(grpc_call* call) { in grpc_call_auth_context() 90 void grpc_auth_context_release(grpc_auth_context* context) { in grpc_auth_context_release() 141 const grpc_auth_context* ctx) { in grpc_auth_context_peer_identity_property_name() 147 int grpc_auth_context_set_peer_identity_property_name(grpc_auth_context* ctx, in grpc_auth_context_set_peer_identity_property_name() 164 int grpc_auth_context_peer_is_authenticated(const grpc_auth_context* ctx) { in grpc_auth_context_peer_is_authenticated() 170 const grpc_auth_context* ctx) { in grpc_auth_context_property_iterator() 204 const grpc_auth_context* ctx, const char* name) { in grpc_auth_context_find_properties_by_name() 215 const grpc_auth_context* ctx) { in grpc_auth_context_peer_identity() 222 void grpc_auth_context::ensure_capacity() { in ensure_capacity() 231 void grpc_auth_context::add_property(const char* name, const char* value, in add_property() [all …]
|
/external/grpc-grpc/include/grpc/ |
D | grpc_security.h | 34 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/rust/crates/grpcio-sys/grpc/include/grpc/ |
D | grpc_security.h | 34 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/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/ |
D | grpc_security.h | 34 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/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | auth_context_test.cc | 29 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_empty_context() 30 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in test_empty_context() 51 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_simple_context() 52 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in test_simple_context() 90 grpc_core::RefCountedPtr<grpc_auth_context> chained = in test_chained_context() 91 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in test_chained_context() 92 grpc_auth_context* chained_ptr = chained.get(); in test_chained_context() 93 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_chained_context() 94 grpc_core::MakeRefCounted<grpc_auth_context>(std::move(chained)); in test_chained_context()
|
D | alts_security_connector_test.cc | 36 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_invalid_input_failure() 44 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_empty_certificate_type_failure() 56 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_empty_peer_property_failure() 71 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_missing_rpc_protocol_versions_property_failure() 103 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_missing_security_level_property_failure() 118 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_unknown_peer_property_failure() 124 static bool test_identity(const grpc_auth_context* ctx, in test_identity() 183 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_alts_peer_to_auth_context_success()
|
D | security_connector_test.cc | 42 static int check_transport_security_type(const grpc_auth_context* ctx) { in check_transport_security_type() 119 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_unauthenticated_ssl_peer() 133 static int check_identity(const grpc_auth_context* ctx, in check_identity() 163 static int check_x509_cn(const grpc_auth_context* ctx, in check_x509_cn() 183 static int check_x509_pem_cert(const grpc_auth_context* ctx, in check_x509_pem_cert() 204 static int check_x509_pem_cert_chain(const grpc_auth_context* ctx, in check_x509_pem_cert_chain() 225 static int check_spiffe_id(const grpc_auth_context* ctx, in check_spiffe_id() 277 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_cn_only_ssl_peer_to_auth_context() 323 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_cn_and_one_san_ssl_peer_to_auth_context() 373 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in test_cn_and_multiple_sans_ssl_peer_to_auth_context() [all …]
|
D | evaluate_args_test.cc | 181 grpc_auth_context auth_context(nullptr); in TEST() 188 grpc_auth_context auth_context(nullptr); in TEST() 196 grpc_auth_context auth_context(nullptr); in TEST() 204 grpc_auth_context auth_context(nullptr); in TEST() 212 grpc_auth_context auth_context(nullptr); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/insecure/ |
D | insecure_security_connector.cc | 33 RefCountedPtr<grpc_auth_context> MakeAuthContext() { in MakeAuthContext() 34 auto ctx = MakeRefCounted<grpc_auth_context>(nullptr); in MakeAuthContext() 47 RefCountedPtr<grpc_auth_context> TestOnlyMakeInsecureAuthContext() { in TestOnlyMakeInsecureAuthContext() 54 absl::string_view host, grpc_auth_context* auth_context, in check_call_host() 80 RefCountedPtr<grpc_auth_context>* auth_context, in check_peer() 108 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in check_peer()
|
D | insecure_security_connector.h | 36 RefCountedPtr<grpc_auth_context> TestOnlyMakeInsecureAuthContext(); 48 bool check_call_host(absl::string_view host, grpc_auth_context* auth_context, 60 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, 78 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context,
|
/external/grpc-grpc/test/core/security/ |
D | alts_security_connector_test.cc | 37 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()
|
D | security_connector_test.cc | 37 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()
|
D | auth_context_test.cc | 28 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/ |
D | security_connector.h | 57 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);
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/local/ |
D | local_security_connector.cc | 49 grpc_core::RefCountedPtr<grpc_auth_context> local_auth_context_create( in local_auth_context_create() 52 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in local_auth_context_create() 53 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in local_auth_context_create() 70 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in local_check_peer() 176 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in check_peer() 185 grpc_auth_context* /*auth_context*/, in check_call_host() argument 225 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in check_peer()
|
/external/grpc-grpc/src/cpp/common/ |
D | secure_auth_context.h | 24 struct grpc_auth_context; 30 SecureAuthContext(grpc_auth_context* ctx, bool take_ownership); 53 grpc_auth_context* ctx_;
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/alts/ |
D | alts_security_connector.cc | 52 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in alts_check_peer() 101 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in check_peer() 115 grpc_auth_context* /*auth_context*/, in check_call_host() argument 166 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in check_peer() 180 grpc_core::RefCountedPtr<grpc_auth_context> 236 auto ctx = grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in grpc_alts_auth_context_from_tsi_peer()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/fake/ |
D | fake_security_connector.cc | 79 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, 106 grpc_auth_context* /*auth_context*/, in check_call_host() argument 214 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in fake_check_peer() 255 *auth_context = grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in fake_check_peer() 269 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in check_peer() 285 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in check_peer()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/ |
D | evaluate_args.h | 34 EvaluateArgs(grpc_metadata_batch* metadata, grpc_auth_context* auth_context, in EvaluateArgs() 53 grpc_auth_context* auth_context_;
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/ |
D | secure_auth_context.h | 31 explicit SecureAuthContext(grpc_auth_context* ctx) in SecureAuthContext() 55 grpc_core::RefCountedPtr<grpc_auth_context> ctx_;
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ |
D | ssl_utils.h | 61 grpc_auth_context* auth_context, 104 grpc_core::RefCountedPtr<grpc_auth_context> grpc_ssl_peer_to_auth_context( 107 const grpc_auth_context* auth_context);
|
/external/grpc-grpc/src/cpp/server/ |
D | secure_server_credentials.h | 36 static void Process(void* wrapper, grpc_auth_context* context, 45 void InvokeProcessor(grpc_auth_context* context, const grpc_metadata* md,
|