GRPC C++  1.39.1
Public Member Functions
grpc_ssl_credentials Class Reference

#include <ssl_credentials.h>

Public Member Functions

 grpc_ssl_credentials (const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pair, const grpc_ssl_verify_peer_options *verify_options)
 
 ~grpc_ssl_credentials () override
 
grpc_core::RefCountedPtr< grpc_channel_security_connectorcreate_security_connector (grpc_core::RefCountedPtr< grpc_call_credentials > call_creds, const char *target, const grpc_channel_args *args, grpc_channel_args **new_args) override
 
void set_min_tls_version (grpc_tls_version min_tls_version)
 
void set_max_tls_version (grpc_tls_version max_tls_version)
 
- Public Member Functions inherited from grpc_channel_credentials
 grpc_channel_credentials (const char *type)
 
 ~grpc_channel_credentials () override=default
 
virtual grpc_core::RefCountedPtr< grpc_channel_credentialsduplicate_without_call_credentials ()
 
virtual grpc_channel_argsupdate_arguments (grpc_channel_args *args)
 
const char * type () const
 
- Public Member Functions inherited from grpc_core::RefCounted< grpc_channel_credentials >
 ~RefCounted ()=default
 
RefCountedPtr< grpc_channel_credentialsRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_channel_credentialsRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< grpc_channel_credentialsRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_channel_credentialsRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 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_core::RefCounted< grpc_channel_credentials >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ grpc_ssl_credentials()

grpc_ssl_credentials::grpc_ssl_credentials ( const char *  pem_root_certs,
grpc_ssl_pem_key_cert_pair pem_key_cert_pair,
const grpc_ssl_verify_peer_options verify_options 
)

◆ ~grpc_ssl_credentials()

grpc_ssl_credentials::~grpc_ssl_credentials ( )
override

Member Function Documentation

◆ create_security_connector()

grpc_core::RefCountedPtr< grpc_channel_security_connector > grpc_ssl_credentials::create_security_connector ( grpc_core::RefCountedPtr< grpc_call_credentials call_creds,
const char *  target,
const grpc_channel_args args,
grpc_channel_args **  new_args 
)
overridevirtual

◆ set_max_tls_version()

void grpc_ssl_credentials::set_max_tls_version ( grpc_tls_version  max_tls_version)

◆ set_min_tls_version()

void grpc_ssl_credentials::set_min_tls_version ( grpc_tls_version  min_tls_version)

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