skip to main content
Part 2: The 32-Bit/64-Bit Drivers : The DB2 Wire Protocol Driver : Connection Option Descriptions for DB2 : Encryption Method
 
Encryption Method
Attribute
EncryptionMethod (EM)
Purpose
The method the driver uses to encrypt data sent between the driver and the database server. If the specified encryption method is not supported by the database server, the connection fails and the driver returns an error.
Valid Values
0 | 1 | 2
Behavior
If set to 0 (No Encryption), data is not encrypted.
If set to 1 (SSL), data is encrypted using the SSL protocols specified in the Crypto Protocol Version connection option.
If set to 2 (Database Encryption), data is encrypted using the DB2 encryption protocol (supported only on DB2 for Linux/UNIX/Windows and DB2 for z/OS).
This option can only be set to 1 or 2 when Authentication Method is set to 0, 1, or 2.
Notes
*This connection option can affect performance.
Default
0 (No Encryption)
GUI Tab
Security tab
See also
Crypto Protocol Version
Performance Considerations