package
Version:
v1.3.0-next.1
Opens a new window with list of versions in this module.
Published: Dec 27, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
VerifySignature verifies the signature of the data using the provided ECDSA public key.
type Bundle struct {
Signature string `json:"base64Signature"`
Certificate string `json:"cert"`
RekorBundle Rekor `json:"rekorBundle"`
}
type Payload struct {
Body string `json:"body"`
IntegratedTime int64 `json:"integratedTime"`
LogIndex int64 `json:"logIndex"`
LogID string `json:"logID"`
}
type Rekor struct {
SignedEntryTimestamp string `json:"SignedEntryTimestamp"`
Payload Payload `json:"Payload"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.