|
|
|
@ -60,6 +60,12 @@ class TlsChannelSecurityConnector final |
|
|
|
|
grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, |
|
|
|
|
grpc_closure* on_peer_checked) override; |
|
|
|
|
|
|
|
|
|
void cancel_check_peer(grpc_closure* /*on_peer_checked*/, |
|
|
|
|
grpc_error* error) override { |
|
|
|
|
// TODO(ZhenLian): call verifier->cancel() once the verifier is ready.
|
|
|
|
|
GRPC_ERROR_UNREF(error); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
int cmp(const grpc_security_connector* other_sc) const override; |
|
|
|
|
|
|
|
|
|
bool check_call_host(absl::string_view host, grpc_auth_context* auth_context, |
|
|
|
@ -161,6 +167,12 @@ class TlsServerSecurityConnector final : public grpc_server_security_connector { |
|
|
|
|
grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, |
|
|
|
|
grpc_closure* on_peer_checked) override; |
|
|
|
|
|
|
|
|
|
void cancel_check_peer(grpc_closure* /*on_peer_checked*/, |
|
|
|
|
grpc_error* error) override { |
|
|
|
|
// TODO(ZhenLian): call verifier->cancel() once the verifier is ready.
|
|
|
|
|
GRPC_ERROR_UNREF(error); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
int cmp(const grpc_security_connector* other) const override; |
|
|
|
|
|
|
|
|
|
tsi_ssl_server_handshaker_factory* ServerHandshakerFactoryForTesting() { |
|
|
|
|