Home
last modified time | relevance | path

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

/external/python/pyopenssl/tests/
Dtest_crypto.py1980 crypto_cert = x509.load_pem_x509_certificate(
1983 cert = X509.from_cryptography(crypto_cert)
1986 assert cert.get_version() == crypto_cert.version.value
1994 crypto_cert = cert.to_cryptography()
1996 assert isinstance(crypto_cert, x509.Certificate)
1997 assert crypto_cert.version.value == cert.get_version()
/external/python/pyopenssl/src/OpenSSL/
Dcrypto.py1113 def from_cryptography(cls, crypto_cert): argument
1124 if not isinstance(crypto_cert, x509.Certificate):
1128 cert._x509 = crypto_cert._x509