(self, x509: OpenSSL.crypto.X509)
| 100 | |
| 101 | @classmethod |
| 102 | def from_pyopenssl(self, x509: OpenSSL.crypto.X509) -> "Cert": |
| 103 | return Cert(x509.to_cryptography()) |
| 104 | |
| 105 | @deprecated("Use `to_cryptography` instead.") |
| 106 | def to_pyopenssl(self) -> OpenSSL.crypto.X509: # pragma: no cover |