Documentation
¶
Overview ¶
Package notationfactory builds one notation verifier per trust policy file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotationVerifierFactory ¶
type NotationVerifierFactory interface {
// RefreshVerifiers will remove all the existing verifiers and create new ones using the trust policies in notation directory
RefreshVerifiers() error
// GetVerifier returns a verifier based on the trust policy in request or the default trustpolicy in trust policy env
GetVerifier(requestData *types.VerificationRequest) (*notation.Verifier, error)
}
func NewNotationVerifierFactory ¶
func NewNotationVerifierFactory(logger *zap.SugaredLogger) NotationVerifierFactory
Click to show internal directories.
Click to hide internal directories.