Searched refs:crypto_cert (Results 1 – 2 of 2) sorted by relevance
2200 crypto_cert = x509.load_pem_x509_certificate(2203 cert = X509.from_cryptography(crypto_cert)2206 assert cert.get_version() == crypto_cert.version.value2214 crypto_cert = cert.to_cryptography()2216 assert isinstance(crypto_cert, x509.Certificate)2217 assert crypto_cert.version.value == cert.get_version()
1118 def from_cryptography(cls, crypto_cert): argument1129 if not isinstance(crypto_cert, x509.Certificate):1133 cert._x509 = crypto_cert._x509