# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
KeyFromPublicKey generate metadata type Key from crypto.PublicKey.
MetaFile return new metadata instance of type MetaFile.
Root return new metadata instance of type Root.
No description provided by the author
Snapshot return new metadata instance of type Snapshot.
TargetFile return new metadata instance of type TargetFiles.
Targets return new metadata instance of type Targets.
Timestamp return new metadata instance of type Timestamp.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Define top level role names.
Define top level role names.
Define version of the TUF specification.
Define top level role names.
Define top level role names.
# Variables
No description provided by the author
# Structs
DelegatedRole represents a delegated role in TUF.
Delegations is an optional object which represents delegation roles and their corresponding keys.
No description provided by the author
ErrBadVersionNumber - An error for metadata that contains an invalid version number.
ErrDownload - An error occurred while attempting to download a file.
ErrDownloadHTTP - Returned by Fetcher interface implementations for HTTP errors.
ErrDownloadLengthMismatch - Indicate that a mismatch of lengths was seen while downloading a file.
ErrEqualVersionNumber - An error for metadata containing a previously verified version number.
ErrExpiredMetadata - Indicate that a TUF Metadata file has expired.
ErrLengthOrHashMismatch - An error while checking the length and hash values of an object.
ErrRepository - an error with a repository's state, such as a missing file.
RuntimeError.
TypeError.
ErrUnsignedMetadata - An error about metadata object with insufficient threshold of signatures.
ValueError.
Key represents a key in TUF.
No description provided by the author
Metadata[T Roles] represents a TUF metadata.
MetaFiles represents the value portion of METAFILES in TUF (used in Snapshot and Timestamp metadata).
Role represents one of the top-level roles in TUF.
RoleResult represents the name and terminating status of a delegated role that is responsible for targetFilepath.
RootType represents the Signed portion of a root metadata.
Signature represents the Signature part of a TUF metadata.
SnapshotType represents the Signed portion of a snapshot metadata.
SuccinctRoles represents a delegation graph that covers all targets, distributing them uniformly over the delegated roles (i.e.
TargetFiles represents the value portion of TARGETS in TUF (used Targets metadata).
TargetsType represents the Signed portion of a targets metadata.
TimestampType represents the Signed portion of a timestamp metadata.