/opt/imh-python/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl
NameSizeModeActions
__pycache__/-0755rm
aead.py62450644editdlrm
backend.py880090644editdlrm
ciphers.py103650644editdlrm
cmac.py28460644editdlrm
decode_asn1.py11130644editdlrm
dh.py112090644editdlrm
dsa.py107070644editdlrm
ec.py128460644editdlrm
ed448.py57430644editdlrm
ed25519.py57890644editdlrm
encode_asn1.py5700644editdlrm
hashes.py30980644editdlrm
hmac.py29410644editdlrm
poly1305.py23470644editdlrm
rsa.py214540644editdlrm
utils.py24510644editdlrm
x448.py41410644editdlrm
x509.py14520644editdlrm
x25519.py46220644editdlrm
__init__.py2710644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/x509.py (1452B)
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. import warnings from cryptography import utils, x509 # This exists for pyOpenSSL compatibility and SHOULD NOT BE USED # WE WILL REMOVE THIS VERY SOON. def _Certificate(backend, x509) -> x509.Certificate: # noqa: N802 warnings.warn( "This version of cryptography contains a temporary pyOpenSSL " "fallback path. Upgrade pyOpenSSL now.", utils.DeprecatedIn35, ) return backend._ossl2cert(x509) # This exists for pyOpenSSL compatibility and SHOULD NOT BE USED # WE WILL REMOVE THIS VERY SOON. def _CertificateSigningRequest( # noqa: N802 backend, x509_req ) -> x509.CertificateSigningRequest: warnings.warn( "This version of cryptography contains a temporary pyOpenSSL " "fallback path. Upgrade pyOpenSSL now.", utils.DeprecatedIn35, ) return backend._ossl2csr(x509_req) # This exists for pyOpenSSL compatibility and SHOULD NOT BE USED # WE WILL REMOVE THIS VERY SOON. def _CertificateRevocationList( # noqa: N802 backend, x509_crl ) -> x509.CertificateRevocationList: warnings.warn( "This version of cryptography contains a temporary pyOpenSSL " "fallback path. Upgrade pyOpenSSL now.", utils.DeprecatedIn35, ) return backend._ossl2crl(x509_crl)