config

package
v0.0.0-...-0ca6a70 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package config provides the descriptor structs and example configs for the different entities. This allows for a common description of logs, witnesses, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	// ID is the canonical ID for the log.
	ID string
	// Verifier is a signature verifier for log checkpoints.
	Verifier note.Verifier
	// Origin is the expected first line of checkpoints from the log.
	Origin string
	// URL is the URL of the root of the log.
	URL string
}

Log describes a verifiable log.

func NewLog

func NewLog(origin, pk, url string) (Log, error)

NewLog creates a Log from the given origin, public key & type, and URL.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL