oid

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// OIDRekorTransparencyLogEntry is the OID for a serialized Rekor TransparencyLogEntry proto.
	// See https://github.com/sigstore/rekor/pull/1390
	OIDRekorTransparencyLogEntry = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 57264, 3, 1}
)

Functions

func ToAttributes

func ToAttributes(tlog *models.LogEntryAnon) (protocol.Attributes, error)

ToAttributes takes a Rekor log entry and extracts fields into Attributes suitable to be included in the signature's unauthenticated attributes.

func ToLogEntry

func ToLogEntry(ctx context.Context, message []byte, sig []byte, cert *x509.Certificate, attrs protocol.Attributes) (*models.LogEntryAnon, error)

ToLogEntry reconstructs a Rekor HashedRekord from Git commit signature PKCS7 components.

Types

This section is empty.

Jump to

Keyboard shortcuts

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