Documentation
¶
Index ¶
- type Client
- func (c *Client) PublicKeys() *cosign.TrustedTransparencyLogPubKeys
- func (c *Client) Verify(ctx context.Context, commitSHA string, cert *x509.Certificate) (*models.LogEntryAnon, error)
- func (c *Client) Write(ctx context.Context, commitSHA string, sig []byte, cert *x509.Certificate) (*models.LogEntryAnon, error)
- type Verifier
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client implements a basic rekor implementation for writing and verifying Rekor data.
func (*Client) PublicKeys ¶ added in v0.6.0
func (c *Client) PublicKeys() *cosign.TrustedTransparencyLogPubKeys
type Verifier ¶
type Verifier interface {
Verify(ctx context.Context, commitSHA string, cert *x509.Certificate) (*models.LogEntryAnon, error)
}
Verifier represents a mechanism to get and verify Rekor entries for the given Git commit.
Click to show internal directories.
Click to hide internal directories.