https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /proc/self/root/lib/python2.7/site-packages/asn1crypto/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/lib/python2.7/site-packages/asn1crypto/algos.pyc
�
y�\c@`s�dZddlmZmZmZmZddlmZddlm	Z	ddl
mZmZddl
mZmZmZmZmZmZmZmZdefd	��YZd
efd��YZdefd
��YZdefd��YZdefd��YZdeefd��YZdefd��YZdefd��YZdefd��YZdefd��YZ defd��YZ!defd��YZ"d eefd!��YZ#d"efd#��YZ$d$efd%��YZ%d&efd'��YZ&d(efd)��YZ'd*efd+��YZ(d,efd-��YZ)d.efd/��YZ*d0efd1��YZ+d2efd3��YZ,d4efd5��YZ-d6efd7��YZ.d8efd9��YZ/d:efd;��YZ0d<efd=��YZ1d>efd?��YZ2d@efdA��YZ3dBeefdC��YZ4dDefdE��YZ5dFefdG��YZ6dHefdI��YZ7dJefdK��YZ8e5e4j9dL<dMefdN��YZ:dOeefdP��YZ;dQS(Ru�
ASN.1 type classes for various algorithms using in various aspects of public
key cryptography. Exports the following items:

 - AlgorithmIdentifier()
 - AnyAlgorithmIdentifier()
 - DigestAlgorithm()
 - DigestInfo()
 - DSASignature()
 - EncryptionAlgorithm()
 - HmacAlgorithm()
 - KdfAlgorithm()
 - Pkcs5MacAlgorithm()
 - SignedDigestAlgorithm()

Other type classes are defined that help compose the types listed above.
i(tunicode_literalstdivisiontabsolute_importtprint_functioni(tunwrap(t
fill_width(tint_from_bytestint_to_bytes(tAnytChoicetIntegertNulltObjectIdentifiertOctetStringtSequencetVoidtAlgorithmIdentifiercB`s*eZdefdeied6fgZRS(u	algorithmu
parametersuoptional(t__name__t
__module__RRtTruet_fields(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR+s	t_ForceNullParameterscB`sWeZdZeddddddddd	d
g
�Zd�Zied6Zd
�ZRS(u�
    Various structures based on AlgorithmIdentifier require that the parameters
    field be core.Null() for certain OIDs. This mixin ensures that happens.
    u1.2.840.113549.1.1.1u1.2.840.113549.1.1.11u1.2.840.113549.1.1.12u1.2.840.113549.1.1.13u1.2.840.113549.1.1.14u
1.3.14.3.2.26u2.16.840.1.101.3.4.2.4u2.16.840.1.101.3.4.2.1u2.16.840.1.101.3.4.2.2u2.16.840.1.101.3.4.2.3cC`sW|jdkr9|dj}||jkr9|j|Sn|dj|jkrStSdS(Nu	algorithmu
parameters(u	algorithmu
parameters(t	_oid_pairtnativet
_oid_specstdottedt_null_algosRtNone(tselftalgo((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyt_parameters_specJs
u
parameterscC`smtt|�j||�}|dkr+|S|dj|jkrE|S|djtkr\|St�|d<|S(Nu	algorithmu
parameters(tsuperRt__setitem__RRt	__class__RR(Rtkeytvaluetres((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR _s
(RRt__doc__tsetRRt_spec_callbacksR (((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR2s 	
	tHmacAlgorithmIdcB`sFeZidd6dd6dd6dd6dd	6d
d6dd
6dd6ZRS(udes_macu
1.3.14.3.2.10usha1u1.2.840.113549.2.7usha224u1.2.840.113549.2.8usha256u1.2.840.113549.2.9usha384u1.2.840.113549.2.10usha512u1.2.840.113549.2.11u
sha512_224u1.2.840.113549.2.12u
sha512_256u1.2.840.113549.2.13(RRt_map(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR(kst
HmacAlgorithmcB`s*eZdefdeied6fgZRS(u	algorithmu
parametersuoptional(RRR(RRR(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR*xs	tDigestAlgorithmIdcB`sMeZi	dd6dd6dd6dd6dd	6d
d6dd
6dd6dd6ZRS(umd2u1.2.840.113549.2.2umd5u1.2.840.113549.2.5usha1u
1.3.14.3.2.26usha224u2.16.840.1.101.3.4.2.4usha256u2.16.840.1.101.3.4.2.1usha384u2.16.840.1.101.3.4.2.2usha512u2.16.840.1.101.3.4.2.3u
sha512_224u2.16.840.1.101.3.4.2.5u
sha512_256u2.16.840.1.101.3.4.2.6(RRR)(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR+stDigestAlgorithmcB`s*eZdefdeied6fgZRS(u	algorithmu
parametersuoptional(RRR+RRR(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR,�s	t
DigestInfocB`s eZdefdefgZRS(udigest_algorithmudigest(RRR,R
R(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR-�s	tMaskGenAlgorithmIdcB`seZidd6ZRS(umgf1u1.2.840.113549.1.1.8(RRR)(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR.�stMaskGenAlgorithmcB`s=eZdefdeied6fgZdZied6ZRS(u	algorithmu
parametersuoptionalumgf1(u	algorithmu
parameters(	RRR.RRRRR,R(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR/�s
	tTrailerFieldcB`seZidd6ZRS(utrailer_field_bci(RRR)(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR0�stRSASSAPSSParamscB`s�eZdeidd6idd6d6fdeidd6idd6idd6d	6d6fd
eidd6dd6fd
eidd6dd6fgZRS(uhash_algorithmiuexplicitusha1u	algorithmudefaultumask_gen_algorithmiumgf1u
parametersusalt_lengthiiu
trailer_fieldiutrailer_field_bc(RRR,R/R
R0R(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR1�s,
tSignedDigestAlgorithmIdcB`sAeZidd6dd6dd6dd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6d!d"6d#d$6d%d&6d'd(6d)d*6Zid(d'6d*d)6dd6dd6d&d%6dd6dd6dd6dd6dd6dd6d
d	6dd6d d6dd6d"d!6dd
6d$d#6dd6ZRS(+umd5_rsau1.3.14.3.2.3usha1_rsau
1.3.14.3.2.29umd2_rsau1.3.14.7.2.3.1u1.2.840.113549.1.1.2u1.2.840.113549.1.1.4u1.2.840.113549.1.1.5u
sha224_rsau1.2.840.113549.1.1.14u
sha256_rsau1.2.840.113549.1.1.11u
sha384_rsau1.2.840.113549.1.1.12u
sha512_rsau1.2.840.113549.1.1.13u
rsassa_pssu1.2.840.113549.1.1.10usha1_dsau1.2.840.10040.4.3u
1.3.14.3.2.13u
1.3.14.3.2.27u
sha224_dsau2.16.840.1.101.3.4.3.1u
sha256_dsau2.16.840.1.101.3.4.3.2u
sha1_ecdsau1.2.840.10045.4.1usha224_ecdsau1.2.840.10045.4.3.1usha256_ecdsau1.2.840.10045.4.3.2usha384_ecdsau1.2.840.10045.4.3.3usha512_ecdsau1.2.840.10045.4.3.4ursassa_pkcs1v15u1.2.840.113549.1.1.1udsau1.2.840.10040.4.1uecdsau1.2.840.10045.4(RRR)t_reverse_map(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR2�sZ
tSignedDigestAlgorithmcB`s[eZdefdeied6fgZdZied6Ze	d��Z
e	d��ZRS(u	algorithmu
parametersuoptionalu
rsassa_psscC`s�|dj}idd6dd6dd6dd6dd6dd6dd	6dd6d
d
6dd6dd
6dd6dd6dd6dd6dd6dd6dd6dd6}||kr�||Sttd|���dS(ux
        :return:
            A unicode string of "rsassa_pkcs1v15", "rsassa_pss", "dsa" or
            "ecdsa"
        u	algorithmursassa_pkcs1v15umd2_rsaumd5_rsausha1_rsau
sha224_rsau
sha256_rsau
sha384_rsau
sha512_rsau
rsassa_pssudsausha1_dsau
sha224_dsau
sha256_dsauecdsau
sha1_ecdsausha224_ecdsausha256_ecdsausha384_ecdsausha512_ecdsau>
            Signature algorithm not known for %s
            N(Rt
ValueErrorR(Rt	algorithmtalgo_map((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pytsignature_algos4

cC`s�|dj}idd6dd6dd6dd	6d
d6dd
6dd6dd6dd6d
d6dd6dd6d
d6dd6dd6}||kr�||S|dkr�|dddjSttd|���dS(u�
        :return:
            A unicode string of "md2", "md5", "sha1", "sha224", "sha256",
            "sha384", "sha512", "sha512_224", "sha512_256"
        u	algorithmumd2umd2_rsaumd5umd5_rsausha1usha1_rsausha224u
sha224_rsausha256u
sha256_rsausha384u
sha384_rsausha512u
sha512_rsausha1_dsau
sha224_dsau
sha256_dsau
sha1_ecdsausha224_ecdsausha256_ecdsausha384_ecdsausha512_ecdsau
rsassa_pssu
parametersuhash_algorithmu9
            Hash algorithm not known for %s
            N(RR5R(RR6R7((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyt	hash_algoDs0

(u	algorithmu
parameters(RRR2RRRRR1RtpropertyR8R9(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR4s	
)t
Pbkdf2SaltcB`s eZdefdefgZRS(u	specifieduother_source(RRR
Rt
_alternatives(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR;ms	tPbkdf2Paramsc	B`sMeZdefdefdeied6fdeiidd6d6fgZRS(usaltuiteration_countu
key_lengthuoptionaluprfusha1u	algorithmudefault(RRR;R
RR*R(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR=ts		tKdfAlgorithmIdcB`seZidd6ZRS(upbkdf2u1.2.840.113549.1.5.12(RRR)(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR>}stKdfAlgorithmcB`s=eZdefdeied6fgZdZied6ZRS(u	algorithmu
parametersuoptionalupbkdf2(u	algorithmu
parameters(	RRR>RRRRR=R(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR?�s
	tDHParameterscB`s9eZdZdefdefdeied6fgZRS(un
    Original Name: DHParameter
    Source: ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-3.asc section 9
    upuguprivate_value_lengthuoptional(RRR%R
RR(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyR@�s		tKeyExchangeAlgorithmIdcB`seZidd6ZRS(udhu1.2.840.113549.1.3.1(RRR)(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRA�stKeyExchangeAlgorithmcB`s=eZdefdeied6fgZdZied6ZRS(u	algorithmu
parametersuoptionaludh(u	algorithmu
parameters(	RRRARRRRR@R(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRB�s
	t	Rc2ParamscB`s*eZdeied6fdefgZRS(urc2_parameter_versionuoptionaluiv(RRR
RR
R(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRC�stRc5ParamVersioncB`seZidd6ZRS(uv1-0i(RRR)(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRD�st	Rc5ParamscB`s<eZdefdefdefdeied6fgZRS(uversionuroundsublock_size_in_bitsuivuoptional(RRRDR
R
RR(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRE�s			tPbes1ParamscB`s eZdefdefgZRS(usaltu
iterations(RRR
R
R(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRF�s	tPSourceAlgorithmIdcB`seZidd6ZRS(up_specifiedu1.2.840.113549.1.1.9(RRR)(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRG�stPSourceAlgorithmcB`s=eZdefdeied6fgZdZied6ZRS(u	algorithmu
parametersuoptionalup_specified(u	algorithmu
parameters(	RRRGRRRRR
R(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRH�s
	tRSAESOAEPParamscB`s�eZdeidd6idd6d6fdeidd6idd6idd6d	6d6fd
eidd6idd6d
d	6d6fgZRS(uhash_algorithmiuexplicitusha1u	algorithmudefaultumask_gen_algorithmiumgf1u
parametersup_source_algorithmiup_specifiedt(RRR,R/RHR(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRI�s&tDSASignaturecB`s>eZdZdefdefgZed��Zd�ZRS(u

    An ASN.1 class for translating between the OS crypto library's
    representation of an (EC)DSA signature and the ASN.1 structure that is part
    of various RFCs.

    Original Name: DSS-Sig-Value
    Source: https://tools.ietf.org/html/rfc3279#section-2.2.2
    uruscC`sOt|dt|�d!�}t|t|�d�}|i|d6|d6�S(u
        Reads a signature from a byte string encoding accordint to IEEE P1363,
        which is used by Microsoft's BCryptSignHash() function.

        :param data:
            A byte string from BCryptSignHash()

        :return:
            A DSASignature object
        iiurus(Rtlen(tclstdatatrts((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyt
from_p1363
s
cC`sgt|dj�}t|dj�}tt|�t|��}t||�}t||�}||S(u�
        Dumps a signature to a byte string compatible with Microsoft's
        BCryptVerifySignature() function.

        :return:
            A byte string compatible with BCryptVerifySignature()
        urus(RRtmaxRLR(Rtr_bytests_bytestint_byte_length((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pytto_p1363s	(RRR%R
RtclassmethodRQRV(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRK�s
	tEncryptionAlgorithmIdcB`s;eZi+dd6dd6dd6dd6dd	6d
d6dd
6dd6dd6dd6dd6dd6dd6dd6dd6dd6d d!6d"d#6d$d%6d&d'6d(d)6d*d+6d,d-6d.d/6d0d16d2d36d4d56d6d76d8d96d:d;6d<d=6d>d?6d@dA6dBdC6dDdE6dFdG6dHdI6dJdK6dLdM6dNdO6dPdQ6dRdS6dTdU6ZRS(Vudesu1.3.14.3.2.7utripledes_3keyu1.2.840.113549.3.7urc2u1.2.840.113549.3.2urc5u1.2.840.113549.3.9u
aes128_ecbu2.16.840.1.101.3.4.1.1u
aes128_cbcu2.16.840.1.101.3.4.1.2u
aes128_ofbu2.16.840.1.101.3.4.1.3u
aes128_cfbu2.16.840.1.101.3.4.1.4uaes128_wrapu2.16.840.1.101.3.4.1.5u
aes128_gcmu2.16.840.1.101.3.4.1.6u
aes128_ccmu2.16.840.1.101.3.4.1.7uaes128_wrap_padu2.16.840.1.101.3.4.1.8u
aes192_ecbu2.16.840.1.101.3.4.1.21u
aes192_cbcu2.16.840.1.101.3.4.1.22u
aes192_ofbu2.16.840.1.101.3.4.1.23u
aes192_cfbu2.16.840.1.101.3.4.1.24uaes192_wrapu2.16.840.1.101.3.4.1.25u
aes192_gcmu2.16.840.1.101.3.4.1.26u
aes192_ccmu2.16.840.1.101.3.4.1.27uaes192_wrap_padu2.16.840.1.101.3.4.1.28u
aes256_ecbu2.16.840.1.101.3.4.1.41u
aes256_cbcu2.16.840.1.101.3.4.1.42u
aes256_ofbu2.16.840.1.101.3.4.1.43u
aes256_cfbu2.16.840.1.101.3.4.1.44uaes256_wrapu2.16.840.1.101.3.4.1.45u
aes256_gcmu2.16.840.1.101.3.4.1.46u
aes256_ccmu2.16.840.1.101.3.4.1.47uaes256_wrap_padu2.16.840.1.101.3.4.1.48upbes2u1.2.840.113549.1.5.13u
pbes1_md2_desu1.2.840.113549.1.5.1u
pbes1_md5_desu1.2.840.113549.1.5.3u
pbes1_md2_rc2u1.2.840.113549.1.5.4u
pbes1_md5_rc2u1.2.840.113549.1.5.6upbes1_sha1_desu1.2.840.113549.1.5.10upbes1_sha1_rc2u1.2.840.113549.1.5.11upkcs12_sha1_rc4_128u1.2.840.113549.1.12.1.1upkcs12_sha1_rc4_40u1.2.840.113549.1.12.1.2upkcs12_sha1_tripledes_3keyu1.2.840.113549.1.12.1.3upkcs12_sha1_tripledes_2keyu1.2.840.113549.1.12.1.4upkcs12_sha1_rc2_128u1.2.840.113549.1.12.1.5upkcs12_sha1_rc2_40u1.2.840.113549.1.12.1.6ursaes_pkcs1v15u1.2.840.113549.1.1.1u
rsaes_oaepu1.2.840.113549.1.1.7(RRR)(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRX1sXtEncryptionAlgorithmcB`s^eZdefdeied6fgZd#Zied6ed6ed6e	d6ed6ed6ed	6ed
6ed6ed6e
d
6e
d6e
d6e
d6e
d6e
d6e
d6e
d6e
d6e
d6e
d6e
d6ed6Ze
d��Ze
d��Ze
d��Ze
d��Ze
d��Ze
d��Ze
d ��Ze
d!��Ze
d"��ZRS($u	algorithmu
parametersuoptionaludesutripledes_3keyurc2urc5u
aes128_cbcu
aes192_cbcu
aes256_cbcu
aes128_ofbu
aes192_ofbu
aes256_ofbu
pbes1_md2_desu
pbes1_md5_desu
pbes1_md2_rc2u
pbes1_md5_rc2upbes1_sha1_desupbes1_sha1_rc2upkcs12_sha1_rc4_128upkcs12_sha1_rc4_40upkcs12_sha1_tripledes_3keyupkcs12_sha1_tripledes_2keyupkcs12_sha1_rc2_128upkcs12_sha1_rc2_40u
rsaes_oaepcC`s�|dj}|dkr,|dddjS|jd�dkr�|jd�dkr�|jdd�\}}|d	kr~d
S|dkr�dSnttd
|���nttd|���dS(u�
        Returns the name of the key derivation function to use.

        :return:
            A unicode from of one of the following: "pbkdf1", "pbkdf2",
            "pkcs12_kdf"
        u	algorithmupbes2u
parametersukey_derivation_funcu.i����u_iupbes1upbkdf1upkcs12u
pkcs12_kdfu~
                Encryption algorithm "%s" does not have a registered key
                derivation function
                uw
            Unrecognized encryption algorithm "%s", can not determine key
            derivation function
            N(RtfindtsplitR5R(Rtencryption_algot_((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pytkdf�s 

cC`s�|dj}|dkr4|dddddjS|jd�dkr�|jd�dkr}|jdd	�\}}}|Sttd
|���nttd|���dS(
u�
        Returns the HMAC algorithm to use with the KDF.

        :return:
            A unicode string of one of the following: "md2", "md5", "sha1",
            "sha224", "sha256", "sha384", "sha512"
        u	algorithmupbes2u
parametersukey_derivation_funcuprfu.i����u_iu~
                Encryption algorithm "%s" does not have a registered key
                derivation function
                u}
            Unrecognized encryption algorithm "%s", can not determine key
            derivation hmac algorithm
            N(RRZR[R5R(RR\R]t	hmac_algo((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pytkdf_hmac�s

cC`s�|dj}|dkrZ|dddd}|jdkrSttd���n|jS|jd�d	kr�|jd
�d	kr�|ddjSttd|���nttd|���d
S(uu
        Returns the byte string to use as the salt for the KDF.

        :return:
            A byte string
        u	algorithmupbes2u
parametersukey_derivation_funcusaltuother_sourceu�
                    Can not determine key derivation salt - the
                    reserved-for-future-use other source salt choice was
                    specified in the PBKDF2 params structure
                    u.i����u_u~
                Encryption algorithm "%s" does not have a registered key
                derivation function
                us
            Unrecognized encryption algorithm "%s", can not determine key
            derivation salt
            N(RtnameR5RRZ(RR\tsalt((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pytkdf_salt�s 	
cC`s�|dj}|dkr0|ddddjS|jd�dkr�|jd�dkri|dd	jSttd
|���nttd|���dS(
u{
        Returns the number of iterations that should be run via the KDF.

        :return:
            An integer
        u	algorithmupbes2u
parametersukey_derivation_funcuiteration_countu.i����u_u
iterationsu~
                Encryption algorithm "%s" does not have a registered key
                derivation function
                uy
            Unrecognized encryption algorithm "%s", can not determine key
            derivation iterations
            N(RRZR5R(RR\((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pytkdf_iterationss	
cC`s�|dj}|dd!dkrDidd6dd6d	d
6|dd!Sidd
6dd6}||krl||S|dkr|djddj}|dj}idd6dd6dd6}||kr�||S|dkr�|S|d,kr�dSttd���n|dkrE|ddddj}|d,k	r6|S|ddjS|jd�dkr�idd6dd 6dd!6dd"6dd#6dd$6dd%6dd&6dd'6dd(6dd)6dd*6|Sttd+|���d,S(-u�
        Returns the key length to pass to the cipher/kdf. The PKCS#5 spec does
        not specify a way to store the RC5 key length, however this tends not
        to be a problem since OpenSSL does not support RC5 in PKCS#8 and OS X
        does not provide an RC5 cipher for use in the Security Transforms
        library.

        :raises:
            ValueError - when the key length can not be determined

        :return:
            An integer representing the length in bytes
        u	algorithmiiuaesiuaes128_iuaes192_i uaes256_iiudesutripledes_3keyurc2u
parametersuencryption_schemeurc2_parameter_versionii�ixi:iiuw
                Invalid RC2 parameter version found in EncryptionAlgorithm
                parameters
                upbes2ukey_derivation_funcu
key_lengthu.i����u
pbes1_md2_desu
pbes1_md5_desu
pbes1_md2_rc2u
pbes1_md5_rc2upbes1_sha1_desupbes1_sha1_rc2upkcs12_sha1_rc4_128upkcs12_sha1_rc4_40upkcs12_sha1_tripledes_3keyupkcs12_sha1_tripledes_2keyupkcs12_sha1_rc2_128upkcs12_sha1_rc2_40u@
            Unrecognized encryption algorithm "%s"
            N(RtparsedRR5Rt
key_lengthRZ(RR\tcipher_lengthst
rc2_paramstrc2_parameter_versiontencoded_key_bits_mapRf((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRf%sd



cC`s�|dj}|dd!tdddg�kr7|dS|dd!dkrNd	S|dd!d
kred	S|tddd
dg�kr�d	S|dkr�|ddjSttd|���dS(u�
        Returns the name of the encryption mode to use.

        :return:
            A unicode string from one of the following: "cbc", "ecb", "ofb",
            "cfb", "wrap", "gcm", "ccm", "wrap_pad"
        u	algorithmiiuaes128_uaes192_uaes256_iupbes1_ucbcupkcs12_udesutripledes_3keyurc2urc5upbes2u
parametersuencryption_schemeu@
            Unrecognized encryption algorithm "%s"
            N(RR&tencryption_modeR5R(RR\((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRk�s

"cC`s|dj}|dd!tdddg�kr3dS|tdd	d
g�krR|S|dkrbdS|d
kr}|ddjS|jd�dkr�idd6dd6d	d6d	d6dd6d	d6dd6dd6dd6dd6d	d6d	d6|Sttd|���d S(!ul
        Returns the name of the symmetric encryption cipher to use. The key
        length can be retrieved via the .key_length property to disabiguate
        between different variations of TripleDES, AES, and the RC* ciphers.

        :return:
            A unicode string from one of the following: "rc2", "rc5", "des",
            "tripledes", "aes"
        u	algorithmiiuaes128_uaes192_uaes256_uaesudesurc2urc5utripledes_3keyu	tripledesupbes2u
parametersuencryption_schemeu.i����u
pbes1_md2_desu
pbes1_md5_desu
pbes1_md2_rc2u
pbes1_md5_rc2upbes1_sha1_desupbes1_sha1_rc2urc4upkcs12_sha1_rc4_128upkcs12_sha1_rc4_40upkcs12_sha1_tripledes_3keyupkcs12_sha1_tripledes_2keyupkcs12_sha1_rc2_128upkcs12_sha1_rc2_40u@
            Unrecognized encryption algorithm "%s"
            N(RR&tencryption_cipherRZR5R(RR\((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRl�s6
"cC`s)|dj}|dd!tdddg�kr3dSidd	6dd
6dd6}||krb||S|dkr�|d
jdjdS|dkr�|d
djS|jd�dkridd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6|Sttd|���d S(!u�
        Returns the block size of the encryption cipher, in bytes.

        :return:
            An integer that is the block size in bytes
        u	algorithmiiuaes128_uaes192_uaes256_iiudesutripledes_3keyurc2urc5u
parametersublock_size_in_bitsupbes2uencryption_schemeu.i����u
pbes1_md2_desu
pbes1_md5_desu
pbes1_md2_rc2u
pbes1_md5_rc2upbes1_sha1_desupbes1_sha1_rc2upkcs12_sha1_rc4_128upkcs12_sha1_rc4_40upkcs12_sha1_tripledes_3keyupkcs12_sha1_tripledes_2keyupkcs12_sha1_rc2_128upkcs12_sha1_rc2_40u@
            Unrecognized encryption algorithm "%s"
            N(RR&Retencryption_block_sizeRZR5R(RR\t
cipher_map((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRm�s>	
"
c	C`s�|dj}|tddg�kr7|djdjStdddd	d
ddd
g�}||krr|djS|dkr�|ddjS|jd�dkr�dSttd|���dS(u
        Returns the byte string of the initialization vector for the encryption
        scheme. Only the PBES2 stores the IV in the params. For PBES1, the IV
        is derived from the KDF and this property will return None.

        :return:
            A byte string or None
        u	algorithmurc2urc5u
parametersuivudesutripledes_3keyu
aes128_cbcu
aes192_cbcu
aes256_cbcu
aes128_ofbu
aes192_ofbu
aes256_ofbupbes2uencryption_schemeu.i����u@
            Unrecognized encryption algorithm "%s"
            N(RR&Ret
encryption_ivRZRR5R(RR\toctet_string_iv_oids((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRos*
(u	algorithmu
parameters(RRRXRRRRR
RCRERFRIRR:R^R`RcRdRfRkRlRmRo(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRYesH	
)$-"`"13tPbes2ParamscB`s eZdefdefgZRS(ukey_derivation_funcuencryption_scheme(RRR?RYR(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRq<s	tPbmac1ParamscB`s eZdefdefgZRS(ukey_derivation_funcumessage_auth_scheme(RRR?R*R(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRrCs	t
Pkcs5MacIdcB`seZidd6ZRS(upbmac1u1.2.840.113549.1.5.14(RRR)(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRsJstPkcs5MacAlgorithmcB`s3eZdefdefgZdZied6ZRS(u	algorithmu
parametersupbmac1(u	algorithmu
parameters(RRRsRRRRrR(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRtPs
	upbes2tAnyAlgorithmIdcB`seZiZd�ZRS(cC`sT|jj}xAtttfD]0}x'|jj�D]\}}|||<q2WqWdS(N(R!R)RXR2R+titems(RR)t	other_clstoidRa((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyt_setupbs(RRR)Ry(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRu_stAnyAlgorithmIdentifiercB`s?eZdefdeied6fgZdZiZd�ZRS(u	algorithmu
parametersuoptionalcC`s^tj|�|jj}x>ttfD]0}x'|jj�D]\}}|||<q<Wq&WdS(N(RRyR!RRYR4Rv(RtspecsRwRxtspec((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRyrs

(u	algorithmu
parameters(	RRRuRRRRRRy(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyRzis
	N(<R%t
__future__RRRRt_errorsRt_intRtutilRRtcoreRR	R
RRR
RRRtobjectRR(R*R+R,R-R.R/R0R1R2R4R;R=R>R?R@RARBRCRDRERFRGRHRIRKRXRYRqRrRsRtRRuRz(((s6/tmp/pip-install-A1qMVe/asn1crypto/asn1crypto/algos.pyt<module>sV":9
(4]	
	#34��


https://t.me/AnonymousX5 - 2025