package pkcs11

  1. Overview
  2. Docs
PKCS#11 OCaml types

Install

Dune Dependency

Authors

Maintainers

Sources

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

Description

This library contains type definitions for 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: 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. ocaml >= "4.07.0"
  2. zarith
  3. ppx_variants_conv
  4. ppx_deriving_yojson >= "3.4"
  5. ppx_deriving >= "4.2"
  6. integers
  7. hex >= "1.0.0"
  8. dune >= "2.0.0"

Dev Dependencies (1)

  1. ounit with-test

Conflicts

None