Documentation ¶
Index ¶
- func Sign(r io.Reader, dataType string, w io.Writer, signers ...cryptoutil.Signer) error
- func Verify(policyEnvelope dsse.Envelope, policyVerifiers []cryptoutil.Verifier, ...) error
- func VerifySignature(r io.Reader, verifiers ...cryptoutil.Verifier) (dsse.Envelope, error)
- type RunOption
- type RunResult
- type VerifyOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Verify ¶
func Verify(policyEnvelope dsse.Envelope, policyVerifiers []cryptoutil.Verifier, opts ...VerifyOption) error
func VerifySignature ¶
Types ¶
type RunOption ¶
type RunOption func(ro *runOptions)
func RunWithAttestationOpts ¶
func RunWithAttestationOpts(opts ...attestation.AttestationContextOption) RunOption
func RunWithAttestors ¶
func RunWithCommand ¶
func RunWithTracing ¶
type RunResult ¶
type RunResult struct { Collection attestation.Collection SignedEnvelope dsse.Envelope }
type VerifyOption ¶
type VerifyOption func(*verifyOptions)
func VerifyWithCollectionEnvelopes ¶
func VerifyWithCollectionEnvelopes(collectionEnvelopes []dsse.Envelope) VerifyOption
Click to show internal directories.
Click to hide internal directories.