Home
last modified time | relevance | path

Searched refs:crypto_cert (Results 1 – 2 of 2) sorted by relevance

/external/python/pyopenssl/tests/
Dtest_crypto.py2200 crypto_cert = x509.load_pem_x509_certificate(
2203 cert = X509.from_cryptography(crypto_cert)
2206 assert cert.get_version() == crypto_cert.version.value
2214 crypto_cert = cert.to_cryptography()
2216 assert isinstance(crypto_cert, x509.Certificate)
2217 assert crypto_cert.version.value == cert.get_version()
/external/python/pyopenssl/src/OpenSSL/
Dcrypto.py1118 def from_cryptography(cls, crypto_cert): argument
1129 if not isinstance(crypto_cert, x509.Certificate):
1133 cert._x509 = crypto_cert._x509