Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/cryptography/hazmat/primitives/_asymmetric.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.2.2, created at 2023-03-26 06:36 +0000

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 

5import abc 

6 

7# This exists to break an import cycle. It is normally accessible from the 

8# asymmetric padding module. 

9 

10 

11class AsymmetricPadding(metaclass=abc.ABCMeta): 

12 @property 

13 @abc.abstractmethod 

14 def name(self) -> str: 

15 """ 

16 A string naming this padding (e.g. "PSS", "PKCS1"). 

17 """