package pkcs11

  1. Overview
  2. Docs
type 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;
}
val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val ul_to_string : Unsigned.ULong.t -> string

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

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

Innovation. Community. Security.