Type Library Revision 2017.3060 Keywords openssl, security Platforms Android, iOS, macOS, Windows
The OpenSSL plugin provides access to the OpenSSL library as exposed by George Zhao's lua-openssl.
The OpenSSL plugin allows you to do secure socket communication in Lua using luasec. This wraps your insecure protocol in SSL. Please refer to the samples in the GitHub repository.
This plugin includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. Before using this plugin, ensure that you conform with their license.
HTTPS requests are done more easily using network.request() — web documents shouldn't be requested using luasec.
local openssl = require( "plugin.openssl" )
To use this plugin, add an entry into the plugins
table of build.settings
. When added, the build server will integrate the plugin during the build phase.
settings = { plugins = { ["plugin.openssl"] = { publisherId = "com.coronalabs", }, }, }