Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotationVeriferFactory ¶
type NotationVeriferFactory 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) NotationVeriferFactory
Click to show internal directories.
Click to hide internal directories.