Class SslCertificate (2.37.0-rc)

Represents an SSL certificate used in TLS authentication.

Constructors

SslCertificate()

Creates and empty certificate.

SslCertificate(std::string, std::string)

Creates a PEM certificate from the values provided.

Parameters
Name Description
ssl_certificate std::string
ssl_private_key std::string

SslCertificate(std::string, std::string, SslCertificateType)

Creates a user specified type of certificate from the values provided.

Parameters
Name Description
ssl_certificate std::string
ssl_private_key std::string
ssl_certificate_type SslCertificateType

Functions

ssl_certificate() const

Returns
Type Description
std::string const &

ssl_private_key() const

Returns
Type Description
std::string const &

ssl_certificate_type() const

Returns
Type Description
SslCertificateType

static ToString(SslCertificateType)

Parameter
Name Description
type SslCertificateType
Returns
Type Description
std::string

google::cloud::experimental::SslCertificate::SslCertificateType