package x509

  1. Overview
  2. Docs

Hostnames (strict, wildcard), used for validation.

type t = [ `Strict | `Wildcard ] * [ `host ] Domain_name.t

The polymorphic variant for hostname validation.

val pp : t Fmt.t

pp ppf host pretty-prints host on ppf: if it is a wildcard, "*." is prefixed to the domain name.

module Set : sig ... end

The module for a set of hostnames.

OCaml

Innovation. Community. Security.