Classes
SslCertificate
Represents an SSL certificate used in TLS authentication.
Structs
CAInMemoryOption
Represents one or more certificates to be added to the CA store in lieu of using any CA certificates stored on the filesystem.
ClientSslCertificateOption
Represents a Client SSL certificate used in mTLS authentication.
SslCtxCallbackOption
This option allows the user to specify a function that is registered with libcurl as the CURLOPT_SSL_CTX_FUNCTION.
Type Aliases
OpenTelemetryTracingOption
::google::cloud::OpenTelemetryTracingOption
SslCtxCallback
std::function< int(void *, void *ssl_ctx, void *)>
Function signature for the libcurl SSL context callback.
This signature matches the prototype declared by libcurl, but its invocation is wrapped by the Cloud C++ SDK. This is a precaution to prevent the CURL handle from being altered in ways that would cause the SDK to malfunction.
The callback should return CURLE_OK on success and CURLE_ABORTED_BY_CALLBACK on error.