package pkcs11-driver

  1. Overview
  2. Docs
Bindings to the PKCS#11 cryptographic API

Install

Dune Dependency

Authors

Maintainers

Sources

pkcs11-v1.0.0.tbz
sha256=eee2e67fff116d747d1d0f6229af9e952cbb4f9a56765c069c63c1e1bbbc67a3
sha512=3a1090b0cd53b09dffb4c2a2d591e290ff3fe9add1217797f9746a1a6af0d41239b217f1dd45354e3ee457ff007d68bb4d8d83f07001d6ad9870e7aaba4fd434

Description

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

Tags

org:cryptosense

Published: 25 Nov 2019

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 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/.

Dependencies (8)

  1. ocaml >= "4.04.0" & < "5.1"
  2. yojson >= "1.6.0"
  3. ppx_deriving_yojson >= "3.0"
  4. ppx_deriving >= "4.0"
  5. pkcs11 >= "0.18.0"
  6. dune >= "1.3.0"
  7. ctypes-foreign
  8. ctypes

Dev Dependencies (1)

  1. ounit with-test

Used by (1)

  1. pkcs11-rev >= "1.0.0"

Conflicts (2)

  1. integers >= "0.5.0"
  2. ctypes < "0.12.0"