public static void Setup(TestContext testContext) { _endpointHost = ConfigurationManager.AppSettings.Get("EndpointHost"); _endpointIp = ConfigurationManager.AppSettings.Get("EndpointIP"); var ssllService = new SSLLabsApiService(ConfigurationManager.AppSettings.Get("ApiUrl")); _endpoint = ssllService.GetEndpointData(_endpointHost, _endpointIp); }
/// <summary> /// Constructs the SSLAnalyzer using a parsed list of HostEntries and a connected API service object. /// </summary> public SSLAnalyzer(List<HostEntry> entries, SSLLabsApiService service) { _service = service; _entries = entries; _estRuntime = 120; _waitInterval = 3; _analyzedEntries = new List<HostEntry>(); }
public MainWindow() { InitializeComponent(); this.Closed += MainWindowClosed; MainPageWindow.Title = getWindowTitle(); _service = new SSLLabsApiService("https://api.ssllabs.com/api/v2"); _parserDelegator = new ParserDelegator(); ParserDelegator.OnParseComplete += ParserDelegatorOnParseComplete; checkConnectionStatus(); reloadSettings(); setupViews(); assignEvents(); prepareAnimations(); }
public static void Setup(TestContext testContext) { _host = ConfigurationManager.AppSettings.Get("EndpointHost"); _ssllService = new SSLLabsApiService(ConfigurationManager.AppSettings.Get("ApiUrl")); _analyze = _ssllService.AutomaticAnalyze(_host); }
public static void Setup(TestContext testContext) { var ssllService = new SSLLabsApiService(ConfigurationManager.AppSettings.Get("ApiUrl")); _info = ssllService.Info(); }