protected PackageHasSignatureValidator CreateTarget(bool requireRepositorySignature = true) { var endpoint = ValidatorTestUtility.CreateCatalogEndpoint(); var config = ValidatorTestUtility.CreateValidatorConfig(requireRepositorySignature: requireRepositorySignature); return(new PackageHasSignatureValidator(endpoint, config, _logger.Object)); }
public Constructor() { _endpoint = ValidatorTestUtility.CreateCatalogEndpoint(); _configuration = new ValidatorConfiguration(packageBaseAddress: "a", requireRepositorySignature: true); }