proof

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLogProof

type TLogProof struct {
	// Index is the index of an entry in the log
	Index uint64
	// Hashes is the Merkle inclusion proof as described in https://www.rfc-editor.org/rfc/rfc6962.html#section-2.1.1
	Hashes [][sha256.Size]byte
	// Checkpoint is the signed note as described in https://c2sp.org/tlog-checkpoint
	Checkpoint []byte
	// ExtraData contains optional application-specific data
	ExtraData []byte
}

TLogProof represents a transparency log proof as described in https://c2sp.org/tlog-proof

func (TLogProof) Marshal

func (p TLogProof) Marshal() []byte

func (*TLogProof) Unmarshal

func (p *TLogProof) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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