Product Information > JADE Encyclopaedia of Classes – Volume 2 > Chapter 1 - System Classes > cryptLibrary

cryptLibrary

Type: String[128]

The cryptLibrary property of the TcpIpConnection class contains the name of the library that contains the encryptMethod and decryptMethod methods.

The code fragment in the following example shows the use of the cryptLibrary property.

cryptConf := CryptConf.firstInstance;
if cryptConf <> null then
    self.tcp.cryptLibrary  := cryptConf.cryptLib;
    self.tcp.encryptMethod := cryptConf.encryptMethod;
    self.tcp.decryptMethod := cryptConf.decryptMethod;
endif;