Namespace google::cloud::experimental (2.46.0-rc)

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

Alias Of:::google::cloud::OpenTelemetryTracingOption

SslCtxCallback

Alias Of: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.

Note:While the callback defines three pointer parameters, only the ssl_ctx pointer will have a non-NULL value when the callback is called.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.