package pkcs11

  1. Overview
  2. Docs
type t = private
  1. | Auto
  2. | FFI

How the interaction is done with the DLL.

val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val ffi : t

Call directly each symbol using libffi.

val auto : t

Call C_GetFunctionList using libffi. For each symbol, try to access it through the returned function list. Otherwise, call the symbol directly.

OCaml

Innovation. Community. Security.