Interface SqlServerSslConfig.EncryptionAndServerValidationOrBuilder (1.102.0)

public static interface SqlServerSslConfig.EncryptionAndServerValidationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCaCertificate()

public abstract String getCaCertificate()

Optional. Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.

string ca_certificate = 2 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The caCertificate.

getCaCertificateBytes()

public abstract ByteString getCaCertificateBytes()

Optional. Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.

string ca_certificate = 2 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for caCertificate.

getServerCertificateHostname()

public abstract String getServerCertificateHostname()

Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. This field is used for bypassing the hostname validation while verifying server certificate. This is required for scenarios where the host name that datastream connects to is different from the certificate's subject. This specifically happens for private connectivity. It could also happen when the customer provides a public IP in connection profile but the same is not present in the server certificate.

optional string server_certificate_hostname = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serverCertificateHostname.

getServerCertificateHostnameBytes()

public abstract ByteString getServerCertificateHostnameBytes()

Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. This field is used for bypassing the hostname validation while verifying server certificate. This is required for scenarios where the host name that datastream connects to is different from the certificate's subject. This specifically happens for private connectivity. It could also happen when the customer provides a public IP in connection profile but the same is not present in the server certificate.

optional string server_certificate_hostname = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serverCertificateHostname.

hasServerCertificateHostname()

public abstract boolean hasServerCertificateHostname()

Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. This field is used for bypassing the hostname validation while verifying server certificate. This is required for scenarios where the host name that datastream connects to is different from the certificate's subject. This specifically happens for private connectivity. It could also happen when the customer provides a public IP in connection profile but the same is not present in the server certificate.

optional string server_certificate_hostname = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the serverCertificateHostname field is set.