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_token_info/index.html

Module P11_token_infoSource

Sourcetype t = {
  1. label : string;
  2. manufacturerID : string;
  3. model : string;
  4. serialNumber : string;
  5. flags : P11_flags.t;
  6. ulMaxSessionCount : P11_ulong.t;
  7. ulSessionCount : P11_ulong.t;
  8. ulMaxRwSessionCount : P11_ulong.t;
  9. ulRwSessionCount : P11_ulong.t;
  10. ulMaxPinLen : P11_ulong.t;
  11. ulMinPinLen : P11_ulong.t;
  12. ulTotalPublicMemory : P11_ulong.t;
  13. ulFreePublicMemory : P11_ulong.t;
  14. ulTotalPrivateMemory : P11_ulong.t;
  15. ulFreePrivateMemory : P11_ulong.t;
  16. hardwareVersion : P11_version.t;
  17. firmwareVersion : P11_version.t;
  18. utcTime : string;
}
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
Sourceval ul_to_string : Unsigned.ULong.t -> string

Return correct string value if the unsigned long has a special value e.g. CK_UNAVAILABLE_INFORMATION.

Sourceval to_string : ?newlines:bool -> ?indent:string -> t -> string
Sourceval to_strings : t -> string list
Sourceval flags_to_string : P11_flags.t -> string