GRPC C++  1.62.0
Data Fields
grpc::SslCredentialsOptions Struct Reference

Options used to build SslCredentials. More...

#include <credentials.h>

Data Fields

grpc::string pem_root_certs
 The buffer containing the PEM encoding of the server root certificates. More...
 
grpc::string pem_private_key
 The buffer containing the PEM encoding of the client's private key. More...
 
grpc::string pem_cert_chain
 The buffer containing the PEM encoding of the client's certificate chain. More...
 

Detailed Description

Options used to build SslCredentials.

Field Documentation

◆ pem_cert_chain

grpc::string grpc::SslCredentialsOptions::pem_cert_chain

The buffer containing the PEM encoding of the client's certificate chain.

This parameter can be empty if the client does not have a certificate chain.

◆ pem_private_key

grpc::string grpc::SslCredentialsOptions::pem_private_key

The buffer containing the PEM encoding of the client's private key.

This parameter can be empty if the client does not have a private key.

◆ pem_root_certs

grpc::string grpc::SslCredentialsOptions::pem_root_certs

The buffer containing the PEM encoding of the server root certificates.

If this parameter is empty, the default roots will be used. The default roots can be overridden using the GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment variable pointing to a file on the file system containing the roots.


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