EncryptionTypes
- Last Updated: May 8, 2019
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
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:
| 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
Default
List of all possible values
Data Type
String