Encryption Method
- Last Updated: November 8, 2022
- 1 minute read
- DataDirect Connectors
- ODBC
- Autonomous Rest Connector 8.0
- Documentation
Attribute
EncryptionMethod (em)
Purpose
Determines whether data is encrypted and decrypted when transmitted over the network between the driver and REST service.
Valid Values
0 | 1
Behavior
If set to 1 (SSL), data is encrypted using SSL. If the endpoint does not support SSL, the connection fails and the driver throws an exception.
If set to 0 (NoEncryption), data is not encrypted or decrypted.
Default Value
-
SSL encryption is enabled when the URL specified in the REST Sample Path (RESTSamplePath) option or Model file uses HTTPS, regardless of the setting of Encryption Method.
-
When SSL is enabled, the following options also apply:
- Crypto Protocol Version
- Host Name In Certificate
- Key Password (for SSL client authentication)
- KeyStore (for SSL client authentication)
- KeyStore Password (for SSL client authentication)
- TrustStore
- TrustStore Password
- Validate Server Certificate