package dns

  1. Overview
  2. Docs

Nsec3

Hashed authenticated denial of existence resource record, used by DNSSec.

type f = [
  1. | `Opt_out
  2. | `Unknown of int
]

The type of flags.

val flags_of_int : int -> f option

flags_of_int v is f.

type t = {
  1. flags : f option;
  2. iterations : int;
  3. salt : Cstruct.t;
  4. next_owner_hashed : Cstruct.t;
  5. types : Bit_map.t;
}

The type of Nsec3.

val pp : t Fmt.t

pp ppf t pretty-prints the Nsec3.

val compare : t -> t -> int

compare a b compares the Nsec3 a with b.