Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/cryptography/hazmat/primitives/serialization/base.py: 89%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

9 statements  

1# This file is dual licensed under the terms of the Apache License, Version 

2# 2.0, and the BSD License. See the LICENSE file in the root of this repository 

3# for complete details. 

4 

5from __future__ import annotations 

6 

7from cryptography.hazmat.bindings._rust import openssl as rust_openssl 

8 

9load_pem_private_key = rust_openssl.keys.load_pem_private_key 

10load_der_private_key = rust_openssl.keys.load_der_private_key 

11 

12load_pem_public_key = rust_openssl.keys.load_pem_public_key 

13load_der_public_key = rust_openssl.keys.load_der_public_key 

14 

15load_pem_parameters = rust_openssl.dh.from_pem_parameters 

16load_der_parameters = rust_openssl.dh.from_der_parameters