# Google Cloud Datastream V1 Client - Class OracleSslConfig (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.0 2.1.1 2.0.1 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Datastream V1 Client class OracleSslConfig.

Oracle SSL configuration information.

Generated from protobuf message `google.cloud.datastream.v1.OracleSslConfig`

## Namespace

Google \\ Cloud \\ Datastream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ca_certificate` | `string` Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. |
| `↳ ca_certificate_set` | `bool` Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile. |
| `↳ server_certificate_distinguished_name` | `string` Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer <https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7> If this field is not provided, the DN matching is not enforced. |

### getCaCertificate

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setCaCertificate

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCaCertificateSet

Output only. Indicates whether the ca_certificate field has been set for
this Connection-Profile.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setCaCertificateSet

Output only. Indicates whether the ca_certificate field has been set for
this Connection-Profile.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getServerCertificateDistinguishedName

Optional. The distinguished name (DN) mentioned in the server
certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter.

Refer
<https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7>
If this field is not provided, the DN matching is not enforced.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setServerCertificateDistinguishedName

Optional. The distinguished name (DN) mentioned in the server
certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter.

Refer
<https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7>
If this field is not provided, the DN matching is not enforced.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |