Table of Contents

TOpenSSL Class

Dynamic bindings for OpenSSL 3.x, loaded on demand. Adds libssl to the libcrypto bindings inherited from TOpenSslCrypto, so a single class exposes both halves. Only OpenSSL 3.x is supported.

Syntax

Unit: Sparkle.OpenSsl.Api

TOpenSSL = class(TOpenSslCrypto);

Methods

Name Description
Load Loads OpenSSL 3.x (libcrypto through TOpenSslCrypto, then libssl), resolving all functions. Returns False (with the reason in LoadError) when either library is not available; safe to call several times and from several threads.
Require Loads OpenSSL and raises EOpenSslError when it is not available.