GRPC Core  9.0.0
Public Member Functions
grpc_httpcli_ssl_channel_security_connector Class Referencefinal

Public Member Functions

 grpc_httpcli_ssl_channel_security_connector (char *secure_peer_name)
 
 ~grpc_httpcli_ssl_channel_security_connector () override
 
tsi_result InitHandshakerFactory (const char *pem_root_certs, const tsi_ssl_root_certs_store *root_store)
 
void add_handshakers (const grpc_channel_args *args, grpc_pollset_set *, grpc_core::HandshakeManager *handshake_mgr) override
 Registers handshakers with handshake_mgr. More...
 
tsi_ssl_client_handshaker_factoryhandshaker_factory () const
 
void check_peer (tsi_peer peer, grpc_endpoint *, grpc_core::RefCountedPtr< grpc_auth_context > *, grpc_closure *on_peer_checked) override
 
int cmp (const grpc_security_connector *other_sc) const override
 
bool check_call_host (grpc_core::StringView, grpc_auth_context *, grpc_closure *, grpc_error **error) override
 Checks that the host that will be set for a call is acceptable. More...
 
void cancel_check_call_host (grpc_closure *, grpc_error *error) override
 Cancels a pending asynchronous call to grpc_channel_security_connector_check_call_host() with on_call_host_checked as its callback. More...
 
const char * secure_peer_name () const
 
- Public Member Functions inherited from grpc_channel_security_connector
 grpc_channel_security_connector (const char *url_scheme, grpc_core::RefCountedPtr< grpc_channel_credentials > channel_creds, grpc_core::RefCountedPtr< grpc_call_credentials > request_metadata_creds)
 
 ~grpc_channel_security_connector () override
 
const grpc_channel_credentialschannel_creds () const
 
grpc_channel_credentialsmutable_channel_creds ()
 
const grpc_call_credentialsrequest_metadata_creds () const
 
grpc_call_credentialsmutable_request_metadata_creds ()
 
- Public Member Functions inherited from grpc_security_connector
 grpc_security_connector (const char *url_scheme)
 
virtual ~grpc_security_connector ()=default
 
const char * url_scheme () const
 
- Public Member Functions inherited from grpc_core::RefCounted< grpc_security_connector >
 ~RefCounted ()=default
 
RefCountedPtr< grpc_security_connectorRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_security_connectorRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
bool RefIfNonZero ()
 
bool RefIfNonZero (const DebugLocation &location, const char *reason)
 
 RefCounted (const RefCounted &)=delete
 
RefCountedoperator= (const RefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_channel_security_connector
int channel_security_connector_cmp (const grpc_channel_security_connector *other) const
 
- Protected Member Functions inherited from grpc_core::RefCounted< grpc_security_connector >
 RefCounted (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ grpc_httpcli_ssl_channel_security_connector()

grpc_httpcli_ssl_channel_security_connector::grpc_httpcli_ssl_channel_security_connector ( char *  secure_peer_name)
inline

◆ ~grpc_httpcli_ssl_channel_security_connector()

grpc_httpcli_ssl_channel_security_connector::~grpc_httpcli_ssl_channel_security_connector ( )
inlineoverride

Member Function Documentation

◆ add_handshakers()

void grpc_httpcli_ssl_channel_security_connector::add_handshakers ( const grpc_channel_args args,
grpc_pollset_set interested_parties,
grpc_core::HandshakeManager handshake_mgr 
)
inlineoverridevirtual

Registers handshakers with handshake_mgr.

Implements grpc_channel_security_connector.

◆ cancel_check_call_host()

void grpc_httpcli_ssl_channel_security_connector::cancel_check_call_host ( grpc_closure on_call_host_checked,
grpc_error error 
)
inlineoverridevirtual

Cancels a pending asynchronous call to grpc_channel_security_connector_check_call_host() with on_call_host_checked as its callback.

Implements grpc_channel_security_connector.

◆ check_call_host()

bool grpc_httpcli_ssl_channel_security_connector::check_call_host ( grpc_core::StringView  host,
grpc_auth_context auth_context,
grpc_closure on_call_host_checked,
grpc_error **  error 
)
inlineoverridevirtual

Checks that the host that will be set for a call is acceptable.

Returns true if completed synchronously, in which case error will be set to indicate the result. Otherwise, on_call_host_checked will be invoked when complete.

Implements grpc_channel_security_connector.

◆ check_peer()

void grpc_httpcli_ssl_channel_security_connector::check_peer ( tsi_peer  peer,
grpc_endpoint ,
grpc_core::RefCountedPtr< grpc_auth_context > *  ,
grpc_closure on_peer_checked 
)
inlineoverridevirtual

◆ cmp()

int grpc_httpcli_ssl_channel_security_connector::cmp ( const grpc_security_connector other_sc) const
inlineoverridevirtual

◆ handshaker_factory()

tsi_ssl_client_handshaker_factory* grpc_httpcli_ssl_channel_security_connector::handshaker_factory ( ) const
inline

◆ InitHandshakerFactory()

tsi_result grpc_httpcli_ssl_channel_security_connector::InitHandshakerFactory ( const char *  pem_root_certs,
const tsi_ssl_root_certs_store root_store 
)
inline

◆ secure_peer_name()

const char* grpc_httpcli_ssl_channel_security_connector::secure_peer_name ( ) const
inline

The documentation for this class was generated from the following file: