Skip to main content

Module signatures

Module signatures 

Source
Expand description

Handling of netdoc signatures

Modules§

sig_hashes
Hash types suitable for use as #[deftly(netdoc(signature(hash_accu = TY))]

Structs§

SignatureHashInputs
Inputs needed to calculate a specific signature hash for a specific Item
SignaturesData
The signatures information extracted from a signed network document
SignedDocumentBody
The part of a network document before the first signature item

Traits§

HasUnverifiedParsedBody
Network document that has an unparsed body type (internal trait)
NetdocParseableSignatures
The signatures section of a network document, that can be parsed
NetdocUnverified
A network document with (unverified) signatures
SignatureHashesAccumulator
Hash(es) for a signature item
SignatureItemParseable
A signature item that can appear in a netdoc

Functions§

check_validity_time
Utility function to check that a time is within a validity period
check_validity_time_tolerance
Like check_validity_time() but with a tolerance to support clock skews.