All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.python.types.typeshed.third_party.2and3.cryptography.hazmat.primitives.asymmetric.padding.pyi Maven / Gradle / Ivy

There is a newer version: 4.17.0.14845
Show newest version
from abc import ABCMeta, abstractmethod
from typing import ClassVar, Optional, Union

from cryptography.hazmat.primitives.hashes import HashAlgorithm

class AsymmetricPadding(metaclass=ABCMeta):
    @property
    @abstractmethod
    def name(self) -> str: ...

class MGF1(object):
    def __init__(self, algorithm: HashAlgorithm) -> None: ...

class OAEP(AsymmetricPadding):
    def __init__(self, mgf: MGF1, algorithm: HashAlgorithm, label: Optional[bytes]) -> None: ...
    @property
    def name(self) -> str: ...

class PKCS1v15(AsymmetricPadding):
    @property
    def name(self) -> str: ...

class PSS(AsymmetricPadding):
    MAX_LENGTH: ClassVar[object]
    def __init__(self, mgf: MGF1, salt_length: Union[int, object]) -> None: ...
    @property
    def name(self) -> str: ...




© 2015 - 2024 Weber Informatics LLC | Privacy Policy