package pkcs11

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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 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
OCaml

Innovation. Community. Security.