Psa.Key_persistence
Key persistence.
type t
The type for psa_key_persistence_t.
psa_key_persistence_t
val volatile : t
PSA_KEY_PERSISTENCE_VOLATILE
val default : t
PSA_KEY_PERSISTENCE_DEFAULT
val read_only : t
PSA_KEY_PERSISTENCE_READ_ONLY
val equal : t -> t -> bool
equal p0 p1 is true iff p0 and p1 are equal.
equal p0 p1
true
p0
p1
val compare : t -> t -> int
compare is a total order compatible with equal.
compare
equal
val to_uint8 : t -> uint8
to_uint8 p is p as an unsigned 8-bit integer.
to_uint8 p
p
val of_uint8 : uint8 -> t
of_uint8 i is a key persistence from i.
of_uint8 i
i
val pp : Stdlib.Format.formatter -> t -> unit
pp formats key persistence for inspection.
pp