package pkcs11

  1. Overview
  2. Docs
PKCS#11 OCaml types

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

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