Lines Matching refs:der
281 self.fail("DER-to-PEM didn't include correct header:\n%r\n" % p2)
283 self.fail("DER-to-PEM didn't include correct footer:\n%r\n" % p2)
958 # test DER
1097 der = ssl.PEM_cert_to_DER_cert(pem)
1098 self.assertEqual(ctx.get_ca_certs(True), [der])
1486 der = ssl.PEM_cert_to_DER_cert(pem)
1496 # same with DER
1499 ctx.load_verify_locations(cadata=der)