Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Types of keys
val strings : (string * t) list
strings
is an associative list of string and key_type pairs. Useful for cmdliner (Arg.enum).
val to_string : t -> string
to_string kt
is a string representation of kt
.
val of_string : string -> (t, [> Rresult.R.msg ]) Rresult.result
of_string s
is Ok key_type
if the string could be decoded as key_type
, or an Error _
.
val pp_signature_scheme : signature_scheme Fmt.t
pp_signature_scheme ppf s
is a pretty-printer of s
on ppf
.
val supports_signature_scheme : t -> signature_scheme -> bool
supports_scheme key_type scheme
is true
if the signature scheme
is supported with key type
.