OpenSSL binding for Lua

Modules

asn1 asn1 module to generate or parse ASN.1 data.
bio bio module to mapping a BIO in openssl to a lua object.
bn big-number library for Lua 5.1 based on OpenSSL bn
callback callback module for lua-openssl binding

This module provides callback functionality for SSL/TLS operations, including certificate verification callbacks and other SSL event handling.

cipher cipher module do encrypt or decrypt base on OpenSSL EVP API.
cms cms module for lua-openssl binding

The Cryptographic Message Syntax (CMS) is the IETF’s standard for cryptographically protected messages.

compat compat module for OpenSSL version compatibility
dh dh module for lua-openssl binding

Diffie-Hellman (DH) key exchange is a method of securely exchanging cryptographic keys over a public channel.

digest digest module perform digest operations base on OpenSSL EVP API.
dsa dsa module for lua-openssl binding

Digital Signature Algorithm (DSA) is a Federal Information Processing Standard for digital signatures.

ec ec module to create EC keys and do EC key processes.
engine engine module for lua-openssl binding

OpenSSL engine support allows the use of alternative implementations of cryptographic algorithms.

hmac hmac module perform Message Authentication Code operations.
kdf kdf module perform EVP_KDF operations.
lhash lhash module for lua-openssl binding

LHASH is OpenSSL’s implementation of a hash table.

mac mac module perform Message Authentication Code operations.
misc misc module with utility functions for lua-openssl
ocsp OCSP module for lua-openssl binding Generate, sign, process OCSP request and response.
openssl Openssl binding for Lua, provide openssl full function in lua.
param param module for OpenSSL 3.x parameter handling

This module provides functionality for handling OpenSSL 3.x parameters used in cryptographic operations.

pkcs12 pkcs12 module to create and parse PKCS#12(PFX) files.
pkcs7 pkcs7 module to create and process PKCS#7 files.
pkey pkey module to create and process public or private key, do asymmetric key operations.
rsa rsa module for lua-openssl binding

RSA (Rivest-Shamir-Adleman) is a public-key cryptosystem that is widely used for secure data transmission.

srp srp module to handle secure remote password.
ssl ssl modules to create SSL/TLS server or client, send and recv data over SSL channels.
th-lock th-lock module for thread safety in lua-openssl

This module provides thread locking functionality for OpenSSL operations in multi-threaded environments.

ts timestamp module provide basic Time Stamping Authority (TSA) client and server operations as specified in RFC 3161 (Time-Stamp Protocol, TSP).
util util module with internal utility functions for lua-openssl
x509 x509 modules to create, parse, process X509 objects, sign CSR.
x509.algor x509.algor module to mapping X509_ALGOR to lua object.
x509.attribute x509.attribute module to mapping X509_ATTRIBUTE to lua object.
x509.crl x509.crl module to mapping X509_CRL to lua object, creates and processes CRL file in DER or PEM format.
x509.extension x509.extension module to mapping X509_EXTENSION to lua object.
x509.name x509.name module to mapping X509_NAME to lua object.
x509.req x509.req module to mapping X509_REQ to lua object, creates and processes certificate requests (CSRs) in PKCS#10 format.
x509.store x509.store module to mapping X509_STORE to lua object.

Topics

README.md
generated by LDoc 1.5.0 Last updated 2025-09-22 19:55:54