util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: ISC Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueuedLeafProofVerify

func QueuedLeafProofVerify(pk crypto.PublicKey, lrv1 *types.LogRootV1, qlp v1.QueuedLeafProof) error

QueuedLeafProof ensures that a queued leaf and the inclusion proof for the leaf are valid.

func RecordEntryNew

func RecordEntryNew(myId *identity.FullIdentity, dataHint, data []byte) v1.RecordEntry

RecordEntryNew returns an encoded tlog RecordEntry structure.

func RecordEntryProofVerify

func RecordEntryProofVerify(pk crypto.PublicKey, rep v1.RecordEntryProof) error

RecordEntryProofVerify ensures that a RecordEntry and the inclusion proof for the RecordEntry anchor is valid.

func RecordEntryVerify

func RecordEntryVerify(record v1.RecordEntry) error

RecordEntryVerify ensures that a tlog RecordEntry is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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