Module pkarr

Module pkarr 

Source
Expand description

Pkarr signed packet encoding.

Implements the pkarr signed DNS packet format: <32 pubkey><64 sig><8 timestamp><DNS packet>.

Structs§

SignedPacket
A signed DNS packet in the pkarr format.
Timestamp
A pkarr timestamp in microseconds since the UNIX epoch.

Enums§

SignedPacketBuildError
Error building a signed packet.
SignedPacketVerifyError
Error verifying a signed packet.

Constants§

MAX_SIGNED_PACKET_SIZE
Maximum total size of a serialized signed packet.