GRPC C++  1.30.0
Data Structures | Public Member Functions | Data Fields
grpc::SslServerCredentialsOptions Struct Reference

Options to create ServerCredentials with SSL. More...

#include <server_credentials.h>

Data Structures

struct  PemKeyCertPair
 

Public Member Functions

 SslServerCredentialsOptions ()
 
 SslServerCredentialsOptions (grpc_ssl_client_certificate_request_type request_type)
 

Data Fields

grpc::string pem_root_certs
 
std::vector< PemKeyCertPairpem_key_cert_pairs
 
bool force_client_auth
 
grpc_ssl_client_certificate_request_type client_certificate_request
 If both force_client_auth and client_certificate_request fields are set, force_client_auth takes effect, i.e. More...
 

Detailed Description

Options to create ServerCredentials with SSL.

Constructor & Destructor Documentation

◆ SslServerCredentialsOptions() [1/2]

grpc::SslServerCredentialsOptions::SslServerCredentialsOptions ( )
inline
Warning
Deprecated

◆ SslServerCredentialsOptions() [2/2]

grpc::SslServerCredentialsOptions::SslServerCredentialsOptions ( grpc_ssl_client_certificate_request_type  request_type)
inline

Field Documentation

◆ client_certificate_request

grpc_ssl_client_certificate_request_type grpc::SslServerCredentialsOptions::client_certificate_request

If both force_client_auth and client_certificate_request fields are set, force_client_auth takes effect, i.e.

REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY will be enforced.

◆ force_client_auth

bool grpc::SslServerCredentialsOptions::force_client_auth
Warning
Deprecated

◆ pem_key_cert_pairs

std::vector<PemKeyCertPair> grpc::SslServerCredentialsOptions::pem_key_cert_pairs

◆ pem_root_certs

grpc::string grpc::SslServerCredentialsOptions::pem_root_certs

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