Searched refs:crypto_cert (Results 1 – 2 of 2) sorted by relevance
1980 crypto_cert = x509.load_pem_x509_certificate(1983 cert = X509.from_cryptography(crypto_cert)1986 assert cert.get_version() == crypto_cert.version.value1994 crypto_cert = cert.to_cryptography()1996 assert isinstance(crypto_cert, x509.Certificate)1997 assert crypto_cert.version.value == cert.get_version()
1113 def from_cryptography(cls, crypto_cert): argument1124 if not isinstance(crypto_cert, x509.Certificate):1128 cert._x509 = crypto_cert._x509