raindancers-cloudfront 0.0.34 → 0.0.35
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.
- package/lib/cloudfront/lambda-bundled/cognito-auth/__pycache__/six.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/_cffi_gen_src.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/_imp_emulation.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/_shimmed_dist_utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/api.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/backend_ctypes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/cffi_opcode.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/commontypes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/cparser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/error.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/ffiplatform.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/gen_src.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/lock.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/model.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/pkgconfig.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/recompiler.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/setuptools_ext.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/vengine_cpy.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/vengine_gen.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/verifier.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/__about__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/fernet.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/__pycache__/_oid.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/aead.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/backend.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/ciphers.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/cmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/decode_asn1.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/ec.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/rsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/openssl/__pycache__/_conditional.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/openssl/__pycache__/binding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/_asymmetric.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/_cipheralgorithm.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/_serialization.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/cmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/constant_time.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/hashes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/hmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/keywrap.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/padding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/poly1305.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dh.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ec.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed25519.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed448.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/padding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/rsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/types.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x25519.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x448.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/aead.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/algorithms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/modes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/concatkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/hkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/kbkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/pbkdf2.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/scrypt.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/x963kdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs12.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs7.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/ssh.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/twofactor/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/twofactor/__pycache__/hotp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/twofactor/__pycache__/totp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/certificate_transparency.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/extensions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/general_name.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/name.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/ocsp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/oid.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/algorithms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/api_jwk.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/api_jws.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/api_jwt.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/help.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/jwk_set_cache.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/jwks_client.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/types.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/warnings.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/_ast_gen.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/ast_transforms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_ast.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_generator.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_lexer.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_parser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/bin/pyrsa-decrypt +8 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/bin/pyrsa-encrypt +8 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/bin/pyrsa-keygen +8 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/bin/pyrsa-priv2pub +8 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/bin/pyrsa-sign +8 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/bin/pyrsa-verify +8 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/__init__.py +2 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/__pycache__/debug.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/__pycache__/error.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/__init__.py +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/__pycache__/streaming.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__init__.py +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/decoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/encoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/eoo.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/decoder.py +2189 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/encoder.py +954 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/eoo.py +28 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/__init__.py +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/__pycache__/decoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/__pycache__/encoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/decoder.py +149 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/encoder.py +331 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/__init__.py +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/__pycache__/decoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/__pycache__/encoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/decoder.py +120 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/encoder.py +126 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/__init__.py +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/__pycache__/decoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/__pycache__/encoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/decoder.py +244 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/encoder.py +285 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/streaming.py +234 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/compat/__init__.py +4 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/compat/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/compat/__pycache__/integer.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/compat/integer.py +13 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/debug.py +146 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/error.py +116 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__init__.py +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/char.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/constraint.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/error.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/namedtype.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/namedval.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/opentype.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/tag.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/tagmap.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/univ.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/useful.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/base.py +699 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/char.py +288 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/constraint.py +751 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/error.py +11 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/namedtype.py +550 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/namedval.py +192 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/opentype.py +104 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/tag.py +335 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/tagmap.py +96 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/univ.py +3327 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/useful.py +189 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1-0.6.1.dist-info/INSTALLER +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1-0.6.1.dist-info/LICENSE.rst +24 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1-0.6.1.dist-info/METADATA +228 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1-0.6.1.dist-info/RECORD +72 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1-0.6.1.dist-info/REQUESTED +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1-0.6.1.dist-info/WHEEL +5 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1-0.6.1.dist-info/top_level.txt +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1-0.6.1.dist-info/zip-safe +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__init__.py +60 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/asn1.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/cli.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/common.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/core.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/key.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/parallel.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/pem.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/pkcs1.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/pkcs1_v2.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/prime.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/randnum.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/transform.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/util.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/asn1.py +52 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/cli.py +321 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/common.py +184 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/core.py +53 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/key.py +858 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/parallel.py +96 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/pem.py +134 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/pkcs1.py +485 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/pkcs1_v2.py +100 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/prime.py +198 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/py.typed +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/randnum.py +95 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/transform.py +72 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/util.py +97 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa-4.9.dist-info/INSTALLER +1 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa-4.9.dist-info/LICENSE +13 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa-4.9.dist-info/METADATA +106 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa-4.9.dist-info/RECORD +42 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa-4.9.dist-info/REQUESTED +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa-4.9.dist-info/WHEEL +4 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa-4.9.dist-info/entry_points.txt +8 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/__pycache__/six.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/_cffi_gen_src.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/_imp_emulation.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/_shimmed_dist_utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/api.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/backend_ctypes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/cffi_opcode.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/commontypes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/cparser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/error.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/ffiplatform.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/gen_src.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/lock.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/model.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/pkgconfig.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/recompiler.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/setuptools_ext.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/vengine_cpy.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/vengine_gen.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/verifier.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/__about__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/fernet.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/__pycache__/_oid.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/aead.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/backend.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/ciphers.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/cmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/decode_asn1.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/ec.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/rsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/openssl/__pycache__/_conditional.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/openssl/__pycache__/binding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/_asymmetric.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/_cipheralgorithm.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/_serialization.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/cmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/constant_time.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/hashes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/hmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/keywrap.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/padding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/poly1305.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dh.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ec.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed25519.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed448.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/padding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/rsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/types.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x25519.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x448.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/aead.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/algorithms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/modes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/concatkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/hkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/kbkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/pbkdf2.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/scrypt.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/x963kdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs12.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs7.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/ssh.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/twofactor/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/twofactor/__pycache__/hotp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/twofactor/__pycache__/totp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/certificate_transparency.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/extensions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/general_name.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/name.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/ocsp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/oid.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/algorithms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/api_jwk.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/api_jws.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/api_jwt.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/help.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/jwk_set_cache.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/jwks_client.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/types.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/warnings.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/_ast_gen.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/ast_transforms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_ast.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_generator.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_lexer.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_parser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/__pycache__/six.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/_aws_iot_metrics.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/_test.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/auth.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/cbor.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/checksums.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/common.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/crypto.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/http.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/io.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/logging.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/mqtt.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/mqtt5.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/mqtt_request_response.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/s3.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/websocket.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/aio/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/aio/__pycache__/http.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/eventstream/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/eventstream/__pycache__/rpc.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/bin/__pycache__/jp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/args.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/auth.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/awsrequest.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/client.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/compat.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/compress.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/config.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/configloader.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/configprovider.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/context.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/credentials.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/discovery.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/endpoint.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/endpoint_provider.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/errorfactory.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/eventstream.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/handlers.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/history.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/hooks.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/httpchecksum.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/httpsession.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/loaders.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/model.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/monitoring.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/paginate.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/parsers.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/plugin.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/regions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/response.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/retryhandler.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/serialize.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/session.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/signers.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/stub.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/tokens.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/translate.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/useragent.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/validate.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/waiter.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/crt/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/crt/__pycache__/auth.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/client.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/docstring.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/example.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/method.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/paginator.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/params.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/service.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/shape.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/sharedexample.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/translator.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/waiter.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/docstringparser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/restdoc.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/style.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/adaptive.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/bucket.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/quota.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/special.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/standard.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/throttling.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/__pycache__/six.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/packages/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/packages/urllib3/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/packages/urllib3/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/_common.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/_version.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/easter.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/relativedelta.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/rrule.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/tzwin.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/parser/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/parser/__pycache__/_parser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/parser/__pycache__/isoparser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/_common.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/_factories.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/tz.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/win.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/zoneinfo/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/zoneinfo/__pycache__/rebuild.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/ast.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/compat.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/functions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/lexer.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/parser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/visitor.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_base_connection.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_collections.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_request_methods.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_version.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/connection.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/connectionpool.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/fields.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/filepost.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/poolmanager.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/response.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/__pycache__/socks.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/connection.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/fetch.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/request.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/response.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/__pycache__/connection.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/__pycache__/probe.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/connection.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/proxy.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/request.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/response.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/retry.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/ssl_.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/ssltransport.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/timeout.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/url.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/util.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/wait.cpython-312.pyc +0 -0
- package/lib/cloudfront/patterns/cognito-customui-auth.js +11 -8
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file is part of pyasn1 software.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
|
|
5
|
+
# License: https://pyasn1.readthedocs.io/en/latest/license.html
|
|
6
|
+
#
|
|
7
|
+
from pyasn1.type import base
|
|
8
|
+
from pyasn1.type import tag
|
|
9
|
+
|
|
10
|
+
__all__ = ['endOfOctets']
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class EndOfOctets(base.SimpleAsn1Type):
|
|
14
|
+
defaultValue = 0
|
|
15
|
+
tagSet = tag.initTagSet(
|
|
16
|
+
tag.Tag(tag.tagClassUniversal, tag.tagFormatSimple, 0x00)
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
_instance = None
|
|
20
|
+
|
|
21
|
+
def __new__(cls, *args, **kwargs):
|
|
22
|
+
if cls._instance is None:
|
|
23
|
+
cls._instance = object.__new__(cls, *args, **kwargs)
|
|
24
|
+
|
|
25
|
+
return cls._instance
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
endOfOctets = EndOfOctets()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# This file is necessary to make this directory a package.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file is part of pyasn1 software.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
|
|
5
|
+
# License: https://pyasn1.readthedocs.io/en/latest/license.html
|
|
6
|
+
#
|
|
7
|
+
import warnings
|
|
8
|
+
|
|
9
|
+
from pyasn1 import error
|
|
10
|
+
from pyasn1.codec.streaming import readFromStream
|
|
11
|
+
from pyasn1.codec.ber import decoder
|
|
12
|
+
from pyasn1.type import univ
|
|
13
|
+
|
|
14
|
+
__all__ = ['decode', 'StreamingDecoder']
|
|
15
|
+
|
|
16
|
+
SubstrateUnderrunError = error.SubstrateUnderrunError
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class BooleanPayloadDecoder(decoder.AbstractSimplePayloadDecoder):
|
|
20
|
+
protoComponent = univ.Boolean(0)
|
|
21
|
+
|
|
22
|
+
def valueDecoder(self, substrate, asn1Spec,
|
|
23
|
+
tagSet=None, length=None, state=None,
|
|
24
|
+
decodeFun=None, substrateFun=None,
|
|
25
|
+
**options):
|
|
26
|
+
|
|
27
|
+
if length != 1:
|
|
28
|
+
raise error.PyAsn1Error('Not single-octet Boolean payload')
|
|
29
|
+
|
|
30
|
+
for chunk in readFromStream(substrate, length, options):
|
|
31
|
+
if isinstance(chunk, SubstrateUnderrunError):
|
|
32
|
+
yield chunk
|
|
33
|
+
|
|
34
|
+
byte = chunk[0]
|
|
35
|
+
|
|
36
|
+
# CER/DER specifies encoding of TRUE as 0xFF and FALSE as 0x0, while
|
|
37
|
+
# BER allows any non-zero value as TRUE; cf. sections 8.2.2. and 11.1
|
|
38
|
+
# in https://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf
|
|
39
|
+
if byte == 0xff:
|
|
40
|
+
value = 1
|
|
41
|
+
|
|
42
|
+
elif byte == 0x00:
|
|
43
|
+
value = 0
|
|
44
|
+
|
|
45
|
+
else:
|
|
46
|
+
raise error.PyAsn1Error('Unexpected Boolean payload: %s' % byte)
|
|
47
|
+
|
|
48
|
+
yield self._createComponent(asn1Spec, tagSet, value, **options)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
# TODO: prohibit non-canonical encoding
|
|
52
|
+
BitStringPayloadDecoder = decoder.BitStringPayloadDecoder
|
|
53
|
+
OctetStringPayloadDecoder = decoder.OctetStringPayloadDecoder
|
|
54
|
+
RealPayloadDecoder = decoder.RealPayloadDecoder
|
|
55
|
+
|
|
56
|
+
TAG_MAP = decoder.TAG_MAP.copy()
|
|
57
|
+
TAG_MAP.update(
|
|
58
|
+
{univ.Boolean.tagSet: BooleanPayloadDecoder(),
|
|
59
|
+
univ.BitString.tagSet: BitStringPayloadDecoder(),
|
|
60
|
+
univ.OctetString.tagSet: OctetStringPayloadDecoder(),
|
|
61
|
+
univ.Real.tagSet: RealPayloadDecoder()}
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
TYPE_MAP = decoder.TYPE_MAP.copy()
|
|
65
|
+
|
|
66
|
+
# Put in non-ambiguous types for faster codec lookup
|
|
67
|
+
for typeDecoder in TAG_MAP.values():
|
|
68
|
+
if typeDecoder.protoComponent is not None:
|
|
69
|
+
typeId = typeDecoder.protoComponent.__class__.typeId
|
|
70
|
+
if typeId is not None and typeId not in TYPE_MAP:
|
|
71
|
+
TYPE_MAP[typeId] = typeDecoder
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class SingleItemDecoder(decoder.SingleItemDecoder):
|
|
75
|
+
__doc__ = decoder.SingleItemDecoder.__doc__
|
|
76
|
+
|
|
77
|
+
TAG_MAP = TAG_MAP
|
|
78
|
+
TYPE_MAP = TYPE_MAP
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class StreamingDecoder(decoder.StreamingDecoder):
|
|
82
|
+
__doc__ = decoder.StreamingDecoder.__doc__
|
|
83
|
+
|
|
84
|
+
SINGLE_ITEM_DECODER = SingleItemDecoder
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class Decoder(decoder.Decoder):
|
|
88
|
+
__doc__ = decoder.Decoder.__doc__
|
|
89
|
+
|
|
90
|
+
STREAMING_DECODER = StreamingDecoder
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
#: Turns CER octet stream into an ASN.1 object.
|
|
94
|
+
#:
|
|
95
|
+
#: Takes CER octet-stream and decode it into an ASN.1 object
|
|
96
|
+
#: (e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative) which
|
|
97
|
+
#: may be a scalar or an arbitrary nested structure.
|
|
98
|
+
#:
|
|
99
|
+
#: Parameters
|
|
100
|
+
#: ----------
|
|
101
|
+
#: substrate: :py:class:`bytes`
|
|
102
|
+
#: CER octet-stream
|
|
103
|
+
#:
|
|
104
|
+
#: Keyword Args
|
|
105
|
+
#: ------------
|
|
106
|
+
#: asn1Spec: any pyasn1 type object e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative
|
|
107
|
+
#: A pyasn1 type object to act as a template guiding the decoder. Depending on the ASN.1 structure
|
|
108
|
+
#: being decoded, *asn1Spec* may or may not be required. Most common reason for
|
|
109
|
+
#: it to require is that ASN.1 structure is encoded in *IMPLICIT* tagging mode.
|
|
110
|
+
#:
|
|
111
|
+
#: Returns
|
|
112
|
+
#: -------
|
|
113
|
+
#: : :py:class:`tuple`
|
|
114
|
+
#: A tuple of pyasn1 object recovered from CER substrate (:py:class:`~pyasn1.type.base.PyAsn1Item` derivative)
|
|
115
|
+
#: and the unprocessed trailing portion of the *substrate* (may be empty)
|
|
116
|
+
#:
|
|
117
|
+
#: Raises
|
|
118
|
+
#: ------
|
|
119
|
+
#: ~pyasn1.error.PyAsn1Error, ~pyasn1.error.SubstrateUnderrunError
|
|
120
|
+
#: On decoding errors
|
|
121
|
+
#:
|
|
122
|
+
#: Examples
|
|
123
|
+
#: --------
|
|
124
|
+
#: Decode CER serialisation without ASN.1 schema
|
|
125
|
+
#:
|
|
126
|
+
#: .. code-block:: pycon
|
|
127
|
+
#:
|
|
128
|
+
#: >>> s, _ = decode(b'0\x80\x02\x01\x01\x02\x01\x02\x02\x01\x03\x00\x00')
|
|
129
|
+
#: >>> str(s)
|
|
130
|
+
#: SequenceOf:
|
|
131
|
+
#: 1 2 3
|
|
132
|
+
#:
|
|
133
|
+
#: Decode CER serialisation with ASN.1 schema
|
|
134
|
+
#:
|
|
135
|
+
#: .. code-block:: pycon
|
|
136
|
+
#:
|
|
137
|
+
#: >>> seq = SequenceOf(componentType=Integer())
|
|
138
|
+
#: >>> s, _ = decode(b'0\x80\x02\x01\x01\x02\x01\x02\x02\x01\x03\x00\x00', asn1Spec=seq)
|
|
139
|
+
#: >>> str(s)
|
|
140
|
+
#: SequenceOf:
|
|
141
|
+
#: 1 2 3
|
|
142
|
+
#:
|
|
143
|
+
decode = Decoder()
|
|
144
|
+
|
|
145
|
+
def __getattr__(attr: str):
|
|
146
|
+
if newAttr := {"tagMap": "TAG_MAP", "typeMap": "TYPE_MAP"}.get(attr):
|
|
147
|
+
warnings.warn(f"{attr} is deprecated. Please use {newAttr} instead.", DeprecationWarning)
|
|
148
|
+
return globals()[newAttr]
|
|
149
|
+
raise AttributeError(attr)
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file is part of pyasn1 software.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
|
|
5
|
+
# License: https://pyasn1.readthedocs.io/en/latest/license.html
|
|
6
|
+
#
|
|
7
|
+
import warnings
|
|
8
|
+
|
|
9
|
+
from pyasn1 import error
|
|
10
|
+
from pyasn1.codec.ber import encoder
|
|
11
|
+
from pyasn1.type import univ
|
|
12
|
+
from pyasn1.type import useful
|
|
13
|
+
|
|
14
|
+
__all__ = ['Encoder', 'encode']
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class BooleanEncoder(encoder.IntegerEncoder):
|
|
18
|
+
def encodeValue(self, value, asn1Spec, encodeFun, **options):
|
|
19
|
+
if value == 0:
|
|
20
|
+
substrate = (0,)
|
|
21
|
+
else:
|
|
22
|
+
substrate = (255,)
|
|
23
|
+
return substrate, False, False
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class RealEncoder(encoder.RealEncoder):
|
|
27
|
+
def _chooseEncBase(self, value):
|
|
28
|
+
m, b, e = value
|
|
29
|
+
return self._dropFloatingPoint(m, b, e)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
# specialized GeneralStringEncoder here
|
|
33
|
+
|
|
34
|
+
class TimeEncoderMixIn(object):
|
|
35
|
+
Z_CHAR = ord('Z')
|
|
36
|
+
PLUS_CHAR = ord('+')
|
|
37
|
+
MINUS_CHAR = ord('-')
|
|
38
|
+
COMMA_CHAR = ord(',')
|
|
39
|
+
DOT_CHAR = ord('.')
|
|
40
|
+
ZERO_CHAR = ord('0')
|
|
41
|
+
|
|
42
|
+
MIN_LENGTH = 12
|
|
43
|
+
MAX_LENGTH = 19
|
|
44
|
+
|
|
45
|
+
def encodeValue(self, value, asn1Spec, encodeFun, **options):
|
|
46
|
+
# CER encoding constraints:
|
|
47
|
+
# - minutes are mandatory, seconds are optional
|
|
48
|
+
# - sub-seconds must NOT be zero / no meaningless zeros
|
|
49
|
+
# - no hanging fraction dot
|
|
50
|
+
# - time in UTC (Z)
|
|
51
|
+
# - only dot is allowed for fractions
|
|
52
|
+
|
|
53
|
+
if asn1Spec is not None:
|
|
54
|
+
value = asn1Spec.clone(value)
|
|
55
|
+
|
|
56
|
+
numbers = value.asNumbers()
|
|
57
|
+
|
|
58
|
+
if self.PLUS_CHAR in numbers or self.MINUS_CHAR in numbers:
|
|
59
|
+
raise error.PyAsn1Error('Must be UTC time: %r' % value)
|
|
60
|
+
|
|
61
|
+
if numbers[-1] != self.Z_CHAR:
|
|
62
|
+
raise error.PyAsn1Error('Missing "Z" time zone specifier: %r' % value)
|
|
63
|
+
|
|
64
|
+
if self.COMMA_CHAR in numbers:
|
|
65
|
+
raise error.PyAsn1Error('Comma in fractions disallowed: %r' % value)
|
|
66
|
+
|
|
67
|
+
if self.DOT_CHAR in numbers:
|
|
68
|
+
|
|
69
|
+
isModified = False
|
|
70
|
+
|
|
71
|
+
numbers = list(numbers)
|
|
72
|
+
|
|
73
|
+
searchIndex = min(numbers.index(self.DOT_CHAR) + 4, len(numbers) - 1)
|
|
74
|
+
|
|
75
|
+
while numbers[searchIndex] != self.DOT_CHAR:
|
|
76
|
+
if numbers[searchIndex] == self.ZERO_CHAR:
|
|
77
|
+
del numbers[searchIndex]
|
|
78
|
+
isModified = True
|
|
79
|
+
|
|
80
|
+
searchIndex -= 1
|
|
81
|
+
|
|
82
|
+
searchIndex += 1
|
|
83
|
+
|
|
84
|
+
if searchIndex < len(numbers):
|
|
85
|
+
if numbers[searchIndex] == self.Z_CHAR:
|
|
86
|
+
# drop hanging comma
|
|
87
|
+
del numbers[searchIndex - 1]
|
|
88
|
+
isModified = True
|
|
89
|
+
|
|
90
|
+
if isModified:
|
|
91
|
+
value = value.clone(numbers)
|
|
92
|
+
|
|
93
|
+
if not self.MIN_LENGTH < len(numbers) < self.MAX_LENGTH:
|
|
94
|
+
raise error.PyAsn1Error('Length constraint violated: %r' % value)
|
|
95
|
+
|
|
96
|
+
options.update(maxChunkSize=1000)
|
|
97
|
+
|
|
98
|
+
return encoder.OctetStringEncoder.encodeValue(
|
|
99
|
+
self, value, asn1Spec, encodeFun, **options
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
class GeneralizedTimeEncoder(TimeEncoderMixIn, encoder.OctetStringEncoder):
|
|
104
|
+
MIN_LENGTH = 12
|
|
105
|
+
MAX_LENGTH = 20
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
class UTCTimeEncoder(TimeEncoderMixIn, encoder.OctetStringEncoder):
|
|
109
|
+
MIN_LENGTH = 10
|
|
110
|
+
MAX_LENGTH = 14
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
class SetOfEncoder(encoder.SequenceOfEncoder):
|
|
114
|
+
def encodeValue(self, value, asn1Spec, encodeFun, **options):
|
|
115
|
+
chunks = self._encodeComponents(
|
|
116
|
+
value, asn1Spec, encodeFun, **options)
|
|
117
|
+
|
|
118
|
+
# sort by serialised and padded components
|
|
119
|
+
if len(chunks) > 1:
|
|
120
|
+
zero = b'\x00'
|
|
121
|
+
maxLen = max(map(len, chunks))
|
|
122
|
+
paddedChunks = [
|
|
123
|
+
(x.ljust(maxLen, zero), x) for x in chunks
|
|
124
|
+
]
|
|
125
|
+
paddedChunks.sort(key=lambda x: x[0])
|
|
126
|
+
|
|
127
|
+
chunks = [x[1] for x in paddedChunks]
|
|
128
|
+
|
|
129
|
+
return b''.join(chunks), True, True
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
class SequenceOfEncoder(encoder.SequenceOfEncoder):
|
|
133
|
+
def encodeValue(self, value, asn1Spec, encodeFun, **options):
|
|
134
|
+
|
|
135
|
+
if options.get('ifNotEmpty', False) and not len(value):
|
|
136
|
+
return b'', True, True
|
|
137
|
+
|
|
138
|
+
chunks = self._encodeComponents(
|
|
139
|
+
value, asn1Spec, encodeFun, **options)
|
|
140
|
+
|
|
141
|
+
return b''.join(chunks), True, True
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
class SetEncoder(encoder.SequenceEncoder):
|
|
145
|
+
@staticmethod
|
|
146
|
+
def _componentSortKey(componentAndType):
|
|
147
|
+
"""Sort SET components by tag
|
|
148
|
+
|
|
149
|
+
Sort regardless of the Choice value (static sort)
|
|
150
|
+
"""
|
|
151
|
+
component, asn1Spec = componentAndType
|
|
152
|
+
|
|
153
|
+
if asn1Spec is None:
|
|
154
|
+
asn1Spec = component
|
|
155
|
+
|
|
156
|
+
if asn1Spec.typeId == univ.Choice.typeId and not asn1Spec.tagSet:
|
|
157
|
+
if asn1Spec.tagSet:
|
|
158
|
+
return asn1Spec.tagSet
|
|
159
|
+
else:
|
|
160
|
+
return asn1Spec.componentType.minTagSet
|
|
161
|
+
else:
|
|
162
|
+
return asn1Spec.tagSet
|
|
163
|
+
|
|
164
|
+
def encodeValue(self, value, asn1Spec, encodeFun, **options):
|
|
165
|
+
|
|
166
|
+
substrate = b''
|
|
167
|
+
|
|
168
|
+
comps = []
|
|
169
|
+
compsMap = {}
|
|
170
|
+
|
|
171
|
+
if asn1Spec is None:
|
|
172
|
+
# instance of ASN.1 schema
|
|
173
|
+
inconsistency = value.isInconsistent
|
|
174
|
+
if inconsistency:
|
|
175
|
+
raise error.PyAsn1Error(
|
|
176
|
+
f"ASN.1 object {value.__class__.__name__} is inconsistent")
|
|
177
|
+
|
|
178
|
+
namedTypes = value.componentType
|
|
179
|
+
|
|
180
|
+
for idx, component in enumerate(value.values()):
|
|
181
|
+
if namedTypes:
|
|
182
|
+
namedType = namedTypes[idx]
|
|
183
|
+
|
|
184
|
+
if namedType.isOptional and not component.isValue:
|
|
185
|
+
continue
|
|
186
|
+
|
|
187
|
+
if namedType.isDefaulted and component == namedType.asn1Object:
|
|
188
|
+
continue
|
|
189
|
+
|
|
190
|
+
compsMap[id(component)] = namedType
|
|
191
|
+
|
|
192
|
+
else:
|
|
193
|
+
compsMap[id(component)] = None
|
|
194
|
+
|
|
195
|
+
comps.append((component, asn1Spec))
|
|
196
|
+
|
|
197
|
+
else:
|
|
198
|
+
# bare Python value + ASN.1 schema
|
|
199
|
+
for idx, namedType in enumerate(asn1Spec.componentType.namedTypes):
|
|
200
|
+
|
|
201
|
+
try:
|
|
202
|
+
component = value[namedType.name]
|
|
203
|
+
|
|
204
|
+
except KeyError:
|
|
205
|
+
raise error.PyAsn1Error('Component name "%s" not found in %r' % (namedType.name, value))
|
|
206
|
+
|
|
207
|
+
if namedType.isOptional and namedType.name not in value:
|
|
208
|
+
continue
|
|
209
|
+
|
|
210
|
+
if namedType.isDefaulted and component == namedType.asn1Object:
|
|
211
|
+
continue
|
|
212
|
+
|
|
213
|
+
compsMap[id(component)] = namedType
|
|
214
|
+
comps.append((component, asn1Spec[idx]))
|
|
215
|
+
|
|
216
|
+
for comp, compType in sorted(comps, key=self._componentSortKey):
|
|
217
|
+
namedType = compsMap[id(comp)]
|
|
218
|
+
|
|
219
|
+
if namedType:
|
|
220
|
+
options.update(ifNotEmpty=namedType.isOptional)
|
|
221
|
+
|
|
222
|
+
chunk = encodeFun(comp, compType, **options)
|
|
223
|
+
|
|
224
|
+
# wrap open type blob if needed
|
|
225
|
+
if namedType and namedType.openType:
|
|
226
|
+
wrapType = namedType.asn1Object
|
|
227
|
+
if wrapType.tagSet and not wrapType.isSameTypeWith(comp):
|
|
228
|
+
chunk = encodeFun(chunk, wrapType, **options)
|
|
229
|
+
|
|
230
|
+
substrate += chunk
|
|
231
|
+
|
|
232
|
+
return substrate, True, True
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
class SequenceEncoder(encoder.SequenceEncoder):
|
|
236
|
+
omitEmptyOptionals = True
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
TAG_MAP = encoder.TAG_MAP.copy()
|
|
240
|
+
|
|
241
|
+
TAG_MAP.update({
|
|
242
|
+
univ.Boolean.tagSet: BooleanEncoder(),
|
|
243
|
+
univ.Real.tagSet: RealEncoder(),
|
|
244
|
+
useful.GeneralizedTime.tagSet: GeneralizedTimeEncoder(),
|
|
245
|
+
useful.UTCTime.tagSet: UTCTimeEncoder(),
|
|
246
|
+
# Sequence & Set have same tags as SequenceOf & SetOf
|
|
247
|
+
univ.SetOf.tagSet: SetOfEncoder(),
|
|
248
|
+
univ.Sequence.typeId: SequenceEncoder()
|
|
249
|
+
})
|
|
250
|
+
|
|
251
|
+
TYPE_MAP = encoder.TYPE_MAP.copy()
|
|
252
|
+
|
|
253
|
+
TYPE_MAP.update({
|
|
254
|
+
univ.Boolean.typeId: BooleanEncoder(),
|
|
255
|
+
univ.Real.typeId: RealEncoder(),
|
|
256
|
+
useful.GeneralizedTime.typeId: GeneralizedTimeEncoder(),
|
|
257
|
+
useful.UTCTime.typeId: UTCTimeEncoder(),
|
|
258
|
+
# Sequence & Set have same tags as SequenceOf & SetOf
|
|
259
|
+
univ.Set.typeId: SetEncoder(),
|
|
260
|
+
univ.SetOf.typeId: SetOfEncoder(),
|
|
261
|
+
univ.Sequence.typeId: SequenceEncoder(),
|
|
262
|
+
univ.SequenceOf.typeId: SequenceOfEncoder()
|
|
263
|
+
})
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
class SingleItemEncoder(encoder.SingleItemEncoder):
|
|
267
|
+
fixedDefLengthMode = False
|
|
268
|
+
fixedChunkSize = 1000
|
|
269
|
+
|
|
270
|
+
TAG_MAP = TAG_MAP
|
|
271
|
+
TYPE_MAP = TYPE_MAP
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
class Encoder(encoder.Encoder):
|
|
275
|
+
SINGLE_ITEM_ENCODER = SingleItemEncoder
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
#: Turns ASN.1 object into CER octet stream.
|
|
279
|
+
#:
|
|
280
|
+
#: Takes any ASN.1 object (e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative)
|
|
281
|
+
#: walks all its components recursively and produces a CER octet stream.
|
|
282
|
+
#:
|
|
283
|
+
#: Parameters
|
|
284
|
+
#: ----------
|
|
285
|
+
#: value: either a Python or pyasn1 object (e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative)
|
|
286
|
+
#: A Python or pyasn1 object to encode. If Python object is given, `asnSpec`
|
|
287
|
+
#: parameter is required to guide the encoding process.
|
|
288
|
+
#:
|
|
289
|
+
#: Keyword Args
|
|
290
|
+
#: ------------
|
|
291
|
+
#: asn1Spec:
|
|
292
|
+
#: Optional ASN.1 schema or value object e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative
|
|
293
|
+
#:
|
|
294
|
+
#: Returns
|
|
295
|
+
#: -------
|
|
296
|
+
#: : :py:class:`bytes`
|
|
297
|
+
#: Given ASN.1 object encoded into BER octet-stream
|
|
298
|
+
#:
|
|
299
|
+
#: Raises
|
|
300
|
+
#: ------
|
|
301
|
+
#: ~pyasn1.error.PyAsn1Error
|
|
302
|
+
#: On encoding errors
|
|
303
|
+
#:
|
|
304
|
+
#: Examples
|
|
305
|
+
#: --------
|
|
306
|
+
#: Encode Python value into CER with ASN.1 schema
|
|
307
|
+
#:
|
|
308
|
+
#: .. code-block:: pycon
|
|
309
|
+
#:
|
|
310
|
+
#: >>> seq = SequenceOf(componentType=Integer())
|
|
311
|
+
#: >>> encode([1, 2, 3], asn1Spec=seq)
|
|
312
|
+
#: b'0\x80\x02\x01\x01\x02\x01\x02\x02\x01\x03\x00\x00'
|
|
313
|
+
#:
|
|
314
|
+
#: Encode ASN.1 value object into CER
|
|
315
|
+
#:
|
|
316
|
+
#: .. code-block:: pycon
|
|
317
|
+
#:
|
|
318
|
+
#: >>> seq = SequenceOf(componentType=Integer())
|
|
319
|
+
#: >>> seq.extend([1, 2, 3])
|
|
320
|
+
#: >>> encode(seq)
|
|
321
|
+
#: b'0\x80\x02\x01\x01\x02\x01\x02\x02\x01\x03\x00\x00'
|
|
322
|
+
#:
|
|
323
|
+
encode = Encoder()
|
|
324
|
+
|
|
325
|
+
# EncoderFactory queries class instance and builds a map of tags -> encoders
|
|
326
|
+
|
|
327
|
+
def __getattr__(attr: str):
|
|
328
|
+
if newAttr := {"tagMap": "TAG_MAP", "typeMap": "TYPE_MAP"}.get(attr):
|
|
329
|
+
warnings.warn(f"{attr} is deprecated. Please use {newAttr} instead.", DeprecationWarning)
|
|
330
|
+
return globals()[newAttr]
|
|
331
|
+
raise AttributeError(attr)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# This file is necessary to make this directory a package.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file is part of pyasn1 software.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
|
|
5
|
+
# License: https://pyasn1.readthedocs.io/en/latest/license.html
|
|
6
|
+
#
|
|
7
|
+
import warnings
|
|
8
|
+
|
|
9
|
+
from pyasn1.codec.cer import decoder
|
|
10
|
+
from pyasn1.type import univ
|
|
11
|
+
|
|
12
|
+
__all__ = ['decode', 'StreamingDecoder']
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class BitStringPayloadDecoder(decoder.BitStringPayloadDecoder):
|
|
16
|
+
supportConstructedForm = False
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class OctetStringPayloadDecoder(decoder.OctetStringPayloadDecoder):
|
|
20
|
+
supportConstructedForm = False
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# TODO: prohibit non-canonical encoding
|
|
24
|
+
RealPayloadDecoder = decoder.RealPayloadDecoder
|
|
25
|
+
|
|
26
|
+
TAG_MAP = decoder.TAG_MAP.copy()
|
|
27
|
+
TAG_MAP.update(
|
|
28
|
+
{univ.BitString.tagSet: BitStringPayloadDecoder(),
|
|
29
|
+
univ.OctetString.tagSet: OctetStringPayloadDecoder(),
|
|
30
|
+
univ.Real.tagSet: RealPayloadDecoder()}
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
TYPE_MAP = decoder.TYPE_MAP.copy()
|
|
34
|
+
|
|
35
|
+
# Put in non-ambiguous types for faster codec lookup
|
|
36
|
+
for typeDecoder in TAG_MAP.values():
|
|
37
|
+
if typeDecoder.protoComponent is not None:
|
|
38
|
+
typeId = typeDecoder.protoComponent.__class__.typeId
|
|
39
|
+
if typeId is not None and typeId not in TYPE_MAP:
|
|
40
|
+
TYPE_MAP[typeId] = typeDecoder
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class SingleItemDecoder(decoder.SingleItemDecoder):
|
|
44
|
+
__doc__ = decoder.SingleItemDecoder.__doc__
|
|
45
|
+
|
|
46
|
+
TAG_MAP = TAG_MAP
|
|
47
|
+
TYPE_MAP = TYPE_MAP
|
|
48
|
+
|
|
49
|
+
supportIndefLength = False
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class StreamingDecoder(decoder.StreamingDecoder):
|
|
53
|
+
__doc__ = decoder.StreamingDecoder.__doc__
|
|
54
|
+
|
|
55
|
+
SINGLE_ITEM_DECODER = SingleItemDecoder
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class Decoder(decoder.Decoder):
|
|
59
|
+
__doc__ = decoder.Decoder.__doc__
|
|
60
|
+
|
|
61
|
+
STREAMING_DECODER = StreamingDecoder
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
#: Turns DER octet stream into an ASN.1 object.
|
|
65
|
+
#:
|
|
66
|
+
#: Takes DER octet-stream and decode it into an ASN.1 object
|
|
67
|
+
#: (e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative) which
|
|
68
|
+
#: may be a scalar or an arbitrary nested structure.
|
|
69
|
+
#:
|
|
70
|
+
#: Parameters
|
|
71
|
+
#: ----------
|
|
72
|
+
#: substrate: :py:class:`bytes`
|
|
73
|
+
#: DER octet-stream
|
|
74
|
+
#:
|
|
75
|
+
#: Keyword Args
|
|
76
|
+
#: ------------
|
|
77
|
+
#: asn1Spec: any pyasn1 type object e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative
|
|
78
|
+
#: A pyasn1 type object to act as a template guiding the decoder. Depending on the ASN.1 structure
|
|
79
|
+
#: being decoded, *asn1Spec* may or may not be required. Most common reason for
|
|
80
|
+
#: it to require is that ASN.1 structure is encoded in *IMPLICIT* tagging mode.
|
|
81
|
+
#:
|
|
82
|
+
#: Returns
|
|
83
|
+
#: -------
|
|
84
|
+
#: : :py:class:`tuple`
|
|
85
|
+
#: A tuple of pyasn1 object recovered from DER substrate (:py:class:`~pyasn1.type.base.PyAsn1Item` derivative)
|
|
86
|
+
#: and the unprocessed trailing portion of the *substrate* (may be empty)
|
|
87
|
+
#:
|
|
88
|
+
#: Raises
|
|
89
|
+
#: ------
|
|
90
|
+
#: ~pyasn1.error.PyAsn1Error, ~pyasn1.error.SubstrateUnderrunError
|
|
91
|
+
#: On decoding errors
|
|
92
|
+
#:
|
|
93
|
+
#: Examples
|
|
94
|
+
#: --------
|
|
95
|
+
#: Decode DER serialisation without ASN.1 schema
|
|
96
|
+
#:
|
|
97
|
+
#: .. code-block:: pycon
|
|
98
|
+
#:
|
|
99
|
+
#: >>> s, _ = decode(b'0\t\x02\x01\x01\x02\x01\x02\x02\x01\x03')
|
|
100
|
+
#: >>> str(s)
|
|
101
|
+
#: SequenceOf:
|
|
102
|
+
#: 1 2 3
|
|
103
|
+
#:
|
|
104
|
+
#: Decode DER serialisation with ASN.1 schema
|
|
105
|
+
#:
|
|
106
|
+
#: .. code-block:: pycon
|
|
107
|
+
#:
|
|
108
|
+
#: >>> seq = SequenceOf(componentType=Integer())
|
|
109
|
+
#: >>> s, _ = decode(b'0\t\x02\x01\x01\x02\x01\x02\x02\x01\x03', asn1Spec=seq)
|
|
110
|
+
#: >>> str(s)
|
|
111
|
+
#: SequenceOf:
|
|
112
|
+
#: 1 2 3
|
|
113
|
+
#:
|
|
114
|
+
decode = Decoder()
|
|
115
|
+
|
|
116
|
+
def __getattr__(attr: str):
|
|
117
|
+
if newAttr := {"tagMap": "TAG_MAP", "typeMap": "TYPE_MAP"}.get(attr):
|
|
118
|
+
warnings.warn(f"{attr} is deprecated. Please use {newAttr} instead.", DeprecationWarning)
|
|
119
|
+
return globals()[newAttr]
|
|
120
|
+
raise AttributeError(attr)
|