Home  Contents

rawio:getCipherSuite

Rawio Core4 Lua Event System

SYNOPSIS

name = handle:getCipherSuite()

DESCRIPTION

After a SSL connection has been established, this will return the IANA name of the cipher suite used for encryption.

This function returns nil if no encrypted connection exists for any reason. It is therefore also suitable to use as a flag function to check if encryption is active.

See ssl:defaultCipherSuites() for more information about ciphersuite naming.

RETURN VALUE

The name of the ciphersuite once encryption is established. Returns nil if no encryption is active.

SEE ALSO