package dns

  1. Overview
  2. Docs

DS

The delegation signer resource record, used by DNSSec.

type digest_type =
  1. | SHA1
  2. | SHA256
  3. | SHA384
  4. | Unknown of int
    (*

    The type of supported digest algorithms.

    *)
val digest_type_to_int : digest_type -> int

digest_type_to_int d encodes the digest type d to an integer.

val int_to_digest_type : int -> digest_type

int_to_digest_type i decodes the integer i to a digest type.

val pp_digest_type : digest_type Fmt.t

pp_digest_type ppf d pretty-prints digest type d on ppd.

type t = {
  1. key_tag : int;
  2. algorithm : Dnskey.algorithm;
  3. digest_type : digest_type;
  4. digest : string;
}

The type of delegation signer resource records.

val pp : t Fmt.t

pp ppf t pretty-prints the DS.

val compare : t -> t -> int

compare a b compares the DS a with b.

OCaml

Innovation. Community. Security.