package async_ssl

  1. Overview
  2. Docs

OpenSSL FFI modeled after Rust's OpenSSL FFI <https://github.com/sfackler/rust-openssl/blob/master/ssl/ffi.rs>.

For streaming this stuff, see: <http://funcptr.net/2012/04/08/openssl-as-a-filter-%28or-non-blocking-openssl%29/>

This module is for use with Async, which has no threads. You void your warranty by calling any of these functions from multiple threads at the same time.

module Ssl_error : sig ... end
module Ssl_ctx : sig ... end
module Bio : sig ... end
module ASN1_object : sig ... end
module ASN1_string : sig ... end
module X509_name_entry : sig ... end
module X509_name : sig ... end
module X509 : sig ... end
module Ssl_session : sig ... end
module Dh : sig ... end
module Ec_key : sig ... end
module Rsa : sig ... end
module Ssl : sig ... end
val get_error_stack : unit -> string list

Pops all errors off of the openssl error stack, returning them as a list of human-readable strings. The most recent errors will be at the head of the list.