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.
Click to show internal directories.
Click to hide internal directories.