Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeProtobufBundle ¶ added in v2.4.0
func MakeProtobufBundle(hint string, rawCert []byte, rekorEntry *models.LogEntryAnon, timestampBytes []byte) (*protobundle.Bundle, error)
Types ¶
type RFC3161Timestamp ¶
type RFC3161Timestamp struct {
// SignedRFC3161Timestamp contains a DER encoded TimeStampResponse.
// See https://www.rfc-editor.org/rfc/rfc3161.html#section-2.4.2
// Clients MUST verify the hashed message in the message imprint,
// typically using the artifact signature.
SignedRFC3161Timestamp []byte
}
RFC3161Timestamp holds metadata about timestamp RFC3161 verification data.
func TimestampToRFC3161Timestamp ¶
func TimestampToRFC3161Timestamp(timestampRFC3161 []byte) *RFC3161Timestamp
TimestampToRFC3161Timestamp receives a base64 encoded RFC3161 timestamp.
type RekorBundle ¶
type RekorBundle struct {
SignedEntryTimestamp []byte
Payload RekorPayload
}
RekorBundle holds metadata about recording a Signature's ephemeral key to a Rekor transparency log.
func EntryToBundle ¶
func EntryToBundle(entry *models.LogEntryAnon) *RekorBundle
type RekorPayload ¶
Click to show internal directories.
Click to hide internal directories.