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

# Packages

No description provided by the author

# Functions

DecodeToken turns a URL-safe base64 encoded protobuf back into its proto.
EncodeToken converts a protobuf into a URL-safe base64 encoded string.
New creates a new instance of the key server.

# Constants

Maximum period of time to allow between CreationTime and server time.
Maximum period of time to allow between CreationTime and server time.

# Variables

ErrCommittedKeyLen occurs when the committed key is too small.
ErrInvalidEnd occurs when the end revision of the ListUserRevisionsRequest is not in [start, currentRevision].
ErrInvalidPageSize occurs when the page size is < 0.
ErrInvalidStart occurs when the start revision of ListEntryHistoryRequest is not valid (not in [1, currentRevision]).
ErrNoCommitted occurs when the committed field is missing.
ErrWrongIndex occurs when the index in key value does not match the output of VRF.

# Structs

Server holds internal state for the key server.

# Interfaces

BatchReader reads batch definitions.
MutationLogs provides sets of roughly time ordered message logs.

# Type aliases

NewFromWrappedKeyFunc returns a vrf private key from a proto.
SourceList is a paginator for a list of source slices.