massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / cryptography / cryptography / hazmat / primitives / asymmetric / utils.pyi
1 from cryptography.hazmat.primitives.hashes import HashAlgorithm
2
3 def decode_dss_signature(signature: bytes) -> tuple[int, int]: ...
4 def encode_dss_signature(r: int, s: int) -> bytes: ...
5
6 class Prehashed(object):
7     _algorithm: HashAlgorithm  # undocumented
8     _digest_size: int  # undocumented
9     def __init__(self, algorithm: HashAlgorithm) -> None: ...
10     digest_size: int