|
A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
|
TLS settings for an HTTP/2 client or server (certificates, peer verification). More...
#include <cpp/a11/net/http2.h>
Public Member Functions | |
| absl::Status | Validate () const |
| Validate certificate/key combinations before opening a socket. | |
Public Attributes | |
| bool | enabled = false |
| Negotiate TLS instead of clear-text HTTP/2. | |
| bool | verify_peer = true |
| Validate the remote certificate and hostname. | |
| std::string | certificate_pem_file |
| Local certificate chain, if needed. | |
| std::string | key_pem_file |
| Private key matching the local certificate. | |
| std::string | ca_certificate_pem_file |
| Optional custom trust roots. | |
TLS settings for an HTTP/2 client or server (certificates, peer verification).
| absl::Status a11::net::Http2TlsOptions::Validate | ( | ) | const |
Validate certificate/key combinations before opening a socket.
| std::string a11::net::Http2TlsOptions::ca_certificate_pem_file |
Optional custom trust roots.
| std::string a11::net::Http2TlsOptions::certificate_pem_file |
Local certificate chain, if needed.
| std::string a11::net::Http2TlsOptions::key_pem_file |
Private key matching the local certificate.