Encryption options
You can use either password (SECURITY=PASSWORD) or network encryption to establish the security of your connection. To use either the password option or to use network encryption, you must have a Java™ Cryptography Extension (JCE)-compliant encryption services provider installed in your Java runtime environment.
It is recommended that you do not mix security packages on the same client. The following topics describe how to configure each package.
Encryption over the network and password encryption should not be used together. Thus, password encryption should not be enabled with the SECURITY environment variable when using JDBC encryption CSM. JDBC Encryption CSM does encrypt passwords before sending them over the network.