1 from abc import ABCMeta, abstractmethod
2 from typing import ClassVar
4 from cryptography.hazmat.primitives.hashes import HashAlgorithm
6 class AsymmetricPadding(metaclass=ABCMeta):
9 def name(self) -> str: ...
12 def __init__(self, algorithm: HashAlgorithm) -> None: ...
14 class OAEP(AsymmetricPadding):
15 def __init__(self, mgf: MGF1, algorithm: HashAlgorithm, label: bytes | None) -> None: ...
17 def name(self) -> str: ...
19 class PKCS1v15(AsymmetricPadding):
21 def name(self) -> str: ...
23 class PSS(AsymmetricPadding):
24 MAX_LENGTH: ClassVar[object]
25 def __init__(self, mgf: MGF1, salt_length: int | object) -> None: ...
27 def name(self) -> str: ...