| Copyright | (c) Viktor Dukhovni 2026 |
|---|---|
| License | BSD-3-Clause |
| Maintainer | ietf-dane@dukhovni.org |
| Stability | unstable |
| Safe Haskell | None |
| Language | GHC2024 |
Net.DNSBase.RData.SVCB.SVCParamKey
Description
The 16-bit numeric keys that select among service-parameter
values inside an SVCB or HTTPS resource record. The keys
that were initially registered are listed in
RFC 9460 section 14.3.2,
with subsequent additions tracked in the
SvcParamKey IANA registry.
The bidirectional patterns below cover the keys that have
standardised value formats in this library; unknown keys are
carried as OpaqueSPV values.
Synopsis
- newtype SVCParamKey = SVCParamKey Word16
- pattern MANDATORY :: SVCParamKey
- pattern ALPN :: SVCParamKey
- pattern NODEFAULTALPN :: SVCParamKey
- pattern PORT :: SVCParamKey
- pattern IPV4HINT :: SVCParamKey
- pattern ECH :: SVCParamKey
- pattern IPV6HINT :: SVCParamKey
- pattern DOHPATH :: SVCParamKey
- pattern OHTTP :: SVCParamKey
- pattern TLSGROUPS :: SVCParamKey
- pattern DOCPATH :: SVCParamKey
- pattern PVD :: SVCParamKey
Documentation
newtype SVCParamKey Source #
A service-parameter key code
(RFC 9460 section 2.1).
The pattern synonyms below name the keys that have standardised
value formats; an unrecognised code keeps its numeric form and
presents as keyN.
Constructors
| SVCParamKey Word16 |
Instances
pattern MANDATORY :: SVCParamKey Source #
Keys the client must understand to use this RR RFC9460, Section 14.3.2
pattern ALPN :: SVCParamKey Source #
Application-Layer Protocol Negotiation identifiers RFC9460, Section 14.3.2
pattern NODEFAULTALPN :: SVCParamKey Source #
Suppress the default ALPN for this scheme RFC9460, Section 14.3.2
pattern PORT :: SVCParamKey Source #
Alternative TCP/UDP port RFC9460, Section 14.3.2
pattern IPV4HINT :: SVCParamKey Source #
Speculative IPv4 address hints RFC9460, Section 14.3.2
pattern ECH :: SVCParamKey Source #
Encrypted Client Hello configuration RFC9848, IANA Considerations
pattern IPV6HINT :: SVCParamKey Source #
Speculative IPv6 address hints RFC9460, Section 14.3.2
pattern DOHPATH :: SVCParamKey Source #
URI template for DNS-over-HTTPS resolver discovery RFC9461, Section 4
pattern OHTTP :: SVCParamKey Source #
Oblivious HTTP support indicator RFC9540, Section 4
pattern TLSGROUPS :: SVCParamKey Source #
TLS supported groups draft-ietf-tls-key-share-prediction-04, section 5
pattern DOCPATH :: SVCParamKey Source #
DNS over CoAP path RFC9953, Section 3
pattern PVD :: SVCParamKey Source #
Provisioning Domain RFC-ietf-intarea-proxy-config-14, Section 7.5