Io Reference







Networking   /   SecureSocket   /   SecureClient





Interface to secure network communication. A SecureClient is a wrapper on an OpenSSL SSL_CTX object and supports both TLSv1 and DTLSv1.
 
 
 



connectionToServer

Returns connectionToServer.
setCAFile(aPath)

Sets the CA file. Returns self.
setCRLFile(aPath)

Sets the CRL file. Returns self.
setCertFile(aPath)

Sets the Certificate file. Returns self.
setKeyFile(aPath)

Sets the key file. Returns self.
useDTLS

Returns useDTLS value.
useTLS

Returns useTLS value.