mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
committed by
Sebastian Rittau
parent
e62857f851
commit
41d23a67f6
@@ -303,6 +303,17 @@ if sys.version_info >= (3, 6):
|
||||
ticket_lifetime_hint: int
|
||||
has_ticket: bool
|
||||
|
||||
class VerifyFlags(enum.IntFlag):
|
||||
VERIFY_DEFAULT: int
|
||||
VERIFY_CRL_CHECK_LEAF: int
|
||||
VERIFY_CRL_CHECK_CHAIN: int
|
||||
VERIFY_X509_STRICT: int
|
||||
VERIFY_X509_TRUSTED_FIRST: int
|
||||
|
||||
class VerifyMode(enum.IntEnum):
|
||||
CERT_NONE: int
|
||||
CERT_OPTIONAL: int
|
||||
CERT_REQUIRED: int
|
||||
|
||||
# TODO below documented in cpython but not in docs.python.org
|
||||
# taken from python 3.4
|
||||
|
||||
Reference in New Issue
Block a user