skip to main content
Connection property descriptions : EncryptionTypes
  

Try DataDirect Drivers Now

EncryptionTypes

Purpose

Specifies one or multiple algorithms to use if Oracle Advanced Security encryption is enabled using the EncryptionLevel connection property.

Valid values

value [[, value ]...]
where:
value
is one of the following values specifying an algorithm in the following table:
Table 21. Oracle Advanced Security Encryption Algorithms
Value
Description
AES256
AES with a 256-bit key size
RC4_256
RSA RC4 with a 256-bit key size
AES192
AES with a 192-bit key size
3DES168
Three-key 3DES (with an effective key size of 168 bit)
AES128
AES with a 128-bit key size
RC4_128
RSA RC4 with a 128-bit key size
3DES112
Two-key 3DES (with an effective key size of 112 bit)
RC4_56
RSA RC4 with a 56-bit key size
DES
DES (with an effective key size of 56 bit)
RC4_40
RSA RC4 with a 40-bit key size

Notes

*Multiple values must be separated by commas. In addition, if this property is specified in a connection URL, the entire value must be enclosed in parentheses when multiple values are specified.
*If multiple values are specified and Oracle Advanced Security encryption is enabled using the EncryptionLevel property, the database server determines which algorithm is used based on how it is configured.
*If unspecified, a list of all possible values is sent to the database server. The database server determines which algorithm is used based on how it is configured.
*Consult your Oracle administrator to verify the data encryption settings of your Oracle server.
*The value of this property is ignored if the EncryptionLevel property is set to rejected.

Example

This connection URL example sets multiple algorithms for Oracle Advanced Security encryption:

jdbc:datadirect:oracle://server3:1521;ServiceName=ORCL;
EncryptionLevel=required;EncryptionTypes=(RC4_256,AES192,3DES112);
User=test;Password=secret

Data source method

setEncryptionTypes

Default

List of all possible values

Data type

String

See also

Data encryption
Performance considerations