MCPcopy Create free account
hub / github.com/cli/cli / AttestationVerifier

Struct AttestationVerifier

pkg/cmd/release/shared/attestation.go:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25type AttestationVerifier struct {
26 AttClient api.Client
27 ExternalHttpClient *http.Client
28 IO *iostreams.IOStreams
29 TrustedRoot string
30}
31
32func (v *AttestationVerifier) VerifyAttestation(art *artifact.DigestedArtifact, att *api.Attestation) (*verification.AttestationProcessingResult, error) {
33 td, err := v.AttClient.GetTrustDomain()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected