Versions in this module Expand all Collapse all v5 v5.33.1 Dec 30, 2024 Changes in this version + const HashedRekordV001APIVersion + func JSONFormatToInvalidSignatureError(err error) error + func ParanoidUnmarshalJSONObject(data []byte, fieldResolver func(string) any) error + func ParanoidUnmarshalJSONObjectExactFields(data []byte, exactFields map[string]any) error + func VerifyRekorSET(publicKeys []*ecdsa.PublicKey, unverifiedRekorSET []byte, ...) (time.Time, error) + type InvalidSignatureError struct + func NewInvalidSignatureError(msg string) InvalidSignatureError + func (err InvalidSignatureError) Error() string + type JSONFormatError string + func (err JSONFormatError) Error() string + type SigstorePayloadAcceptanceRules struct + ValidateSignedDockerManifestDigest func(digest.Digest) error + ValidateSignedDockerReference func(string) error + type UntrustedRekorPayload struct + Body []byte + IntegratedTime int64 + LogID string + LogIndex int64 + func (p *UntrustedRekorPayload) UnmarshalJSON(data []byte) error + func (p UntrustedRekorPayload) MarshalJSON() ([]byte, error) + type UntrustedRekorSET struct + UntrustedPayload json.RawMessage + UntrustedSignedEntryTimestamp []byte + func (s *UntrustedRekorSET) UnmarshalJSON(data []byte) error + func (s UntrustedRekorSET) MarshalJSON() ([]byte, error) + type UntrustedSigstorePayload struct + func NewUntrustedSigstorePayload(dockerManifestDigest digest.Digest, dockerReference string) UntrustedSigstorePayload + func VerifySigstorePayload(publicKeys []crypto.PublicKey, unverifiedPayload []byte, ...) (*UntrustedSigstorePayload, error) + func (s *UntrustedSigstorePayload) UnmarshalJSON(data []byte) error + func (s UntrustedSigstorePayload) MarshalJSON() ([]byte, error)