Go to the documentation of this file.
19 #ifndef GRPCPP_SECURITY_TLS_CREDENTIALS_OPTIONS_H
20 #define GRPCPP_SECURITY_TLS_CREDENTIALS_OPTIONS_H
35 namespace experimental {
57 std::shared_ptr<CertificateProviderInterface> certificate_provider);
93 const std::string& tls_session_key_log_file_path);
97 std::shared_ptr<CertificateVerifier> certificate_verifier);
140 return c_credentials_options_;
144 std::shared_ptr<CertificateProviderInterface> certificate_provider_;
145 std::shared_ptr<CertificateVerifier> certificate_verifier_;
171 std::shared_ptr<CertificateProviderInterface> certificate_provider)
200 #endif // GRPCPP_SECURITY_TLS_CREDENTIALS_OPTIONS_H
void set_cert_request_type(grpc_ssl_client_certificate_request_type cert_request_type)
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
void set_check_call_host(bool check_call_host)
TlsServerCredentialsOptions(std::shared_ptr< CertificateProviderInterface > certificate_provider)
Definition: tls_credentials_options.h:170
void set_crl_provider(std::shared_ptr< CrlProvider > crl_provider)
void set_root_cert_name(const std::string &root_cert_name)
void set_certificate_provider(std::shared_ptr< CertificateProviderInterface > certificate_provider)
grpc_tls_credentials_options * c_credentials_options() const
Definition: tls_credentials_options.h:155
void set_max_tls_version(grpc_tls_version tls_version)
grpc_tls_credentials_options * mutable_c_credentials_options()
Definition: tls_credentials_options.h:139
grpc_ssl_client_certificate_request_type
Definition: grpc_security_constants.h:79
grpc_tls_version
The TLS versions that are supported by the SSL stack.
Definition: grpc_security_constants.h:146
void set_identity_cert_name(const std::string &identity_cert_name)
void set_verify_server_certs(bool verify_server_certs)
void set_send_client_ca_list(bool send_client_ca_list)
void set_min_tls_version(grpc_tls_version tls_version)
Definition: tls_credentials_options.h:166
void watch_identity_key_cert_pairs()
void set_tls_session_key_log_file_path(const std::string &tls_session_key_log_file_path)
Definition: tls_credentials_options.h:40
struct grpc_tls_credentials_options grpc_tls_credentials_options
EXPERIMENTAL API - Subject to change.
Definition: credentials.h:572
void set_certificate_verifier(std::shared_ptr< CertificateVerifier > certificate_verifier)
TlsCredentialsOptions & operator=(const TlsCredentialsOptions &other)=delete
void set_crl_directory(const std::string &path)