package
0.3.0
Repository: https://github.com/google/keytransparency.git
Documentation: pkg.go.dev

# Functions

New creates a new instance of the monitor.
NewFromDirectory produces a new monitor from a Directory object.
RevisionPairs consumes revisions (0, 1, 2) and produces pairs (0,1), (1,2).

# Variables

ErrInconsistentProofs occurs when the server returned different hashes for the same inclusion proof node in the tree.
ErrInvalidLogConsistencyProof occurs when the log consistency proof does not verify.
ErrInvalidLogInclusion occurs if the inclusion proof for the signed map root into the log does not verify.
ErrInvalidLogSignature occurs if the log roots signature does not verify.
ErrInvalidMapSignature occurs if the map roots signature does not verify.
ErrInvalidMutation occurs when verification failed because of an invalid mutation.
ErrNotMatchingMapRoot occurs when the reconstructed root differs from the one we received from the server.

# Structs

Monitor holds the internal state for a monitor accessing the mutations API and for verifying its responses.
RevisionPair is two adjacent revisions.

# Type aliases

ErrList is a list of errors.