mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-01 21:50:21 +08:00
Bump python-jose to 3.4.* (#13522)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
from typing import Any, ClassVar
|
||||
|
||||
from .base import Key
|
||||
|
||||
@@ -51,6 +51,7 @@ class CryptographyAESKey(Key):
|
||||
KEY_512: Any
|
||||
AES_KW_ALGS: Any
|
||||
MODES: Any
|
||||
IV_BYTE_LENGTH_MODE_MAP: ClassVar[dict[str, int]]
|
||||
def __init__(self, key, algorithm) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def encrypt(self, plain_text, aad: Incomplete | None = None): ...
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from collections.abc import Callable, Mapping
|
||||
from hashlib import _Hash
|
||||
from typing import Final
|
||||
|
||||
from .backends.base import Key
|
||||
|
||||
@@ -70,3 +71,5 @@ class Zips:
|
||||
SUPPORTED: set[str | None]
|
||||
|
||||
ZIPS: Zips
|
||||
|
||||
JWE_SIZE_LIMIT: Final[int]
|
||||
|
||||
@@ -12,3 +12,5 @@ def base64url_decode(input: bytes) -> bytes: ...
|
||||
def base64url_encode(input: bytes) -> bytes: ...
|
||||
def timedelta_total_seconds(delta: timedelta) -> int: ...
|
||||
def ensure_binary(s: str | bytes) -> bytes: ...
|
||||
def is_pem_format(key: bytes) -> bool: ...
|
||||
def is_ssh_key(key: bytes) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user