Net.startTLS3kaya
Convert an existing connection to use tls.
Usage
Void startTLS( NetHandle h, [String] certfiles=[] )
Arguments
h The connection handle
certs An optional list of certificate files for TLS encrypted connections. Each file should contain one or more PEM-encoded certificates for a trusted certification authority. If this list is empty (the default), no certificate verification will be performed on encrypted connections, which is insecure.
Overview
Begins TLS encryption on an existing connection equivilant to having set usetls to true when creating it. Useful for secure SMTP connections. This function will fail silently if TLS encryption is already in use on the connection.
Note that this function is only designed for client connections started with Net.connect (3kaya) rather than server connections from Net.accept (3kaya)
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.