pkcs11-driver

Bindings to the PKCS#11 cryptographic API
README

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

This library is made of several packages:

  • pkcs11: type definitions corresponding to the PKCS#11 API

  • pkcs11-cli: a library exposing cmdliner arguments used to initiate a PKCS#11 session

  • pkcs11-driver: bindings to emit calls to a PKCS#11 dll

  • pkcs11-driver.fake: a fake pkcs11 dll that returned hardcoded values, used for testing

  • pkcs11-rev: reverse bindings to write OCaml PKCS#11 implementations

The entry point of this library is [P11.load_driver]. Examples are available in
test/examples/.

Install
Sources
pkcs11-v1.0.0.tbz
sha256=eee2e67fff116d747d1d0f6229af9e952cbb4f9a56765c069c63c1e1bbbc67a3
sha512=3a1090b0cd53b09dffb4c2a2d591e290ff3fe9add1217797f9746a1a6af0d41239b217f1dd45354e3ee457ff007d68bb4d8d83f07001d6ad9870e7aaba4fd434
Dependencies
ounit
with-test
ocaml
>= "4.04.0"
yojson
>= "1.6.0"
pkcs11
>= "0.18.0"
dune
>= "1.3.0"
Reverse Dependencies
pkcs11-rev
>= "1.0.0"