403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/jose-stubs/backends/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/jose-stubs/backends/rsa_backend.pyi
from typing import Any
from typing_extensions import Self

from .base import Key

LEGACY_INVALID_PKCS8_RSA_HEADER: bytes
ASN1_SEQUENCE_ID: bytes
RSA_ENCRYPTION_ASN1_OID: str

# Enable when we can use stubs from installed dependencies:
# from rsa import PublicKey
def pem_to_spki(pem, fmt: str = "PKCS8"): ...

class RSAKey(Key):
    SHA256: str
    SHA384: str
    SHA512: str
    hash_alg: str
    def __init__(self, key, algorithm) -> None: ...
    def sign(self, msg: bytes) -> bytes: ...
    def verify(self, msg: bytes, sig: bytes) -> bool: ...
    def is_public(self) -> bool: ...
    def public_key(self) -> Self: ...
    def to_pem(self, pem_format: str = "PKCS8") -> bytes: ...
    def to_dict(self) -> dict[str, Any]: ...
    def wrap_key(self, key_data: bytes) -> bytes: ...
    def unwrap_key(self, wrapped_key: bytes) -> bytes: ...

Youez - 2016 - github.com/yon3zu
LinuXploit