HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/miniconda3/Lib/site-packages/cryptography/hazmat/bindings/_rust/test_support.pyi
# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.

from cryptography import x509
from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.primitives.serialization import pkcs7

class TestCertificate:
    not_after_tag: int
    not_before_tag: int
    issuer_value_tags: list[int]
    subject_value_tags: list[int]

def test_parse_certificate(data: bytes) -> TestCertificate: ...
def pkcs7_decrypt(
    encoding: serialization.Encoding,
    msg: bytes,
    pkey: serialization.pkcs7.PKCS7PrivateKeyTypes,
    cert_recipient: x509.Certificate,
    options: list[pkcs7.PKCS7Options],
) -> bytes: ...
def pkcs7_verify(
    encoding: serialization.Encoding,
    sig: bytes,
    msg: bytes | None,
    certs: list[x509.Certificate],
    options: list[pkcs7.PKCS7Options],
) -> None: ...