Home
last modified time | relevance | path

Searched refs:cert_str (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
Dcertutils_test.py55 def _check_cert_file(self, cert_file_path, cert_str, key_str=None): argument
58 expected_cert = key_str + cert_str
60 expected_cert = cert_str
83 cert_str = certutils.get_host_cert('localhost', server.server_port)
84 cert = certutils.load_cert(cert_str)
88 cert_str = certutils.get_host_cert('not_a_valid_host_name_2472341234234234')
89 self.assertEqual('', cert_str)
Dsslproxy.py40 cert_str = (
43 cert = certutils.load_cert(cert_str)
Dcertutils.py92 def load_cert(cert_str, filetype=FILETYPE_PEM): argument
94 return crypto.load_certificate(filetype, cert_str)