DomainProof class
Proves control of one or more DNS domains by the same HD wallet as the signing key — the EPM-record mirror of the DNS TXT wire form (which is deliberately NON-SDS: a base64 FlatBuffer would not fit a 255-byte TXT record). The canonical statement is a fixed layout of LF-terminated lines, versioned by its first line, that names every domain of DOMAINS, and it verifies by BYTE-REPLAY of the verbatim SIGNED_PAYLOAD (ChainProof precedent) — never by JCS.
Constructors
-
DomainProof(List<
int> bytes) -
factory
Properties
- ALGORITHM → String?
-
Signature algorithm. ABSENT means ed25519
no setter
-
DOMAINS
→ List<
String> ? -
The fully-qualified domain names the proof binds, one or more, each
lowercase ASCII (internationalized names in punycode), e.g.
"node.example.org", "node.example.com". An empty vector is invalid. SIGNED_PAYLOAD covers every name, in this order.no setter - ENCODING → String?
-
Signature encoding format. ABSENT means the canonical encoding of
ALGORITHM (raw-ed25519 for ed25519)
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- KEY_PATH → String?
-
BIP-32 / SLIP-10 derivation path of the proving key. The signer is the
Ed25519 EPM/publication key at m/44'/0'/0'/0'/0'
no setter
- keyPath → String?
-
no setter
- PUBLIC_KEY → String?
-
Public key for this proof (hex-encoded)
no setter
- publicKey → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- SIGNATURE → String?
-
Signature over the attestation payload (hex-encoded)
no setter
- SIGNED_PAYLOAD → String?
-
The canonical payload that was signed, verbatim (hex-encoded)
no setter
- signedPayload → String?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
reader
→ const Reader<
DomainProof>