()
| 29 | |
| 30 | |
| 31 | def _cert_and_issuer(): |
| 32 | cert = _load_cert( |
| 33 | os.path.join("x509", "cryptography.io.pem"), |
| 34 | x509.load_pem_x509_certificate, |
| 35 | ) |
| 36 | issuer = _load_cert( |
| 37 | os.path.join("x509", "rapidssl_sha256_ca_g3.pem"), |
| 38 | x509.load_pem_x509_certificate, |
| 39 | ) |
| 40 | return cert, issuer |
| 41 | |
| 42 | |
| 43 | def _generate_root(private_key=None, algorithm=hashes.SHA256()): |
no test coverage detected