package pkcs11

  1. Overview
  2. Docs
type 'a t = 'a P11_attribute_type.t * 'a
type pack =
  1. | Pack : 'a t -> pack
val equal_pack : pack -> pack -> Ppx_deriving_runtime.bool
val compare_pack : pack -> pack -> Ppx_deriving_runtime.int
val pack_to_yojson : pack -> Yojson.Safe.t
val to_string : 'a t -> string
val to_string_pair : 'a t -> string * string
val to_json : 'a t -> Yojson.Safe.t
val compare_types : 'a t -> 'b t -> int
val compare_types_pack : pack -> pack -> int
val compare : 'a t -> 'b t -> int
val equal : 'a t -> 'b t -> bool
val equal_types_pack : pack -> pack -> bool
val equal_values : 'a P11_attribute_type.t -> 'a -> 'a -> bool
type _ repr =
  1. | Repr_object_class : P11_object_class.t repr
  2. | Repr_bool : bool repr
  3. | Repr_string : string repr
  4. | Repr_key_type : P11_key_type.t repr
  5. | Repr_not_implemented : P11_attribute_type.not_implemented repr
  6. | Repr_bigint : P11_bigint.t repr
  7. | Repr_ulong : Unsigned.ULong.t repr
  8. | Repr_key_gen_mechanism : P11_key_gen_mechanism.t repr
  9. | Repr_data : string repr
val repr : 'a P11_attribute_type.t -> 'a repr

Return how this attribute type is represented. This is an implementation detail, do not rely on this outside of pkcs11.

OCaml

Innovation. Community. Security.