Home | History | Annotate | Download | only in test

Lines Matching refs:pem

128             pem = f.read()
129 d1 = ssl.PEM_cert_to_DER_cert(pem)
134 self.fail("DER-to-PEM didn't include correct header:\n%r\n" % p2)
136 self.fail("DER-to-PEM didn't include correct footer:\n%r\n" % p2)
357 pem = ssl.get_server_certificate(("svn.python.org", 443))
358 if not pem:
362 pem = ssl.get_server_certificate(("svn.python.org", 443), ca_certs=CERTFILE)
367 self.fail("Got server certificate %s for svn.python.org!" % pem)
369 pem = ssl.get_server_certificate(("svn.python.org", 443), ca_certs=SVN_PYTHON_ORG_ROOT_CERT)
370 if not pem:
373 sys.stdout.write("\nVerified certificate for svn.python.org:443 is\n%s\n" % pem)
384 sha256_cert = os.path.join(os.path.dirname(__file__), "sha256.pem")
995 "nullcert.pem"))
999 "badcert.pem"))
1003 "wrongcert.pem"))
1007 "badkey.pem"))
1365 "keycert.pem")
1368 "https_svn_python_org_root.pem")
1370 "nokia.pem")