Documentation ¶
Index ¶
- Constants
- type Attestor
- func (a *Attestor) Attest(ctx *attestation.AttestationContext) error
- func (a *Attestor) Name() string
- func (a *Attestor) RunType() attestation.RunType
- func (a *Attestor) Schema() *jsonschema.Schema
- func (a *Attestor) StepResults() map[string]policy.StepResult
- func (a *Attestor) Subjects() map[string]cryptoutil.DigestSet
- func (a *Attestor) Type() string
- type Option
Constants ¶
View Source
const ( Name = "policyverify" Type = slsa.VerificationSummaryPredicate RunType = attestation.VerifyRunType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attestor ¶
type Attestor struct { *ipolicy.VerifyPolicySignatureOptions slsa.VerificationSummary // contains filtered or unexported fields }
func (*Attestor) Attest ¶
func (a *Attestor) Attest(ctx *attestation.AttestationContext) error
func (*Attestor) RunType ¶
func (a *Attestor) RunType() attestation.RunType
func (*Attestor) Schema ¶
func (a *Attestor) Schema() *jsonschema.Schema
func (*Attestor) StepResults ¶
func (a *Attestor) StepResults() map[string]policy.StepResult
type Option ¶
type Option func(*Attestor)
func VerifyWithSubjectDigests ¶
func VerifyWithSubjectDigests(subjectDigests []cryptoutil.DigestSet) Option
Click to show internal directories.
Click to hide internal directories.