skip to main content
Connection property descriptions : EncryptionMethod
  

Try DataDirect Drivers Now

EncryptionMethod

Purpose

Determines whether data is encrypted and decrypted when transmitted over the network between the driver and REST service.

Valid Values

noEncryption | SSL

Behavior

If set to noEncryption, data is not encrypted or decrypted.
If set to SSL, data is encrypted using SSL. If the endpoint does not support SSL, the connection fails and the driver throws an exception.

Notes

*SSL encryption is enabled when the URL specified in the Sample property or REST file uses HTTPS, regardless of the setting of EncryptionMethod.
*Connection hangs can occur when the driver is configured for SSL and the endpoint does not support SSL. You may want to set a login timeout using the LoginTimeout property to avoid problems when connecting to an endpoint that does not support SSL.
*When SSL is enabled, the following properties also apply:
CryptoProtocolVersion
HostNameInCertificate
KeyPassword (for SSL client authentication)
KeyStore (for SSL client authentication)
KeyStorePassword (for SSL client authentication)
TrustStore
TrustStorePassword
ValidateServerCertificate

Data Source Method

setEncryptionMethod

Default

noEncryption

Data Type

String

See Also

Data encryption
Performance considerations