py2docfx 0.1.16.dev2051338__py3-none-any.whl → 0.1.16.dev2064350__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py2docfx/convert_prepare/environment.py +3 -1
- py2docfx/convert_prepare/get_source.py +6 -1
- py2docfx/convert_prepare/package_info.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/babel/py.typed +1 -0
- py2docfx/venv/basevenv/Lib/site-packages/markupsafe/_speedups.pyi +1 -0
- py2docfx/venv/basevenv/Lib/site-packages/markupsafe/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/packaging/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/certifi/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/chardet/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/distro/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/idna/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/packaging/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/pyparsing/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/rich/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/tenacity/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/tomli/py.typed +1 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/_vendor/truststore/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/pip/py.typed +4 -0
- py2docfx/venv/basevenv/Lib/site-packages/pkg_resources/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/importlib_metadata/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/inflect/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/jaraco/collections/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/jaraco/functools/__init__.pyi +125 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/jaraco/functools/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/more_itertools/__init__.pyi +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/more_itertools/more.pyi +709 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/more_itertools/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/more_itertools/recipes.pyi +136 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/packaging/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/platformdirs/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/tomli/py.typed +1 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/typeguard/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/sphinx/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/sphinxcontrib/applehelp/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/sphinxcontrib/htmlhelp/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/sphinxcontrib/qthelp/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/sphinxcontrib/serializinghtml/py.typed +0 -0
- py2docfx/venv/basevenv/Lib/site-packages/urllib3/_version.py +9 -4
- py2docfx/venv/basevenv/Lib/site-packages/urllib3/contrib/emscripten/response.py +8 -16
- py2docfx/venv/basevenv/Lib/site-packages/urllib3/contrib/pyopenssl.py +10 -0
- py2docfx/venv/basevenv/Lib/site-packages/urllib3/exceptions.py +12 -4
- py2docfx/venv/basevenv/Lib/site-packages/urllib3/http2/connection.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/urllib3/py.typed +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/urllib3/util/ssl_.py +21 -1
- py2docfx/venv/basevenv/Lib/site-packages/urllib3/util/ssl_match_hostname.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/wheel/__init__.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/wheel/__main__.py +7 -5
- py2docfx/venv/basevenv/Lib/site-packages/wheel/{cli → _commands}/__init__.py +3 -5
- py2docfx/venv/basevenv/Lib/site-packages/wheel/{cli → _commands}/convert.py +14 -9
- py2docfx/venv/basevenv/Lib/site-packages/wheel/{cli → _commands}/pack.py +1 -2
- py2docfx/venv/basevenv/Lib/site-packages/wheel/{cli → _commands}/tags.py +4 -3
- py2docfx/venv/basevenv/Lib/site-packages/wheel/_metadata.py +184 -0
- py2docfx/venv/basevenv/Lib/site-packages/wheel/bdist_wheel.py +12 -23
- py2docfx/venv/basevenv/Lib/site-packages/wheel/macosx_libfile.py +4 -0
- py2docfx/venv/basevenv/Lib/site-packages/wheel/metadata.py +17 -183
- py2docfx/venv/basevenv/Lib/site-packages/wheel/wheelfile.py +30 -16
- py2docfx/venv/venv1/Lib/site-packages/azure/core/_version.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/azure/core/credentials.py +5 -4
- py2docfx/venv/venv1/Lib/site-packages/azure/core/instrumentation.py +67 -0
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/_base.py +3 -1
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/_tools.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/policies/_authentication.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/policies/_authentication_async.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/policies/_distributed_tracing.py +152 -29
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/policies/_redirect.py +3 -2
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/policies/_redirect_async.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/policies/_retry.py +3 -10
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/policies/_retry_async.py +3 -8
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/policies/_universal.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/azure/core/pipeline/transport/_aiohttp.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/azure/core/polling/base_polling.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/azure/core/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/azure/core/rest/_http_response_impl_async.py +3 -0
- py2docfx/venv/venv1/Lib/site-packages/azure/core/rest/_rest_py3.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/azure/core/settings.py +27 -21
- py2docfx/venv/venv1/Lib/site-packages/azure/core/tracing/__init__.py +3 -7
- py2docfx/venv/venv1/Lib/site-packages/azure/core/tracing/_abstract_span.py +2 -35
- py2docfx/venv/venv1/Lib/site-packages/azure/core/tracing/_models.py +71 -0
- py2docfx/venv/venv1/Lib/site-packages/azure/core/tracing/common.py +12 -4
- py2docfx/venv/venv1/Lib/site-packages/azure/core/tracing/decorator.py +66 -13
- py2docfx/venv/venv1/Lib/site-packages/azure/core/tracing/decorator_async.py +62 -23
- py2docfx/venv/venv1/Lib/site-packages/azure/core/tracing/ext/opencensus_span/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/azure/core/tracing/opentelemetry.py +244 -0
- py2docfx/venv/venv1/Lib/site-packages/azure/core/utils/_connection_string_parser.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/azure/core/utils/_messaging_shared.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/azure/core/utils/_pipeline_transport_rest_shared.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/azure/core/utils/_utils.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/azure/identity/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/certifi/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/charset_normalizer/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/__init__.pyi +28 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/_openssl.pyi +8 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/asn1.pyi +7 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/exceptions.pyi +17 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/ocsp.pyi +117 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi +72 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/aead.pyi +103 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi +38 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi +18 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/dh.pyi +51 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi +41 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ec.pyi +52 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi +12 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi +12 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi +19 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi +21 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi +43 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/keys.pyi +33 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi +13 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi +55 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi +12 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/x448.pyi +12 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/pkcs12.pyi +46 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/pkcs7.pyi +49 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/test_support.pyi +22 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/hazmat/bindings/_rust/x509.pyi +246 -0
- py2docfx/venv/venv1/Lib/site-packages/cryptography/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/annotations_pb2.pyi +24 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/auth_pb2.pyi +120 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/backend_pb2.pyi +102 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/billing_pb2.pyi +50 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/client_pb2.pyi +405 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/config_change_pb2.pyi +65 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/consumer_pb2.pyi +62 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/context_pb2.pyi +60 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/control_pb2.pyi +43 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/distribution_pb2.pyi +144 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/documentation_pb2.pyi +86 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/endpoint_pb2.pyi +41 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/error_reason_pb2.pyi +90 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/field_behavior_pb2.pyi +45 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/field_info_pb2.pyi +60 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/http_pb2.pyi +94 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/httpbody_pb2.pyi +41 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/label_pb2.pyi +47 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/launch_stage_pb2.pyi +40 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/log_pb2.pyi +47 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/logging_pb2.pyi +57 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/metric_pb2.pyi +186 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/monitored_resource_pb2.pyi +104 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/monitoring_pb2.pyi +57 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/policy_pb2.pyi +57 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/quota_pb2.pyi +116 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/resource_pb2.pyi +93 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/routing_pb2.pyi +49 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/service_pb2.pyi +170 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/source_info_pb2.pyi +34 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/system_parameter_pb2.pyi +60 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/usage_pb2.pyi +55 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api/visibility_pb2.pyi +56 -0
- py2docfx/venv/venv1/Lib/site-packages/google/api_core/py.typed +2 -0
- py2docfx/venv/venv1/Lib/site-packages/google/auth/py.typed +2 -0
- py2docfx/venv/venv1/Lib/site-packages/google/cloud/extended_operations_pb2.pyi +45 -0
- py2docfx/venv/venv1/Lib/site-packages/google/cloud/location/locations_pb2.pyi +96 -0
- py2docfx/venv/venv1/Lib/site-packages/google/gapic/metadata/gapic_metadata_pb2.pyi +118 -0
- py2docfx/venv/venv1/Lib/site-packages/google/logging/type/http_request_pb2.pyi +91 -0
- py2docfx/venv/venv1/Lib/site-packages/google/logging/type/log_severity_pb2.pyi +42 -0
- py2docfx/venv/venv1/Lib/site-packages/google/longrunning/operations_proto_pb2.pyi +126 -0
- py2docfx/venv/venv1/Lib/site-packages/google/oauth2/py.typed +2 -0
- py2docfx/venv/venv1/Lib/site-packages/google/rpc/code_pb2.pyi +58 -0
- py2docfx/venv/venv1/Lib/site-packages/google/rpc/context/attribute_context_pb2.pyi +309 -0
- py2docfx/venv/venv1/Lib/site-packages/google/rpc/context/audit_context_pb2.pyi +51 -0
- py2docfx/venv/venv1/Lib/site-packages/google/rpc/error_details_pb2.pyi +207 -0
- py2docfx/venv/venv1/Lib/site-packages/google/rpc/http_pb2.pyi +71 -0
- py2docfx/venv/venv1/Lib/site-packages/google/rpc/status_pb2.pyi +41 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/calendar_period_pb2.pyi +40 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/color_pb2.pyi +42 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/date_pb2.pyi +36 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/datetime_pb2.pyi +77 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/dayofweek_pb2.pyi +40 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/decimal_pb2.pyi +27 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/expr_pb2.pyi +39 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/fraction_pb2.pyi +31 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/interval_pb2.pyi +36 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/latlng_pb2.pyi +31 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/localized_text_pb2.pyi +31 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/money_pb2.pyi +36 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/month_pb2.pyi +50 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/phone_number_pb2.pyi +48 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/postal_address_pb2.pyi +74 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/quaternion_pb2.pyi +39 -0
- py2docfx/venv/venv1/Lib/site-packages/google/type/timeofday_pb2.pyi +39 -0
- py2docfx/venv/venv1/Lib/site-packages/idna/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/jwt/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/packaging/__init__.py +15 -0
- py2docfx/venv/venv1/Lib/site-packages/{wheel/vendored/packaging → packaging}/_elffile.py +9 -7
- py2docfx/venv/{basevenv/Lib/site-packages/wheel/vendored → venv1/Lib/site-packages}/packaging/_manylinux.py +12 -9
- py2docfx/venv/{basevenv/Lib/site-packages/wheel/vendored → venv1/Lib/site-packages}/packaging/_musllinux.py +5 -3
- py2docfx/venv/venv1/Lib/site-packages/{wheel/vendored/packaging → packaging}/_parser.py +11 -13
- py2docfx/venv/{basevenv/Lib/site-packages/wheel/vendored → venv1/Lib/site-packages}/packaging/_tokenizer.py +10 -8
- py2docfx/venv/venv1/Lib/site-packages/packaging/licenses/__init__.py +145 -0
- py2docfx/venv/venv1/Lib/site-packages/packaging/licenses/_spdx.py +759 -0
- py2docfx/venv/venv1/Lib/site-packages/{wheel/vendored/packaging → packaging}/markers.py +103 -25
- py2docfx/venv/venv1/Lib/site-packages/packaging/metadata.py +863 -0
- py2docfx/venv/venv1/Lib/site-packages/packaging/py.typed +0 -0
- py2docfx/venv/{basevenv/Lib/site-packages/wheel/vendored → venv1/Lib/site-packages}/packaging/requirements.py +5 -4
- py2docfx/venv/{basevenv/Lib/site-packages/wheel/vendored → venv1/Lib/site-packages}/packaging/specifiers.py +40 -31
- py2docfx/venv/venv1/Lib/site-packages/{wheel/vendored/packaging → packaging}/tags.py +96 -50
- py2docfx/venv/{basevenv/Lib/site-packages/wheel/vendored → venv1/Lib/site-packages}/packaging/utils.py +39 -48
- py2docfx/venv/{basevenv/Lib/site-packages/wheel/vendored → venv1/Lib/site-packages}/packaging/version.py +53 -32
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/certifi/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/chardet/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/distro/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/idna/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/packaging/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/pyparsing/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/rich/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/tenacity/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/tomli/py.typed +1 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/_vendor/truststore/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pip/py.typed +4 -0
- py2docfx/venv/venv1/Lib/site-packages/pkg_resources/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/rsa/py.typed +1 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/importlib_metadata/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/inflect/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/jaraco/collections/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/jaraco/functools/__init__.pyi +125 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/jaraco/functools/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/more_itertools/__init__.pyi +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/more_itertools/more.pyi +709 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/more_itertools/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/more_itertools/recipes.pyi +136 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/packaging/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/platformdirs/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/tomli/py.typed +1 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/typeguard/py.typed +0 -0
- py2docfx/venv/venv1/Lib/site-packages/typing_extensions.py +30 -12
- py2docfx/venv/venv1/Lib/site-packages/urllib3/_version.py +9 -4
- py2docfx/venv/venv1/Lib/site-packages/urllib3/contrib/emscripten/response.py +8 -16
- py2docfx/venv/venv1/Lib/site-packages/urllib3/contrib/pyopenssl.py +10 -0
- py2docfx/venv/venv1/Lib/site-packages/urllib3/exceptions.py +12 -4
- py2docfx/venv/venv1/Lib/site-packages/urllib3/http2/connection.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/urllib3/py.typed +2 -0
- py2docfx/venv/venv1/Lib/site-packages/urllib3/util/ssl_.py +21 -1
- py2docfx/venv/venv1/Lib/site-packages/urllib3/util/ssl_match_hostname.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/wheel/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/wheel/__main__.py +7 -5
- py2docfx/venv/venv1/Lib/site-packages/wheel/{cli → _commands}/__init__.py +3 -5
- py2docfx/venv/venv1/Lib/site-packages/wheel/{cli → _commands}/convert.py +14 -9
- py2docfx/venv/venv1/Lib/site-packages/wheel/{cli → _commands}/pack.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/wheel/{cli → _commands}/tags.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/wheel/_metadata.py +184 -0
- py2docfx/venv/venv1/Lib/site-packages/wheel/bdist_wheel.py +12 -23
- py2docfx/venv/venv1/Lib/site-packages/wheel/macosx_libfile.py +4 -0
- py2docfx/venv/venv1/Lib/site-packages/wheel/metadata.py +17 -183
- py2docfx/venv/venv1/Lib/site-packages/wheel/wheelfile.py +30 -16
- {py2docfx-0.1.16.dev2051338.dist-info → py2docfx-0.1.16.dev2064350.dist-info}/METADATA +2 -3
- {py2docfx-0.1.16.dev2051338.dist-info → py2docfx-0.1.16.dev2064350.dist-info}/RECORD +263 -104
- {py2docfx-0.1.16.dev2051338.dist-info → py2docfx-0.1.16.dev2064350.dist-info}/WHEEL +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/wheel/_bdist_wheel.py +0 -613
- py2docfx/venv/basevenv/Lib/site-packages/wheel/_setuptools_logging.py +0 -26
- py2docfx/venv/basevenv/Lib/site-packages/wheel/util.py +0 -17
- py2docfx/venv/basevenv/Lib/site-packages/wheel/vendored/packaging/_elffile.py +0 -108
- py2docfx/venv/basevenv/Lib/site-packages/wheel/vendored/packaging/_parser.py +0 -356
- py2docfx/venv/basevenv/Lib/site-packages/wheel/vendored/packaging/markers.py +0 -253
- py2docfx/venv/basevenv/Lib/site-packages/wheel/vendored/packaging/tags.py +0 -571
- py2docfx/venv/venv1/Lib/site-packages/wheel/_bdist_wheel.py +0 -613
- py2docfx/venv/venv1/Lib/site-packages/wheel/_setuptools_logging.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/wheel/util.py +0 -17
- py2docfx/venv/venv1/Lib/site-packages/wheel/vendored/packaging/_manylinux.py +0 -260
- py2docfx/venv/venv1/Lib/site-packages/wheel/vendored/packaging/_musllinux.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/wheel/vendored/packaging/_structures.py +0 -61
- py2docfx/venv/venv1/Lib/site-packages/wheel/vendored/packaging/_tokenizer.py +0 -192
- py2docfx/venv/venv1/Lib/site-packages/wheel/vendored/packaging/requirements.py +0 -90
- py2docfx/venv/venv1/Lib/site-packages/wheel/vendored/packaging/specifiers.py +0 -1011
- py2docfx/venv/venv1/Lib/site-packages/wheel/vendored/packaging/utils.py +0 -172
- py2docfx/venv/venv1/Lib/site-packages/wheel/vendored/packaging/version.py +0 -561
- /py2docfx/venv/basevenv/Lib/site-packages/{wheel/vendored/__init__.py → certifi/py.typed} +0 -0
- /py2docfx/venv/basevenv/Lib/site-packages/{wheel/vendored/packaging/__init__.py → charset_normalizer/py.typed} +0 -0
- /py2docfx/venv/{venv1/Lib/site-packages/wheel/vendored/__init__.py → basevenv/Lib/site-packages/idna/py.typed} +0 -0
- /py2docfx/venv/{venv1/Lib/site-packages/wheel/vendored/packaging/__init__.py → basevenv/Lib/site-packages/jinja2/py.typed} +0 -0
- /py2docfx/venv/basevenv/Lib/site-packages/wheel/{cli → _commands}/unpack.py +0 -0
- /py2docfx/venv/{basevenv/Lib/site-packages/wheel/vendored → venv1/Lib/site-packages}/packaging/_structures.py +0 -0
- /py2docfx/venv/venv1/Lib/site-packages/wheel/{cli → _commands}/unpack.py +0 -0
- {py2docfx-0.1.16.dev2051338.dist-info → py2docfx-0.1.16.dev2064350.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,43 @@
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
3
|
+
# for complete details.
|
4
|
+
|
5
|
+
import typing
|
6
|
+
|
7
|
+
from cryptography.hazmat.primitives.hashes import HashAlgorithm
|
8
|
+
|
9
|
+
def derive_pbkdf2_hmac(
|
10
|
+
key_material: bytes,
|
11
|
+
algorithm: HashAlgorithm,
|
12
|
+
salt: bytes,
|
13
|
+
iterations: int,
|
14
|
+
length: int,
|
15
|
+
) -> bytes: ...
|
16
|
+
|
17
|
+
class Scrypt:
|
18
|
+
def __init__(
|
19
|
+
self,
|
20
|
+
salt: bytes,
|
21
|
+
length: int,
|
22
|
+
n: int,
|
23
|
+
r: int,
|
24
|
+
p: int,
|
25
|
+
backend: typing.Any = None,
|
26
|
+
) -> None: ...
|
27
|
+
def derive(self, key_material: bytes) -> bytes: ...
|
28
|
+
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
|
29
|
+
|
30
|
+
class Argon2id:
|
31
|
+
def __init__(
|
32
|
+
self,
|
33
|
+
*,
|
34
|
+
salt: bytes,
|
35
|
+
length: int,
|
36
|
+
iterations: int,
|
37
|
+
lanes: int,
|
38
|
+
memory_cost: int,
|
39
|
+
ad: bytes | None = None,
|
40
|
+
secret: bytes | None = None,
|
41
|
+
) -> None: ...
|
42
|
+
def derive(self, key_material: bytes) -> bytes: ...
|
43
|
+
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
3
|
+
# for complete details.
|
4
|
+
|
5
|
+
import typing
|
6
|
+
|
7
|
+
from cryptography.hazmat.primitives.asymmetric.types import (
|
8
|
+
PrivateKeyTypes,
|
9
|
+
PublicKeyTypes,
|
10
|
+
)
|
11
|
+
|
12
|
+
def load_der_private_key(
|
13
|
+
data: bytes,
|
14
|
+
password: bytes | None,
|
15
|
+
backend: typing.Any = None,
|
16
|
+
*,
|
17
|
+
unsafe_skip_rsa_key_validation: bool = False,
|
18
|
+
) -> PrivateKeyTypes: ...
|
19
|
+
def load_pem_private_key(
|
20
|
+
data: bytes,
|
21
|
+
password: bytes | None,
|
22
|
+
backend: typing.Any = None,
|
23
|
+
*,
|
24
|
+
unsafe_skip_rsa_key_validation: bool = False,
|
25
|
+
) -> PrivateKeyTypes: ...
|
26
|
+
def load_der_public_key(
|
27
|
+
data: bytes,
|
28
|
+
backend: typing.Any = None,
|
29
|
+
) -> PublicKeyTypes: ...
|
30
|
+
def load_pem_public_key(
|
31
|
+
data: bytes,
|
32
|
+
backend: typing.Any = None,
|
33
|
+
) -> PublicKeyTypes: ...
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
3
|
+
# for complete details.
|
4
|
+
|
5
|
+
class Poly1305:
|
6
|
+
def __init__(self, key: bytes) -> None: ...
|
7
|
+
@staticmethod
|
8
|
+
def generate_tag(key: bytes, data: bytes) -> bytes: ...
|
9
|
+
@staticmethod
|
10
|
+
def verify_tag(key: bytes, data: bytes, tag: bytes) -> None: ...
|
11
|
+
def update(self, data: bytes) -> None: ...
|
12
|
+
def finalize(self) -> bytes: ...
|
13
|
+
def verify(self, tag: bytes) -> None: ...
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
3
|
+
# for complete details.
|
4
|
+
|
5
|
+
import typing
|
6
|
+
|
7
|
+
from cryptography.hazmat.primitives.asymmetric import rsa
|
8
|
+
|
9
|
+
class RSAPrivateKey: ...
|
10
|
+
class RSAPublicKey: ...
|
11
|
+
|
12
|
+
class RSAPrivateNumbers:
|
13
|
+
def __init__(
|
14
|
+
self,
|
15
|
+
p: int,
|
16
|
+
q: int,
|
17
|
+
d: int,
|
18
|
+
dmp1: int,
|
19
|
+
dmq1: int,
|
20
|
+
iqmp: int,
|
21
|
+
public_numbers: RSAPublicNumbers,
|
22
|
+
) -> None: ...
|
23
|
+
@property
|
24
|
+
def p(self) -> int: ...
|
25
|
+
@property
|
26
|
+
def q(self) -> int: ...
|
27
|
+
@property
|
28
|
+
def d(self) -> int: ...
|
29
|
+
@property
|
30
|
+
def dmp1(self) -> int: ...
|
31
|
+
@property
|
32
|
+
def dmq1(self) -> int: ...
|
33
|
+
@property
|
34
|
+
def iqmp(self) -> int: ...
|
35
|
+
@property
|
36
|
+
def public_numbers(self) -> RSAPublicNumbers: ...
|
37
|
+
def private_key(
|
38
|
+
self,
|
39
|
+
backend: typing.Any = None,
|
40
|
+
*,
|
41
|
+
unsafe_skip_rsa_key_validation: bool = False,
|
42
|
+
) -> rsa.RSAPrivateKey: ...
|
43
|
+
|
44
|
+
class RSAPublicNumbers:
|
45
|
+
def __init__(self, e: int, n: int) -> None: ...
|
46
|
+
@property
|
47
|
+
def n(self) -> int: ...
|
48
|
+
@property
|
49
|
+
def e(self) -> int: ...
|
50
|
+
def public_key(self, backend: typing.Any = None) -> rsa.RSAPublicKey: ...
|
51
|
+
|
52
|
+
def generate_private_key(
|
53
|
+
public_exponent: int,
|
54
|
+
key_size: int,
|
55
|
+
) -> rsa.RSAPrivateKey: ...
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
3
|
+
# for complete details.
|
4
|
+
|
5
|
+
from cryptography.hazmat.primitives.asymmetric import x25519
|
6
|
+
|
7
|
+
class X25519PrivateKey: ...
|
8
|
+
class X25519PublicKey: ...
|
9
|
+
|
10
|
+
def generate_key() -> x25519.X25519PrivateKey: ...
|
11
|
+
def from_private_bytes(data: bytes) -> x25519.X25519PrivateKey: ...
|
12
|
+
def from_public_bytes(data: bytes) -> x25519.X25519PublicKey: ...
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
3
|
+
# for complete details.
|
4
|
+
|
5
|
+
from cryptography.hazmat.primitives.asymmetric import x448
|
6
|
+
|
7
|
+
class X448PrivateKey: ...
|
8
|
+
class X448PublicKey: ...
|
9
|
+
|
10
|
+
def generate_key() -> x448.X448PrivateKey: ...
|
11
|
+
def from_private_bytes(data: bytes) -> x448.X448PrivateKey: ...
|
12
|
+
def from_public_bytes(data: bytes) -> x448.X448PublicKey: ...
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
3
|
+
# for complete details.
|
4
|
+
|
5
|
+
import typing
|
6
|
+
|
7
|
+
from cryptography import x509
|
8
|
+
from cryptography.hazmat.primitives.asymmetric.types import PrivateKeyTypes
|
9
|
+
from cryptography.hazmat.primitives.serialization import (
|
10
|
+
KeySerializationEncryption,
|
11
|
+
)
|
12
|
+
from cryptography.hazmat.primitives.serialization.pkcs12 import (
|
13
|
+
PKCS12KeyAndCertificates,
|
14
|
+
PKCS12PrivateKeyTypes,
|
15
|
+
)
|
16
|
+
|
17
|
+
class PKCS12Certificate:
|
18
|
+
def __init__(
|
19
|
+
self, cert: x509.Certificate, friendly_name: bytes | None
|
20
|
+
) -> None: ...
|
21
|
+
@property
|
22
|
+
def friendly_name(self) -> bytes | None: ...
|
23
|
+
@property
|
24
|
+
def certificate(self) -> x509.Certificate: ...
|
25
|
+
|
26
|
+
def load_key_and_certificates(
|
27
|
+
data: bytes,
|
28
|
+
password: bytes | None,
|
29
|
+
backend: typing.Any = None,
|
30
|
+
) -> tuple[
|
31
|
+
PrivateKeyTypes | None,
|
32
|
+
x509.Certificate | None,
|
33
|
+
list[x509.Certificate],
|
34
|
+
]: ...
|
35
|
+
def load_pkcs12(
|
36
|
+
data: bytes,
|
37
|
+
password: bytes | None,
|
38
|
+
backend: typing.Any = None,
|
39
|
+
) -> PKCS12KeyAndCertificates: ...
|
40
|
+
def serialize_key_and_certificates(
|
41
|
+
name: bytes | None,
|
42
|
+
key: PKCS12PrivateKeyTypes | None,
|
43
|
+
cert: x509.Certificate | None,
|
44
|
+
cas: typing.Iterable[x509.Certificate | PKCS12Certificate] | None,
|
45
|
+
encryption_algorithm: KeySerializationEncryption,
|
46
|
+
) -> bytes: ...
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
3
|
+
# for complete details.
|
4
|
+
|
5
|
+
import typing
|
6
|
+
|
7
|
+
from cryptography import x509
|
8
|
+
from cryptography.hazmat.primitives import serialization
|
9
|
+
from cryptography.hazmat.primitives.asymmetric import rsa
|
10
|
+
from cryptography.hazmat.primitives.serialization import pkcs7
|
11
|
+
|
12
|
+
def serialize_certificates(
|
13
|
+
certs: list[x509.Certificate],
|
14
|
+
encoding: serialization.Encoding,
|
15
|
+
) -> bytes: ...
|
16
|
+
def encrypt_and_serialize(
|
17
|
+
builder: pkcs7.PKCS7EnvelopeBuilder,
|
18
|
+
encoding: serialization.Encoding,
|
19
|
+
options: typing.Iterable[pkcs7.PKCS7Options],
|
20
|
+
) -> bytes: ...
|
21
|
+
def sign_and_serialize(
|
22
|
+
builder: pkcs7.PKCS7SignatureBuilder,
|
23
|
+
encoding: serialization.Encoding,
|
24
|
+
options: typing.Iterable[pkcs7.PKCS7Options],
|
25
|
+
) -> bytes: ...
|
26
|
+
def decrypt_der(
|
27
|
+
data: bytes,
|
28
|
+
certificate: x509.Certificate,
|
29
|
+
private_key: rsa.RSAPrivateKey,
|
30
|
+
options: typing.Iterable[pkcs7.PKCS7Options],
|
31
|
+
) -> bytes: ...
|
32
|
+
def decrypt_pem(
|
33
|
+
data: bytes,
|
34
|
+
certificate: x509.Certificate,
|
35
|
+
private_key: rsa.RSAPrivateKey,
|
36
|
+
options: typing.Iterable[pkcs7.PKCS7Options],
|
37
|
+
) -> bytes: ...
|
38
|
+
def decrypt_smime(
|
39
|
+
data: bytes,
|
40
|
+
certificate: x509.Certificate,
|
41
|
+
private_key: rsa.RSAPrivateKey,
|
42
|
+
options: typing.Iterable[pkcs7.PKCS7Options],
|
43
|
+
) -> bytes: ...
|
44
|
+
def load_pem_pkcs7_certificates(
|
45
|
+
data: bytes,
|
46
|
+
) -> list[x509.Certificate]: ...
|
47
|
+
def load_der_pkcs7_certificates(
|
48
|
+
data: bytes,
|
49
|
+
) -> list[x509.Certificate]: ...
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
3
|
+
# for complete details.
|
4
|
+
|
5
|
+
from cryptography import x509
|
6
|
+
from cryptography.hazmat.primitives import serialization
|
7
|
+
from cryptography.hazmat.primitives.serialization import pkcs7
|
8
|
+
|
9
|
+
class TestCertificate:
|
10
|
+
not_after_tag: int
|
11
|
+
not_before_tag: int
|
12
|
+
issuer_value_tags: list[int]
|
13
|
+
subject_value_tags: list[int]
|
14
|
+
|
15
|
+
def test_parse_certificate(data: bytes) -> TestCertificate: ...
|
16
|
+
def pkcs7_verify(
|
17
|
+
encoding: serialization.Encoding,
|
18
|
+
sig: bytes,
|
19
|
+
msg: bytes | None,
|
20
|
+
certs: list[x509.Certificate],
|
21
|
+
options: list[pkcs7.PKCS7Options],
|
22
|
+
) -> None: ...
|
@@ -0,0 +1,246 @@
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
3
|
+
# for complete details.
|
4
|
+
|
5
|
+
import datetime
|
6
|
+
import typing
|
7
|
+
|
8
|
+
from cryptography import x509
|
9
|
+
from cryptography.hazmat.primitives import hashes, serialization
|
10
|
+
from cryptography.hazmat.primitives.asymmetric.ec import ECDSA
|
11
|
+
from cryptography.hazmat.primitives.asymmetric.padding import PSS, PKCS1v15
|
12
|
+
from cryptography.hazmat.primitives.asymmetric.types import (
|
13
|
+
CertificateIssuerPublicKeyTypes,
|
14
|
+
CertificatePublicKeyTypes,
|
15
|
+
PrivateKeyTypes,
|
16
|
+
)
|
17
|
+
from cryptography.x509 import certificate_transparency
|
18
|
+
|
19
|
+
def load_pem_x509_certificate(
|
20
|
+
data: bytes, backend: typing.Any = None
|
21
|
+
) -> x509.Certificate: ...
|
22
|
+
def load_der_x509_certificate(
|
23
|
+
data: bytes, backend: typing.Any = None
|
24
|
+
) -> x509.Certificate: ...
|
25
|
+
def load_pem_x509_certificates(
|
26
|
+
data: bytes,
|
27
|
+
) -> list[x509.Certificate]: ...
|
28
|
+
def load_pem_x509_crl(
|
29
|
+
data: bytes, backend: typing.Any = None
|
30
|
+
) -> x509.CertificateRevocationList: ...
|
31
|
+
def load_der_x509_crl(
|
32
|
+
data: bytes, backend: typing.Any = None
|
33
|
+
) -> x509.CertificateRevocationList: ...
|
34
|
+
def load_pem_x509_csr(
|
35
|
+
data: bytes, backend: typing.Any = None
|
36
|
+
) -> x509.CertificateSigningRequest: ...
|
37
|
+
def load_der_x509_csr(
|
38
|
+
data: bytes, backend: typing.Any = None
|
39
|
+
) -> x509.CertificateSigningRequest: ...
|
40
|
+
def encode_name_bytes(name: x509.Name) -> bytes: ...
|
41
|
+
def encode_extension_value(extension: x509.ExtensionType) -> bytes: ...
|
42
|
+
def create_x509_certificate(
|
43
|
+
builder: x509.CertificateBuilder,
|
44
|
+
private_key: PrivateKeyTypes,
|
45
|
+
hash_algorithm: hashes.HashAlgorithm | None,
|
46
|
+
rsa_padding: PKCS1v15 | PSS | None,
|
47
|
+
) -> x509.Certificate: ...
|
48
|
+
def create_x509_csr(
|
49
|
+
builder: x509.CertificateSigningRequestBuilder,
|
50
|
+
private_key: PrivateKeyTypes,
|
51
|
+
hash_algorithm: hashes.HashAlgorithm | None,
|
52
|
+
rsa_padding: PKCS1v15 | PSS | None,
|
53
|
+
) -> x509.CertificateSigningRequest: ...
|
54
|
+
def create_x509_crl(
|
55
|
+
builder: x509.CertificateRevocationListBuilder,
|
56
|
+
private_key: PrivateKeyTypes,
|
57
|
+
hash_algorithm: hashes.HashAlgorithm | None,
|
58
|
+
rsa_padding: PKCS1v15 | PSS | None,
|
59
|
+
) -> x509.CertificateRevocationList: ...
|
60
|
+
|
61
|
+
class Sct:
|
62
|
+
@property
|
63
|
+
def version(self) -> certificate_transparency.Version: ...
|
64
|
+
@property
|
65
|
+
def log_id(self) -> bytes: ...
|
66
|
+
@property
|
67
|
+
def timestamp(self) -> datetime.datetime: ...
|
68
|
+
@property
|
69
|
+
def entry_type(self) -> certificate_transparency.LogEntryType: ...
|
70
|
+
@property
|
71
|
+
def signature_hash_algorithm(self) -> hashes.HashAlgorithm: ...
|
72
|
+
@property
|
73
|
+
def signature_algorithm(
|
74
|
+
self,
|
75
|
+
) -> certificate_transparency.SignatureAlgorithm: ...
|
76
|
+
@property
|
77
|
+
def signature(self) -> bytes: ...
|
78
|
+
@property
|
79
|
+
def extension_bytes(self) -> bytes: ...
|
80
|
+
|
81
|
+
class Certificate:
|
82
|
+
def fingerprint(self, algorithm: hashes.HashAlgorithm) -> bytes: ...
|
83
|
+
@property
|
84
|
+
def serial_number(self) -> int: ...
|
85
|
+
@property
|
86
|
+
def version(self) -> x509.Version: ...
|
87
|
+
def public_key(self) -> CertificatePublicKeyTypes: ...
|
88
|
+
@property
|
89
|
+
def public_key_algorithm_oid(self) -> x509.ObjectIdentifier: ...
|
90
|
+
@property
|
91
|
+
def not_valid_before(self) -> datetime.datetime: ...
|
92
|
+
@property
|
93
|
+
def not_valid_before_utc(self) -> datetime.datetime: ...
|
94
|
+
@property
|
95
|
+
def not_valid_after(self) -> datetime.datetime: ...
|
96
|
+
@property
|
97
|
+
def not_valid_after_utc(self) -> datetime.datetime: ...
|
98
|
+
@property
|
99
|
+
def issuer(self) -> x509.Name: ...
|
100
|
+
@property
|
101
|
+
def subject(self) -> x509.Name: ...
|
102
|
+
@property
|
103
|
+
def signature_hash_algorithm(
|
104
|
+
self,
|
105
|
+
) -> hashes.HashAlgorithm | None: ...
|
106
|
+
@property
|
107
|
+
def signature_algorithm_oid(self) -> x509.ObjectIdentifier: ...
|
108
|
+
@property
|
109
|
+
def signature_algorithm_parameters(
|
110
|
+
self,
|
111
|
+
) -> None | PSS | PKCS1v15 | ECDSA: ...
|
112
|
+
@property
|
113
|
+
def extensions(self) -> x509.Extensions: ...
|
114
|
+
@property
|
115
|
+
def signature(self) -> bytes: ...
|
116
|
+
@property
|
117
|
+
def tbs_certificate_bytes(self) -> bytes: ...
|
118
|
+
@property
|
119
|
+
def tbs_precertificate_bytes(self) -> bytes: ...
|
120
|
+
def __eq__(self, other: object) -> bool: ...
|
121
|
+
def __hash__(self) -> int: ...
|
122
|
+
def public_bytes(self, encoding: serialization.Encoding) -> bytes: ...
|
123
|
+
def verify_directly_issued_by(self, issuer: Certificate) -> None: ...
|
124
|
+
|
125
|
+
class RevokedCertificate: ...
|
126
|
+
|
127
|
+
class CertificateRevocationList:
|
128
|
+
def public_bytes(self, encoding: serialization.Encoding) -> bytes: ...
|
129
|
+
def fingerprint(self, algorithm: hashes.HashAlgorithm) -> bytes: ...
|
130
|
+
def get_revoked_certificate_by_serial_number(
|
131
|
+
self, serial_number: int
|
132
|
+
) -> RevokedCertificate | None: ...
|
133
|
+
@property
|
134
|
+
def signature_hash_algorithm(
|
135
|
+
self,
|
136
|
+
) -> hashes.HashAlgorithm | None: ...
|
137
|
+
@property
|
138
|
+
def signature_algorithm_oid(self) -> x509.ObjectIdentifier: ...
|
139
|
+
@property
|
140
|
+
def signature_algorithm_parameters(
|
141
|
+
self,
|
142
|
+
) -> None | PSS | PKCS1v15 | ECDSA: ...
|
143
|
+
@property
|
144
|
+
def issuer(self) -> x509.Name: ...
|
145
|
+
@property
|
146
|
+
def next_update(self) -> datetime.datetime | None: ...
|
147
|
+
@property
|
148
|
+
def next_update_utc(self) -> datetime.datetime | None: ...
|
149
|
+
@property
|
150
|
+
def last_update(self) -> datetime.datetime: ...
|
151
|
+
@property
|
152
|
+
def last_update_utc(self) -> datetime.datetime: ...
|
153
|
+
@property
|
154
|
+
def extensions(self) -> x509.Extensions: ...
|
155
|
+
@property
|
156
|
+
def signature(self) -> bytes: ...
|
157
|
+
@property
|
158
|
+
def tbs_certlist_bytes(self) -> bytes: ...
|
159
|
+
def __eq__(self, other: object) -> bool: ...
|
160
|
+
def __len__(self) -> int: ...
|
161
|
+
@typing.overload
|
162
|
+
def __getitem__(self, idx: int) -> x509.RevokedCertificate: ...
|
163
|
+
@typing.overload
|
164
|
+
def __getitem__(self, idx: slice) -> list[x509.RevokedCertificate]: ...
|
165
|
+
def __iter__(self) -> typing.Iterator[x509.RevokedCertificate]: ...
|
166
|
+
def is_signature_valid(
|
167
|
+
self, public_key: CertificateIssuerPublicKeyTypes
|
168
|
+
) -> bool: ...
|
169
|
+
|
170
|
+
class CertificateSigningRequest:
|
171
|
+
def __eq__(self, other: object) -> bool: ...
|
172
|
+
def __hash__(self) -> int: ...
|
173
|
+
def public_key(self) -> CertificatePublicKeyTypes: ...
|
174
|
+
@property
|
175
|
+
def subject(self) -> x509.Name: ...
|
176
|
+
@property
|
177
|
+
def signature_hash_algorithm(
|
178
|
+
self,
|
179
|
+
) -> hashes.HashAlgorithm | None: ...
|
180
|
+
@property
|
181
|
+
def signature_algorithm_oid(self) -> x509.ObjectIdentifier: ...
|
182
|
+
@property
|
183
|
+
def signature_algorithm_parameters(
|
184
|
+
self,
|
185
|
+
) -> None | PSS | PKCS1v15 | ECDSA: ...
|
186
|
+
@property
|
187
|
+
def extensions(self) -> x509.Extensions: ...
|
188
|
+
@property
|
189
|
+
def attributes(self) -> x509.Attributes: ...
|
190
|
+
def public_bytes(self, encoding: serialization.Encoding) -> bytes: ...
|
191
|
+
@property
|
192
|
+
def signature(self) -> bytes: ...
|
193
|
+
@property
|
194
|
+
def tbs_certrequest_bytes(self) -> bytes: ...
|
195
|
+
@property
|
196
|
+
def is_signature_valid(self) -> bool: ...
|
197
|
+
def get_attribute_for_oid(self, oid: x509.ObjectIdentifier) -> bytes: ...
|
198
|
+
|
199
|
+
class PolicyBuilder:
|
200
|
+
def time(self, new_time: datetime.datetime) -> PolicyBuilder: ...
|
201
|
+
def store(self, new_store: Store) -> PolicyBuilder: ...
|
202
|
+
def max_chain_depth(self, new_max_chain_depth: int) -> PolicyBuilder: ...
|
203
|
+
def build_client_verifier(self) -> ClientVerifier: ...
|
204
|
+
def build_server_verifier(
|
205
|
+
self, subject: x509.verification.Subject
|
206
|
+
) -> ServerVerifier: ...
|
207
|
+
|
208
|
+
class VerifiedClient:
|
209
|
+
@property
|
210
|
+
def subjects(self) -> list[x509.GeneralName] | None: ...
|
211
|
+
@property
|
212
|
+
def chain(self) -> list[x509.Certificate]: ...
|
213
|
+
|
214
|
+
class ClientVerifier:
|
215
|
+
@property
|
216
|
+
def validation_time(self) -> datetime.datetime: ...
|
217
|
+
@property
|
218
|
+
def store(self) -> Store: ...
|
219
|
+
@property
|
220
|
+
def max_chain_depth(self) -> int: ...
|
221
|
+
def verify(
|
222
|
+
self,
|
223
|
+
leaf: x509.Certificate,
|
224
|
+
intermediates: list[x509.Certificate],
|
225
|
+
) -> VerifiedClient: ...
|
226
|
+
|
227
|
+
class ServerVerifier:
|
228
|
+
@property
|
229
|
+
def subject(self) -> x509.verification.Subject: ...
|
230
|
+
@property
|
231
|
+
def validation_time(self) -> datetime.datetime: ...
|
232
|
+
@property
|
233
|
+
def store(self) -> Store: ...
|
234
|
+
@property
|
235
|
+
def max_chain_depth(self) -> int: ...
|
236
|
+
def verify(
|
237
|
+
self,
|
238
|
+
leaf: x509.Certificate,
|
239
|
+
intermediates: list[x509.Certificate],
|
240
|
+
) -> list[x509.Certificate]: ...
|
241
|
+
|
242
|
+
class Store:
|
243
|
+
def __init__(self, certs: list[x509.Certificate]) -> None: ...
|
244
|
+
|
245
|
+
class VerificationError(Exception):
|
246
|
+
pass
|
File without changes
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Copyright 2025 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
from typing import ClassVar as _ClassVar
|
16
|
+
|
17
|
+
from google.protobuf import descriptor as _descriptor
|
18
|
+
from google.protobuf import descriptor_pb2 as _descriptor_pb2
|
19
|
+
|
20
|
+
from google.api import http_pb2 as _http_pb2
|
21
|
+
|
22
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
23
|
+
HTTP_FIELD_NUMBER: _ClassVar[int]
|
24
|
+
http: _descriptor.FieldDescriptor
|
@@ -0,0 +1,120 @@
|
|
1
|
+
# Copyright 2025 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
from typing import ClassVar as _ClassVar
|
16
|
+
from typing import Iterable as _Iterable
|
17
|
+
from typing import Mapping as _Mapping
|
18
|
+
from typing import Optional as _Optional
|
19
|
+
from typing import Union as _Union
|
20
|
+
|
21
|
+
from google.protobuf import descriptor as _descriptor
|
22
|
+
from google.protobuf import message as _message
|
23
|
+
from google.protobuf.internal import containers as _containers
|
24
|
+
|
25
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
26
|
+
|
27
|
+
class Authentication(_message.Message):
|
28
|
+
__slots__ = ("rules", "providers")
|
29
|
+
RULES_FIELD_NUMBER: _ClassVar[int]
|
30
|
+
PROVIDERS_FIELD_NUMBER: _ClassVar[int]
|
31
|
+
rules: _containers.RepeatedCompositeFieldContainer[AuthenticationRule]
|
32
|
+
providers: _containers.RepeatedCompositeFieldContainer[AuthProvider]
|
33
|
+
def __init__(
|
34
|
+
self,
|
35
|
+
rules: _Optional[_Iterable[_Union[AuthenticationRule, _Mapping]]] = ...,
|
36
|
+
providers: _Optional[_Iterable[_Union[AuthProvider, _Mapping]]] = ...,
|
37
|
+
) -> None: ...
|
38
|
+
|
39
|
+
class AuthenticationRule(_message.Message):
|
40
|
+
__slots__ = ("selector", "oauth", "allow_without_credential", "requirements")
|
41
|
+
SELECTOR_FIELD_NUMBER: _ClassVar[int]
|
42
|
+
OAUTH_FIELD_NUMBER: _ClassVar[int]
|
43
|
+
ALLOW_WITHOUT_CREDENTIAL_FIELD_NUMBER: _ClassVar[int]
|
44
|
+
REQUIREMENTS_FIELD_NUMBER: _ClassVar[int]
|
45
|
+
selector: str
|
46
|
+
oauth: OAuthRequirements
|
47
|
+
allow_without_credential: bool
|
48
|
+
requirements: _containers.RepeatedCompositeFieldContainer[AuthRequirement]
|
49
|
+
def __init__(
|
50
|
+
self,
|
51
|
+
selector: _Optional[str] = ...,
|
52
|
+
oauth: _Optional[_Union[OAuthRequirements, _Mapping]] = ...,
|
53
|
+
allow_without_credential: bool = ...,
|
54
|
+
requirements: _Optional[_Iterable[_Union[AuthRequirement, _Mapping]]] = ...,
|
55
|
+
) -> None: ...
|
56
|
+
|
57
|
+
class JwtLocation(_message.Message):
|
58
|
+
__slots__ = ("header", "query", "cookie", "value_prefix")
|
59
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
60
|
+
QUERY_FIELD_NUMBER: _ClassVar[int]
|
61
|
+
COOKIE_FIELD_NUMBER: _ClassVar[int]
|
62
|
+
VALUE_PREFIX_FIELD_NUMBER: _ClassVar[int]
|
63
|
+
header: str
|
64
|
+
query: str
|
65
|
+
cookie: str
|
66
|
+
value_prefix: str
|
67
|
+
def __init__(
|
68
|
+
self,
|
69
|
+
header: _Optional[str] = ...,
|
70
|
+
query: _Optional[str] = ...,
|
71
|
+
cookie: _Optional[str] = ...,
|
72
|
+
value_prefix: _Optional[str] = ...,
|
73
|
+
) -> None: ...
|
74
|
+
|
75
|
+
class AuthProvider(_message.Message):
|
76
|
+
__slots__ = (
|
77
|
+
"id",
|
78
|
+
"issuer",
|
79
|
+
"jwks_uri",
|
80
|
+
"audiences",
|
81
|
+
"authorization_url",
|
82
|
+
"jwt_locations",
|
83
|
+
)
|
84
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
85
|
+
ISSUER_FIELD_NUMBER: _ClassVar[int]
|
86
|
+
JWKS_URI_FIELD_NUMBER: _ClassVar[int]
|
87
|
+
AUDIENCES_FIELD_NUMBER: _ClassVar[int]
|
88
|
+
AUTHORIZATION_URL_FIELD_NUMBER: _ClassVar[int]
|
89
|
+
JWT_LOCATIONS_FIELD_NUMBER: _ClassVar[int]
|
90
|
+
id: str
|
91
|
+
issuer: str
|
92
|
+
jwks_uri: str
|
93
|
+
audiences: str
|
94
|
+
authorization_url: str
|
95
|
+
jwt_locations: _containers.RepeatedCompositeFieldContainer[JwtLocation]
|
96
|
+
def __init__(
|
97
|
+
self,
|
98
|
+
id: _Optional[str] = ...,
|
99
|
+
issuer: _Optional[str] = ...,
|
100
|
+
jwks_uri: _Optional[str] = ...,
|
101
|
+
audiences: _Optional[str] = ...,
|
102
|
+
authorization_url: _Optional[str] = ...,
|
103
|
+
jwt_locations: _Optional[_Iterable[_Union[JwtLocation, _Mapping]]] = ...,
|
104
|
+
) -> None: ...
|
105
|
+
|
106
|
+
class OAuthRequirements(_message.Message):
|
107
|
+
__slots__ = ("canonical_scopes",)
|
108
|
+
CANONICAL_SCOPES_FIELD_NUMBER: _ClassVar[int]
|
109
|
+
canonical_scopes: str
|
110
|
+
def __init__(self, canonical_scopes: _Optional[str] = ...) -> None: ...
|
111
|
+
|
112
|
+
class AuthRequirement(_message.Message):
|
113
|
+
__slots__ = ("provider_id", "audiences")
|
114
|
+
PROVIDER_ID_FIELD_NUMBER: _ClassVar[int]
|
115
|
+
AUDIENCES_FIELD_NUMBER: _ClassVar[int]
|
116
|
+
provider_id: str
|
117
|
+
audiences: str
|
118
|
+
def __init__(
|
119
|
+
self, provider_id: _Optional[str] = ..., audiences: _Optional[str] = ...
|
120
|
+
) -> None: ...
|