PHP 8.3.31
Preview: __init__.pyi Size: 970 B
/opt/cloudlinux/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 (
    dh,
    dsa,
    ed448,
    ed25519,
    hashes,
    hmac,
    kdf,
    poly1305,
    x448,
    x25519,
)

__all__ = [
    "openssl_version",
    "raise_openssl_error",
    "dh",
    "dsa",
    "hashes",
    "hmac",
    "kdf",
    "ed448",
    "ed25519",
    "poly1305",
    "x448",
    "x25519",
]

def openssl_version() -> int: ...
def raise_openssl_error() -> typing.NoReturn: ...
def capture_error_stack() -> typing.List[OpenSSLError]: ...
def is_fips_enabled() -> bool: ...

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

Directory Contents

Dirs: 0 × Files: 11

Name Size Perms Modified Actions
896 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
764 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
603 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
629 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
573 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
662 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
544 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
540 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
590 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
616 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
970 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download

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