Skip to main content

Crate hns_icann_dane

Crate hns_icann_dane 

Source
Expand description

Shared automatic ICANN DANE discovery policy for every browser shell.

This crate is deliberately independent of a DNS or TLS implementation. It derives the exact TLSA owner for a canonical origin and converts evidence from a TLS-authenticated validating ICANN DoH resolver into one of two permitted browser actions: enforce securely present TLSA data, or retain WebPKI after authenticated absence or a proven-insecure delegation. Bogus, indeterminate, malformed, and unauthenticated results fail closed.

Structs§

TlsaOwner
Canonical service-prefixed TLSA owner.
ValidatingDohEvidence
Evidence retained from one terminal validating ICANN DoH lookup.

Enums§

BrowserTlsDecision
Defined browser trust action after automatic TLSA discovery.
DiscoveryError
Automatic DANE discovery failure.
DnssecQueryMode
DNSSEC query mode used for the terminal TLSA request.
IcannDnssecStatus
DNSSEC state reported for a completed lookup by the validating DoH adapter.
ResolverAuthentication
Authentication state of the configured validating DoH resolver.
TlsaDenial
Denial evidence for an empty terminal TLSA result.
TlsaTransport
Transport label used in a TLSA owner name.

Constants§

MAX_DNS_LABEL_BYTES
Maximum DNS label length.
MAX_DNS_NAME_BYTES
Maximum DNS presentation-name length without a terminating root dot.

Functions§

decide_browser_tls
Convert validating DoH evidence into the only permitted browser actions.