Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
DNS keys
A DNS key record (DNSKEY) specifies flags, algorithm, and key data.
int_to_algorithm ~off i
tries to decode i
to an algorithm
.
val algorithm_to_int : algorithm -> int
algorithm_to_int a
encodes a
to an integer.
of_string str
attempts to parse str
to a dnskey. The colon character (:
) is used as separator, supported formats are: algo:keydata
and flags:algo:keydata
, where keydata is a base64 string.
val name_key_of_string :
string ->
([ `raw ] Domain_name.t * t, [> `Msg of string ]) result
name_key_of_string str
attempts to parse str
to a domain name and a dnskey. The colon character (:
) is used as separator.