Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepository ¶
func NewRepository(image *imagedataloader.ImageData) notationregistry.Repository
func NewTrustStore ¶
func NewTrustStore(name string, certs []*x509.Certificate, tsaCerts []*x509.Certificate) truststore.X509TrustStore
func NotaryLoggerAdapter ¶
func NotaryLoggerAdapter(logger logr.Logger) notationlog.Logger
Types ¶
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
func NewVerifier ¶
func (*Verifier) VerifyAttestationSignature ¶
func (v *Verifier) VerifyAttestationSignature(ctx context.Context, image *imagedataloader.ImageData, attestation *policiesv1alpha1.Attestation, attestor *policiesv1alpha1.Attestor) error
func (*Verifier) VerifyImageSignature ¶
func (v *Verifier) VerifyImageSignature(ctx context.Context, image *imagedataloader.ImageData, attestor *policiesv1alpha1.Attestor) error
Click to show internal directories.
Click to hide internal directories.