mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Update pyOpenSSL stubs to 22.1.* (#8838)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "22.0.*"
|
||||
version = "22.1.*"
|
||||
requires = ["types-cryptography"]
|
||||
|
||||
@@ -16,8 +16,6 @@ SSLEAY_BUILT_ON: int
|
||||
SENT_SHUTDOWN: int
|
||||
RECEIVED_SHUTDOWN: int
|
||||
|
||||
SSLv2_METHOD: int
|
||||
SSLv3_METHOD: int
|
||||
SSLv23_METHOD: int
|
||||
TLSv1_METHOD: int
|
||||
TLSv1_1_METHOD: int
|
||||
|
||||
@@ -143,8 +143,9 @@ class X509StoreContext:
|
||||
def verify_certificate(self) -> None: ...
|
||||
|
||||
class X509StoreContextError(Exception):
|
||||
errors: list[Any]
|
||||
certificate: X509
|
||||
def __init__(self, message: str | bytes, certificate: X509) -> None: ...
|
||||
def __init__(self, message: str, errors: list[Any], certificate: X509) -> None: ...
|
||||
|
||||
class X509StoreFlags:
|
||||
CRL_CHECK: int
|
||||
|
||||
Reference in New Issue
Block a user