Versions in this module Expand all Collapse all v0 v0.0.22 Jan 7, 2025 v0.0.21 Jan 7, 2025 Changes in this version + type OIDCProvider interface + Enabled func(ctx context.Context) bool + Provide func(ctx context.Context, audience string) (string, error) + type SignerVerifier struct + func NewSigner(provider OIDCProvider, fulcioClient api.LegacyClient) (*SignerVerifier, error) + func (sv *SignerVerifier) Cosign(ctx context.Context, payload io.Reader) (oci.Signature, error) + func (sv *SignerVerifier) PublicKey(opts ...signature.PublicKeyOption) (crypto.PublicKey, error) + func (sv *SignerVerifier) SignMessage(message io.Reader, opts ...signature.SignOption) ([]byte, error) + func (sv *SignerVerifier) VerifySignature(signature, message io.Reader, opts ...signature.VerifyOption) error