Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/cryptography/x509/verification.py: 100%

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

10 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 

7import typing 

8 

9from cryptography.hazmat.bindings._rust import x509 as rust_x509 

10from cryptography.x509.general_name import DNSName, IPAddress 

11 

12__all__ = [ 

13 "Store", 

14 "Subject", 

15 "ServerVerifier", 

16 "PolicyBuilder", 

17 "VerificationError", 

18] 

19 

20Store = rust_x509.Store 

21Subject = typing.Union[DNSName, IPAddress] 

22ServerVerifier = rust_x509.ServerVerifier 

23PolicyBuilder = rust_x509.PolicyBuilder 

24VerificationError = rust_x509.VerificationError