Searched refs:cert_str (Results 1 – 3 of 3) sorted by relevance
55 def _check_cert_file(self, cert_file_path, cert_str, key_str=None): argument58 expected_cert = key_str + cert_str60 expected_cert = cert_str83 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)
40 cert_str = (43 cert = certutils.load_cert(cert_str)
92 def load_cert(cert_str, filetype=FILETYPE_PEM): argument94 return crypto.load_certificate(filetype, cert_str)