package pkcs11-driver

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

Install

Dune Dependency

Authors

Maintainers

Sources

pkcs11-v1.0.1.tbz
sha256=db6bed28e4a75cb3787d0b6feca954a91c9e52e678b8cc73c1058975b1846946
sha512=f764b356cac3dd7718003a158f2a4dad7b8caae981930ab9cfa674a08ebcf3583c531bfcca9ddbb593d0c8e5a64b52381f8c9c702c3a0d0d44000727b095c47a

Description

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

Tags

org:cryptosense

Published: 27 Aug 2021

README

pkcs11 — Bindings to the PKCS#11 cryptographic API

PKCS#11 is an API used by smart cards 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 PKCS#11 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. yojson >= "1.6.0"
  2. ppx_deriving_yojson >= "3.0"
  3. ppx_deriving >= "4.0"
  4. ocaml >= "4.07.0" & < "5.1"
  5. pkcs11 >= "0.18.0"
  6. dune >= "2.0.0"
  7. ctypes-foreign
  8. ctypes

Dev Dependencies (1)

  1. ounit with-test

Used by (1)

  1. pkcs11-rev >= "1.0.0"

Conflicts (1)

  1. ctypes < "0.12.0"