Dns.TlsaSourceTransport layer security authentication
cert_usage_to_int cu is the 8 bit integer representation of cu.
val int_to_cert_usage :
?off:int ->
int ->
(cert_usage, [> `Not_implemented of int * string ]) resultint_to_cert_usage ~off i attempts to convert i to a certificate usage constructor. If successful, this is the result, otherwise an Error is returned (with off as position).
pp_cert_usage ppf cu pretty-prints the certificate usage on ppf.
selector_to_int s is the 8 bit integer representation of s.
val int_to_selector :
?off:int ->
int ->
(selector, [> `Not_implemented of int * string ]) resultint_to_selector ~off i attempts to convert i to a selector constructor. If there is no such constructor known for the provided i, an Error is returned.
matching_type_to_int m is the 8 bit integer representation of m.
val int_to_matching_type :
?off:int ->
int ->
(matching_type, [> `Not_implemented of int * string ]) resultint_to_matching_type ~off i attempts to convert i to a matching type constructor. If there is no such constructor for the provided i, an Error is returned.
pp_matching_type ppf m pretty-prints the matching type m on ppf.
type t = {cert_usage : cert_usage;selector : selector;matching_type : matching_type;data : Cstruct.t;}The type of a TLSA record: certificate usage, selector, matching type, and data.