Documentation ¶
Index ¶
- func QueuedLeafProofVerify(pk crypto.PublicKey, lrv1 *types.LogRootV1, qlp v1.QueuedLeafProof) error
- func RecordEntryNew(myId *identity.FullIdentity, dataHint, data []byte) v1.RecordEntry
- func RecordEntryProofVerify(pk crypto.PublicKey, rep v1.RecordEntryProof) error
- func RecordEntryVerify(record v1.RecordEntry) error
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.
Click to show internal directories.
Click to hide internal directories.