package pkcs11

  1. Overview
  2. Docs

Description

This library contains ctypes bindings to the PKCS#11 API.

This API is used by smartcards and Hardware Security Modules to perform cryptographic operations such as signature or encryption.

Tags

org:cryptosense

Published: 23 Jun 2017

README

Pkcs11 - bindings to the PKCS#11 cryptographic API

PKCS11 is an API used by smartcards and Hardware Security Modules to perform cryptographic operations such as signature or encryption.

This library contains two parts: type definitions corresponding to the PKCS#11 API, and bindings using ctypes to emit calls to a DLL.

To install the driver part, install ctypes and ctypes-foreign - it will build a pkcs11.driver package.

The entry point of this library is [P11.load_driver]. An example is available in test/example_sign.ml.

Dependencies (10)

  1. topkg build
  2. ocamlfind build
  3. ocamlbuild build
  4. yojson < "2.0.0"
  5. ppx_deriving_yojson >= "3.0"
  6. ppx_deriving >= "4.0"
  7. key-parsers >= "0.5.0" & != "0.6.0" & < "1.0.0"
  8. integers < "0.5.0"
  9. hex >= "1.0.0"
  10. ocaml >= "4.02.0"

Dev Dependencies (1)

  1. ounit with-test

Used by

None

Conflicts (2)

  1. ctypes >= "0.18.0"
  2. ctypes < "0.12.0"
OCaml

Innovation. Community. Security.