tlog

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTransparencyLogID

func GetTransparencyLogID(pub crypto.PublicKey) (string, error)

GetTransparencyLogID generates a SHA256 hash of a DER-encoded public key. (see RFC 6962 S3.2) In CT V1 the log id is a hash of the public key.

func Upload

func Upload(ctx context.Context, rekorClient *client.Rekor, pe models.ProposedEntry) (*models.LogEntryAnon, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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