Implement signature generation

This commit is contained in:
Kovid Goyal
2021-09-17 17:42:25 +05:30
parent fbc8a1cdcb
commit a941b1af4e
3 changed files with 109 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
from typing import Optional, Tuple
IO_BUFFER_SIZE: int
class JobCapsule:
pass
def begin_signature(file_size: int = -1, strong_len: int = 0) -> JobCapsule:
pass
def iter_job(job_capsule: JobCapsule, input_data: bytes, eof: Optional[bool] = None) -> Tuple[bytes, bool]:
pass