PHP 8.3.31
Preview: __init__.pyi Size: 1.34 KB
/opt/imunify360/venv/lib/python3.11/site-packages/cryptography/hazmat/bindings/_rust/openssl/__init__.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.

import typing

from cryptography.hazmat.bindings._rust.openssl import (
    aead,
    ciphers,
    cmac,
    dh,
    dsa,
    ec,
    ed448,
    ed25519,
    hashes,
    hmac,
    kdf,
    keys,
    poly1305,
    rsa,
    x448,
    x25519,
)

__all__ = [
    "aead",
    "ciphers",
    "cmac",
    "dh",
    "dsa",
    "ec",
    "ed448",
    "ed25519",
    "hashes",
    "hmac",
    "kdf",
    "keys",
    "openssl_version",
    "openssl_version_text",
    "poly1305",
    "raise_openssl_error",
    "rsa",
    "x448",
    "x25519",
]

CRYPTOGRAPHY_IS_LIBRESSL: bool
CRYPTOGRAPHY_IS_BORINGSSL: bool
CRYPTOGRAPHY_OPENSSL_300_OR_GREATER: bool
CRYPTOGRAPHY_OPENSSL_320_OR_GREATER: bool

class Providers: ...

_legacy_provider_loaded: bool
_providers: Providers

def openssl_version() -> int: ...
def openssl_version_text() -> str: ...
def raise_openssl_error() -> typing.NoReturn: ...
def capture_error_stack() -> list[OpenSSLError]: ...
def is_fips_enabled() -> bool: ...
def enable_fips(providers: Providers) -> None: ...

class OpenSSLError:
    @property
    def lib(self) -> int: ...
    @property
    def reason(self) -> int: ...
    @property
    def reason_text(self) -> bytes: ...

Directory Contents

Dirs: 0 × Files: 17

Name Size Perms Modified Actions
2.49 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
1.27 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
564 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
1.53 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
1.27 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
1.65 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
475 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
493 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
573 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
662 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
544 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
872 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
540 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
1.33 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
466 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
484 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
1.34 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).