package pkcs11

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

pkcs11-0.9.0.tbz
sha256=0a1dc5fb54d3febbb0024b6fe9bb393f25e4ce6aadbc65fcc114345c5ca3982a
md5=c1a9bd7ed535e9fb31f2e6014567c9af

doc/pkcs11/P11_bigint/index.html

Module P11_bigintSource

Big integers used in PKCS#11.

PKCS#11 expects them to be encoded in big-endian, so manipulating the underlying representation is error-prone.

Sourcetype t
Sourceval compare : t -> t -> Ppx_deriving_runtime.int
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
Sourceval encode : t -> string

Convert to/from a big-endian byte array.

Sourceval decode : string -> t
Sourceval to_int : t -> int
Sourceval of_int : int -> t
Sourceval to_string : t -> string
Sourceval zero : t
Sourceval of_z : Z.t -> t
Sourceval to_z : t -> Z.t