openssl.*

Type Library
Revision 2014.2478
Keywords openssl, security
Availability Pro, Enterprise
Platforms Android, iOS

Overview

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.

Gotchas

Note that HTTPS requests are done more easily using network.request() — web documents shouldn't be requested using luasec.

Project Settings

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"
        },
    },      
}

Documentation

http://www.openssl.org/docs/

Sample Code

https://github.com/coronalabs/plugins-sample-openssl/

Support