Interface PostgresqlSslConfig.ServerAndClientVerificationOrBuilder (1.56.0)

public static interface PostgresqlSslConfig.ServerAndClientVerificationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCaCertificate()

public abstract String getCaCertificate()

Required. Input only. PEM-encoded server root CA certificate.

string ca_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The caCertificate.

getCaCertificateBytes()

public abstract ByteString getCaCertificateBytes()

Required. Input only. PEM-encoded server root CA certificate.

string ca_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for caCertificate.

getClientCertificate()

public abstract String getClientCertificate()

Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream's identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.

string client_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The clientCertificate.

getClientCertificateBytes()

public abstract ByteString getClientCertificateBytes()

Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream's identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.

string client_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for clientCertificate.

getClientKey()

public abstract String getClientKey()

Required. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client's identity, i.e. identity of the Datastream.

string client_key = 2 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The clientKey.

getClientKeyBytes()

public abstract ByteString getClientKeyBytes()

Required. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client's identity, i.e. identity of the Datastream.

string client_key = 2 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for clientKey.