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: 12 Oct 2018

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 (11)

  1. topkg build
  2. ocamlfind build
  3. ocamlbuild build
  4. ocaml >= "4.03.0"
  5. zarith
  6. ppx_variants_conv
  7. yojson < "2.0.0"
  8. ppx_deriving_yojson >= "3.0"
  9. ppx_deriving >= "4.0"
  10. integers < "0.5.0"
  11. hex >= "1.0.0"

Dev Dependencies (1)

  1. ounit with-test

Used by

None

Conflicts (2)

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