package pkcs11

  1. Overview
  2. Docs
PKCS#11 ocaml types

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/pkcs11/P11_gcm_params/index.html

Module P11_gcm_paramsSource

Parameter for AES GCM. In PKCS11 applications:

  • the length of iv can be any number between 1 and 256.
  • tag_bits can be any value between 0 and 128.

These invariants are not checked, in order to represent invalid states that DLLs may return.

Sourcetype t
Sourceval compare : t -> t -> Ppx_deriving_runtime.int
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval make : iv:string -> aad:string -> tag_bits:P11_ulong.t -> t
Sourceval iv : t -> string
Sourceval aad : t -> string
Sourceval tag_bits : t -> P11_ulong.t
OCaml

Innovation. Community. Security.