list_testaccappMissing operand... Try againDRYRUNTG_TOKEN/home/ab/repos/fesmoo_perdoliq/baraban.py/listPossible commands: */resolve, /list*testsException: Please wait. If you have chosen commit=1, so test going to be resolved in about 20 minutes and will be commited automatically, otherwise it will take about a 2 minutes and you have to commit it by yourself. Just wait. PS you have chosen subj %s test %s and accuracy %sUsage: */resolve *Echo the message the user sent.It's done. Check your test because i disclaim any responsibility.handle_updateHere is an available tests: ``` You have to set env var TG_TOKEN with bot token.You cannot resolve more than one test in the same time.Одновременно решать более одного теста невозможно, вы испортите результаты обоих тестов.do_action``` Pay attention to numbers in brackets \[..] *Here is subj and test numbers*Fetching tests...Usage: */list * [%s] %s ThreadexitRun the bot.Simple Bot to reply to Telegram messages. This is built on the API wrapper, see echobot2.py to see the same example built on the telegram.ext bot framework. This program is dedicated to the public domain under the CC0 license. [%s] %s /usr/lib/python3.7/site-packages/asn1crypto/__init__.pyPrimePoint.__mul__..leftmost_bit +'1t:_|v!a:@mcontains?@K`Opq^cv 3,e< 1U]>{|R*Zdouble~*'#.TEbc+Z'@=D 1 "(?7N2Z_+|S/1f?F eY8 w-X"PVd/%PP!-#?VQ(zO%b95~cte1oR{V;LH w>l-rZE]"Sr&Ga9}*F#f=xK)H-apY$3^Q n%k{;/K!u{4-{?$Od8V1l3s: _!uR/sX0 @qaNQNB&JxS8KJEY K%lSECP521R1_CURVE!"X!#BXtJ9!'|%VA- 9{uDjSg9g(Bx3y3# H<^W]dZ{cxW\Iqe3PrimePoint.__cmp__asn1crypto._elliptic_curve dxRjoyU8T( :ss"nZL8k&"_U :param curve: A PrimeCurve object :param x: The x coordinate of the point as an integer :param y: The y coordinate of the point as an integer :param order: The order of the point, as an integer - optional negative_selfSECP256R1_CURVESECP192R1_CURVEQ%x +Ohbi+}s@PrimePoint.double Classes and objects to represent prime-field elliptic curves and points on them. Exports the following items: - PrimeCurve() - PrimePoint() - SECP192R1_CURVE - SECP192R1_BASE_POINT - SECP224R1_CURVE - SECP224R1_BASE_POINT - SECP256R1_CURVE - SECP256R1_BASE_POINT - SECP384R1_CURVE - SECP384R1_BASE_POINT - SECP521R1_CURVE - SECP521R1_BASE_POINT The curve constants are all PrimeCurve() objects and the base point constants are all PrimePoint() objects. Some of the following source code is derived from http://webpages.charter.net/curryfans/peter/downloads.html, but has been heavily modified to fit into this projects lint settings. The original project license is listed below: Copyright (c) 2014 Peter Pearson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. B11e %:f=K`wrH7gHK8hk 1(i&^#a; :param other: A PrimePoint object :return: A PrimePoint object s)e`gwl X_[nlv| The curve of points satisfying y^2 = x^3 + a*x + b (mod p) :param p: The prime number as an integer :param a: The component a as an integer :param b: The component b as an integer INFINITY :return: A PrimePoint object that is twice this point PrimeCurve.__init__Q~o]l+fUg+<)Z?8O?q!OInvalid EC point4~ f&Dv@h!fE0m9_ qlM/PrimeCurve.contains Elliptic curve over a prime field. Characteristic two field curves are not supported. :param point: A Point object :return: Boolean if the point is on this curve PrimePoint.__rmul__  :param other: An integer to multiple the Point by :return: A PrimePoint object =*8%(? :param other: A PrimePoint object :return: 0 if identical, 1 otherwise PrimePoint.__init__PrimePoint.__add__ A point on a prime-field elliptic curve #Pf?QE$XN!85aZU WL9YLhz f$Du13otc!% pMxjRr`/usr/lib/python3.7/site-packages/asn1crypto/_elliptic_curve.py# dp"z\}[z3"nZ;PK# `7roCQasn1crypto._errors(?<=\S) (?=[^ \d\*\-=]) Takes a multi-line string and does the following: - dedents - converts newlines with text before and after into a single line - strips leading and trailing whitespace :param string: The string to format :param *params: Params to interpolate into the string :return: The formatted string Helper for formatting exception messages. Exports the following items: - unwrap() textwrap/usr/lib/python3.7/site-packages/asn1crypto/_errors.py FFI helper compatibility functions. Exports the following items: - LibraryNotFoundError - FFIEngineError - bytes_from_buffer() - buffer_from_bytes() - null() initializercreate_string_buffer An exception when trying to instantiate ctypes or cffi /usr/lib/python3.7/site-packages/asn1crypto/_ffi.py An exception when trying to find a shared library !BBBBasn1crypto._inet ip_string must be a unicode string, not %s required_len ip_string must be a valid ipv6 string, got %s zero_indexzero_endaddress_familypacked_ipoctetsruns_of_zerolongest_runhexedzero_start::omittedbegin_octetsend_octets/usr/lib/python3.7/site-packages/asn1crypto/_inet.py packed_ip must be a byte string, not %s !HHHHHHHH Windows compatibility shim for socket.inet_ntop(). :param address_family: socket.AF_INET for IPv4 or socket.AF_INET6 for IPv6 :param ip_string: A unicode string of an IP address :return: A byte string of the network form of the IP address packed_ip must be %d bytes long - is %d address_family must be socket.AF_INET (%s) or socket.AF_INET6 (%s), not %s ip_string must be a dotted string with four integers in the range of 0 to 255, got %s %d.%d.%d.%d Windows compatibility shim for socket.inet_ntop(). :param address_family: socket.AF_INET for IPv4 or socket.AF_INET6 for IPv6 :param packed_ip: A byte string of the network form of an IP address :return: A unicode string of the IP address a_bnr_len_bitsasn1crypto._intpython_implementation Compute the modular inverse of a (mod p) :param a: An integer :param p: An integer :return: An integer r_buf Compute the modular inverse of a (mod p) :param a: An integer :param p: An integer :return: An integer ucvcvd_perf._big_num_ctypes Ensure a byte string representing a positive integer is a specific width (in bytes) :param bytes_: The integer byte string :param width: The desired width as an integer :return: A byte string of the width specified r_bnp_bytesa_buf/usr/lib/python3.7/site-packages/asn1crypto/_int.py Function for calculating the modular inverse. Exports the following items: - inverse_mod() Source code is derived from http://webpages.charter.net/curryfans/peter/downloads.html, but has been heavily modified to fit into this projects lint settings. The original project license is listed below: Copyright (c) 2014 Peter Pearson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. p_bnp_bufa_bytesPyPy/usr/lib/python3.7/site-packages/asn1crypto/_iri.pyremap80 Quotes a unicode string for use in a URL :param string: A unicode string :param safe: A unicode string of character to not encode :return: None (if string is None) or an ASCII byte string of the quoted string _urlquote.._try_unescapesafe_char_iri_utf8_errors_handlerbytes_as_ints!$&'()*+,;=_urlquote.._return_escape Converts an ASCII URI byte string into a unicode IRI :param value: An ASCII-encoded byte string of the URI :return: A unicode string of the IRI _extract_escape_urlunquoteprefix_match/!$&'()*+,;=@:%00/?!$&'()*+,;=@:%[0-9a-fA-F]{2} Unquotes a URI portion from a byte string into unicode using UTF-8 :param byte_string: A byte string of the data to unquote :param remap: A list of characters (as unicode) that should be re-mapped to a %XX encoding. This is used when characters are not valid in part of a URL. :param preserve: A bool - indicates that the chars to be remapped if they occur in non-hex form, should be preserved. E.g. / for URL path. :return: A unicode string unicode_string value must be a unicode string, not %s %%%02x Normalizes and encodes a unicode IRI into an ASCII byte string URI :param value: A unicode string of an IRI :return: A byte string of the ASCII-encoded URI iriutf8default_http443httpspreserve_unmap Functions to convert unicode IRIs into ASCII byte string URIs and back. Exports the following items: - iri_to_uri() - uri_to_iri() value must be a byte string, not %s real_prefix_urlquote.._extract_escape(?:%[0-9a-fA-F]{2})+default_https^[^:]*:// Error handler for decoding UTF-8 parts of a URI into an IRI. Leaves byte sequences encoded in %XX format, but as part of a unicode string. :param exc: The UnicodeDecodeError exception :return: A 2-element tuple of (replacement unicode string, integer index to resume at) _OrderedDict__endDictMixin/usr/lib/python3.7/site-packages/asn1crypto/_ordereddict.pynext_/usr/lib/python3.7/site-packages/asn1crypto/_perfasn1crypto._perf/usr/lib/python3.7/site-packages/asn1crypto/_perf/__init__.pyasn1crypto._perf._big_num_ctypesError initializing ctypesThe library libcrypto could not be foundc_char_pCDLLc_intc_void_plibcrypto_pathargtypesctypes.utilfind_libraryBN_new ctypes interface for BN_mod_inverse() function from OpenSSL. Exports the following items: - libcrypto - BN_bn2bin() - BN_CTX_free() - BN_CTX_new() - BN_free() - BN_mod_inverse() - BN_new() - BN_num_bits() - BN_set_negative() Will raise asn1crypto._ffi.LibraryNotFoundError() if libcrypto can not be found. Will raise asn1crypto._ffi.FFIEngineError() if there is an error interfacing with libcrypto. /usr/lib/python3.7/site-packages/asn1crypto/_perf/_big_num_ctypes.pyrestypeTeletexIncrementalEncoder.encode Implementation of the teletex T.61 codec. Exports the following items: - register() TeletexCodec.encodeENCODING_TABLE Search function for teletex codec that is passed to codecs.register() DECODING_TABLETeletexStreamReaderTeletexStreamWriter  !"￾￾%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[￾]￾_￾abcdefghijklmnopqrstuvwxyz￾|￾￾€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£$¥#§¤￾￾«￾￾￾￾°±²³×µ¶·÷￾￾»¼½¾¿￾̀́̂̃̄̆̇̈￾̧̨̲̊̋̌￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾ΩÆÐªĦ￾IJĿŁØŒºÞŦŊʼnĸæđðħıijŀłøœßþŧŋ￾TeletexIncrementalDecoder Registers the teletex codec /usr/lib/python3.7/site-packages/asn1crypto/_teletex_codec.pyinput_teletex_search_functionTeletexCodec.decodeTeletexIncrementalDecoder.decodeasn1crypto._types/usr/lib/python3.7/site-packages/asn1crypto/_types.py Returns a user-readable name for the type of an object :param value: A value to get the type name of :return: A unicode string of the object's type name %s.%skey_lengthtrailer_field_bcaes192_ofbs_bytesalgo_mapaes128_1.2.840.113549.1.1.9 Unrecognized encryption algorithm "%s", can not determine key derivation iterations cipher_lengths1.2.840.113549.1.1.8AlgorithmIdentifier Various structures based on AlgorithmIdentifier require that the parameters field be core.Null() for certain OIDs. This mixin ensures that happens. from_p1363 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 signature_algoaes256_cbcother_clsrounds 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 SignedDigestAlgorithm.signature_algokdf_iterationsKeyExchangeAlgorithm1.2.840.113549.1.3.1EncryptionAlgorithm.encryption_block_sizepbes1_sha1_des Invalid RC2 parameter version found in EncryptionAlgorithm parameters Pbkdf2SaltPbmac1Params_ForceNullParameters.__setitem__key_derivation_funcrc2 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. encryption_algohmac_algo1.2.840.113549.2.2cipher_mapto_p1363DSASignature.to_p13631.2.840.113549.2.9 Unrecognized encryption algorithm "%s" pbes2 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" 1.2.840.113549.2.13int_byte_length1.2.840.113549.2.11pbkdf1Pkcs5MacIdPSourceAlgorithmIdmask_gen_algorithmpkcs12_sha1_rc4_40RSASSAPSSParams 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" Unrecognized encryption algorithm "%s", can not determine key derivation salt aes128_ofbv1-01.3.14.3.2.10message_auth_schemepkcs12_sha1_tripledes_2key Encryption algorithm "%s" does not have a registered key derivation function p_specifiedpbes1_md2_rc2Pbes2Params Unrecognized encryption algorithm "%s", can not determine key derivation function Unrecognized encryption algorithm "%s", can not determine key derivation hmac algorithm Original Name: DHParameter Source: ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-3.asc section 9 sha512_256pbmac11.2.840.113549.2.12EncryptionAlgorithm.kdf1.2.840.113549.2.8SignedDigestAlgorithm.hash_algo 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 SignedDigestAlgorithmIdtripledes_3keyMaskGenAlgorithmIdkdf_hmaczmd2_rsazmd2zmd5_rsazmd5zsha1_rsazsha1z sha224_rsazsha224z sha256_rsazsha256z sha384_rsazsha384z sha512_rsazsha512zsha1_dsazsha1z sha224_dsazsha224z sha256_dsazsha256z sha1_ecdsazsha1z sha224_ecdsazsha224z sha256_ecdsazsha256z sha384_ecdsazsha384z sha512_ecdsazsha51201.2.840.113549.2.51.3.14.3.2.262.16.840.1.101.3.4.2.42.16.840.1.101.3.4.2.12.16.840.1.101.3.4.2.22.16.840.1.101.3.4.2.32.16.840.1.101.3.4.2.5sha512_2242.16.840.1.101.3.4.2.6 Returns the number of iterations that should be run via the KDF. :return: An integer rsassa_pssz pbes1_md2_desz pbes1_md5_desrz pbes1_md2_rc2rz pbes1_md5_rc2rzpbes1_sha1_desrzpbes1_sha1_rc2rzpkcs12_sha1_rc4_128zpkcs12_sha1_rc4_40zpkcs12_sha1_tripledes_3keyzpkcs12_sha1_tripledes_2keyrzpkcs12_sha1_rc2_128rzpkcs12_sha1_rc2_40r0EncryptionAlgorithm.encryption_ivrc2_parameter_version_null_algospbkdf2z 1.3.14.3.2.3zmd5_rsaz 1.3.14.3.2.29zsha1_rsaz1.3.14.7.2.3.1zmd2_rsaz1.2.840.113549.1.1.2zmd2_rsaz1.2.840.113549.1.1.4zmd5_rsaz1.2.840.113549.1.1.5zsha1_rsaz1.2.840.113549.1.1.14z sha224_rsaz1.2.840.113549.1.1.11z sha256_rsaz1.2.840.113549.1.1.12z sha384_rsaz1.2.840.113549.1.1.13z sha512_rsaz1.2.840.113549.1.1.10z rsassa_pssz1.2.840.10040.4.3zsha1_dsaz 1.3.14.3.2.13zsha1_dsaz 1.3.14.3.2.27zsha1_dsaz2.16.840.1.101.3.4.3.1z sha224_dsaz2.16.840.1.101.3.4.3.2z sha256_dsaz1.2.840.10045.4.1z sha1_ecdsaz1.2.840.10045.4.3.1z sha224_ecdsaz1.2.840.10045.4.3.2z sha256_ecdsaz1.2.840.10045.4.3.3z sha384_ecdsaz1.2.840.10045.4.3.4z sha512_ecdsaz1.2.840.113549.1.1.1zrsassa_pkcs1v15z1.2.840.10040.4.1zdsaz1.2.840.10045.4zecdsa0Rc5ParamVersionencryption_cipherother_sourceprfmgf1Rc5Paramszdsaz1.2.840.10040.4.1zecdsaz1.2.840.10045.4zmd2_rsaz1.2.840.113549.1.1.2zmd5_rsaz1.2.840.113549.1.1.4zrsassa_pkcs1v15z1.2.840.113549.1.1.1z rsassa_pssz1.2.840.113549.1.1.10zsha1_dsaz1.2.840.10040.4.3z sha1_ecdsaz1.2.840.10045.4.1zsha1_rsaz1.2.840.113549.1.1.5z sha224_dsaz2.16.840.1.101.3.4.3.1z sha224_ecdsaz1.2.840.10045.4.3.1z sha224_rsaz1.2.840.113549.1.1.14z sha256_dsaz2.16.840.1.101.3.4.3.2z sha256_ecdsaz1.2.840.10045.4.3.2z sha256_rsaz1.2.840.113549.1.1.11z sha384_ecdsaz1.2.840.10045.4.3.3z sha384_rsaz1.2.840.113549.1.1.12z sha512_ecdsaz1.2.840.10045.4.3.4z sha512_rsaz1.2.840.113549.1.1.130 Can not determine key derivation salt - the reserved-for-future-use other source salt choice was specified in the PBKDF2 params structure Returns the byte string to use as the salt for the KDF. :return: A byte string octet_string_iv_oids 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" encryption_schemedigest_algorithmPbkdf2Params Returns the name of the key derivation function to use. :return: A unicode from of one of the following: "pbkdf1", "pbkdf2", "pkcs12_kdf" EncryptionAlgorithm.kdf_hmaczmd2_rsazrsassa_pkcs1v15zmd5_rsazrsassa_pkcs1v15zsha1_rsazrsassa_pkcs1v15z sha224_rsazrsassa_pkcs1v15z sha256_rsazrsassa_pkcs1v15z sha384_rsazrsassa_pkcs1v15z sha512_rsazrsassa_pkcs1v15zrsassa_pkcs1v15zrsassa_pkcs1v15z rsassa_pssz rsassa_psszsha1_dsazdsaz sha224_dsazdsaz sha256_dsazdsazdsazdsaz sha1_ecdsazecdsaz sha224_ecdsazecdsaz sha256_ecdsazecdsaz sha384_ecdsazecdsaz sha512_ecdsazecdsazecdsazecdsa0Pbes1ParamsTrailerField Signature algorithm not known for %s aes128_cbc Hash algorithm not known for %s z pbes1_md2_desz pbes1_md5_desrz pbes1_md2_rc2rz pbes1_md5_rc2rzpbes1_sha1_desrzpbes1_sha1_rc2rzpkcs12_sha1_rc4_128zpkcs12_sha1_rc4_40rzpkcs12_sha1_tripledes_3keyrzpkcs12_sha1_tripledes_2keyrzpkcs12_sha1_rc2_128rzpkcs12_sha1_rc2_40r0rc2_paramsAnyAlgorithmId._setupdes_mac1.2.840.113549.2.71.2.840.113549.2.10p_source_algorithmRc2ParamsKeyExchangeAlgorithmIdaes192_cbcaes256_ofbkdf_salt_ForceNullParameters._parameters_specprivate_value_length1.2.840.113549.1.5.14z 1.3.14.3.2.7zdesz1.2.840.113549.3.7ztripledes_3keyz1.2.840.113549.3.2zrc2z1.2.840.113549.3.9zrc5z2.16.840.1.101.3.4.1.1z aes128_ecbz2.16.840.1.101.3.4.1.2z aes128_cbcz2.16.840.1.101.3.4.1.3z aes128_ofbz2.16.840.1.101.3.4.1.4z aes128_cfbz2.16.840.1.101.3.4.1.5z aes128_wrapz2.16.840.1.101.3.4.1.6z aes128_gcmz2.16.840.1.101.3.4.1.7z aes128_ccmz2.16.840.1.101.3.4.1.8zaes128_wrap_padz2.16.840.1.101.3.4.1.21z aes192_ecbz2.16.840.1.101.3.4.1.22z aes192_cbcz2.16.840.1.101.3.4.1.23z aes192_ofbz2.16.840.1.101.3.4.1.24z aes192_cfbz2.16.840.1.101.3.4.1.25z aes192_wrapz2.16.840.1.101.3.4.1.26z aes192_gcmz2.16.840.1.101.3.4.1.27z aes192_ccmz2.16.840.1.101.3.4.1.28zaes192_wrap_padz2.16.840.1.101.3.4.1.41z aes256_ecbz2.16.840.1.101.3.4.1.42z aes256_cbcz2.16.840.1.101.3.4.1.43z aes256_ofbz2.16.840.1.101.3.4.1.44z aes256_cfbz2.16.840.1.101.3.4.1.45z aes256_wrapz2.16.840.1.101.3.4.1.46z aes256_gcmz2.16.840.1.101.3.4.1.47z aes256_ccmz2.16.840.1.101.3.4.1.48zaes256_wrap_padz1.2.840.113549.1.5.13zpbes2z1.2.840.113549.1.5.1z pbes1_md2_desz1.2.840.113549.1.5.3z pbes1_md5_desz1.2.840.113549.1.5.4z pbes1_md2_rc2z1.2.840.113549.1.5.6z pbes1_md5_rc2z1.2.840.113549.1.5.10zpbes1_sha1_desz1.2.840.113549.1.5.11zpbes1_sha1_rc2z1.2.840.113549.1.12.1.1zpkcs12_sha1_rc4_128z1.2.840.113549.1.12.1.2zpkcs12_sha1_rc4_40z1.2.840.113549.1.12.1.3zpkcs12_sha1_tripledes_3keyz1.2.840.113549.1.12.1.4zpkcs12_sha1_tripledes_2keyz1.2.840.113549.1.12.1.5zpkcs12_sha1_rc2_128z1.2.840.113549.1.12.1.6zpkcs12_sha1_rc2_40z1.2.840.113549.1.1.1zrsaes_pkcs1v15z1.2.840.113549.1.1.7z rsaes_oaep0encryption_modeblock_size_in_bits/usr/lib/python3.7/site-packages/asn1crypto/algos.pyEncryptionAlgorithm.kdf_iterationsAnyAlgorithmIdentifier._setupencoded_key_bits_map :return: A unicode string of "md2", "md5", "sha1", "sha224", "sha256", "sha384", "sha512", "sha512_224", "sha512_256" 1.2.840.113549.1.5.12iteration_countEncryptionAlgorithmIdspecsDSASignature.from_p1363EncryptionAlgorithm.kdf_saltHmacAlgorithmId Returns the block size of the encryption cipher, in bytes. :return: An integer that is the block size in bytes :return: A unicode string of "rsassa_pkcs1v15", "rsassa_pss", "dsa" or "ecdsa" 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 z pbes1_md2_deszdesz pbes1_md5_deszdesz pbes1_md2_rc2zrc2z pbes1_md5_rc2zrc2zpbes1_sha1_deszdeszpbes1_sha1_rc2zrc2zpkcs12_sha1_rc4_128zrc4zpkcs12_sha1_rc4_40zrc4zpkcs12_sha1_tripledes_3keyz tripledeszpkcs12_sha1_tripledes_2keyz tripledeszpkcs12_sha1_rc2_128zrc2zpkcs12_sha1_rc2_40zrc20EncryptionAlgorithm.encryption_cipherKdfAlgorithmIdEncryptionAlgorithm.key_lengthEncryptionAlgorithm.encryption_mode Dumps a signature to a byte string compatible with Microsoft's BCryptVerifySignature() function. :return: A byte string compatible with BCryptVerifySignature() BitString._as_chunksize_modextra_bitssize_in_bytesextra_bits_bytevalue_bytes Represents a set (unordered) of a single type of values from ASN.1 as a Python object with a list-like interface _oid_nums %s._map has not been defined is_anySet Encodes the value using DER :param force: If the encoded contents already exist, clear them and regenerate to ensure they are in DER format instead of BER format :return: A byte string of the DER-encoded value IntegerBitStringVideotexStringAny.__init__ Allows adding a child to the end of the sequence :param value: Native python datatype that will be passed to _child_spec to create new child object Sets the value of the object :param value: A unicode string or a datetime.datetime object :raises: ValueError - when an invalid value is passed child_tag_encodings Unknown element - %s class, %s method, tag %s Represents a printable string from ASN.1 as a Python unicode string [%s %s] Represents a bit string in ASN.1 as a Python integer Allows settings children by index :param key: An integer of the child index :param value: An Asn1Value object to set the child to :raises: KeyError - when an index is invalid ValueError - when the value is not an instance of Asn1Value class_nameSequenceOf.__init__ Allows reconstructing indefinite length values :return: A tuple of integers Asn1Value.__deepcopy__ %s value must be an integer or a unicode string, not %s Represents a sequence (ordered) of a single type of values from ASN.1 as a Python object with a list-like interface Missing required field "%s" from %s SequenceOf._copy Copies the contents of another Sequence object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects The a native Python datatype representation of this value :return: A list or None. If a list, all child values are recursively converted to native representation also. nest_level When passing a dict as the "name" argument to %s, it must have a single key/value - however %d were present Checks to ensure implicit tagging is not being used since it is incompatible with Choice, then forwards on to Asn1Value.__init__() :param name: The name of the alternative to be set - used with value. Alternatively this may be a dict with a single key being the name and the value being the value, or a two-element tuple of the the name and the value. :param value: The alternative value to set - used with name :raises: ValueError - when implicit param is passed (or legacy tag_type param is "implicit") encoded_part Represents a graphic string from ASN.1 as a Python unicode string Copies the contents of another Constructable object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects ParsableOctetString.parseSetOf._set_contentsSequence._copy Can not copy values from %s object to %s object Loads a BER/DER-encoded byte string using the current class as the spec :param encoded_data: A byte string of BER or DER encoded data :param strict: A boolean indicating if trailing data should be forbidden - if so, a ValueError will be raised when trailing data exists :return: A instance of the current class child_encodingsmutatedapplication Value for field "%s" of %s is not set retagParsableOctetString.__init__ Loads a BER/DER-encoded byte string using the current class as the spec :param encoded_data: A byte string of BER or DER-encoded data :param strict: A boolean indicating if trailing data should be forbidden - if so, a ValueError will be raised when trailing data exists :return: An instance of the current class field_specvalue_specfield_paramsspecs_differentSequenceOf.__iter__Asn1Value.untagSequence._determine_specAsn1Value._copySequenceOf.__getitem__%s Children: No field numbered %s is present in this %s ObjectDescriptornew_objspec_overridemissing_bytesconstructed %s value must be an integer or unicode string when a name_map is provided, not %s SequenceOf.debug %s value must be a tuple of ones and zeros or a set of unicode strings, not %s OctetBitString.setSequenceOf.__len__ :return: A unicode string {0:b} Since str is different in Python 2 and 3, this calls the appropriate method, __unicode__() or __bytes__() :return: A unicode string Sets the value of the object :param value: A unicode string. May be a dotted integer string, or if _map is provided, one of the mapped values. :raises: ValueError - when an invalid value is passed SequenceOf.dump Represents a UTF-8 string from ASN.1 as a Python unicode string strlenSet._set_contents Prints out basic information about an Asn1Value object. Extracted for reuse among different classes that customize the debug information. :param prefix: A unicode string of spaces to prefix output line with :param self: The object to print the debugging information about Primitive.__ne__Any._copy_parsed %s value must be a byte string, not %s Any.dump A mixin to handle converting an object between different classes that represent the same encoded value, but with different rules for converting to and from native Python values IntegerOctetString.nativeConcat._copy The a native Python datatype representation of this value :return: The .native value from the parsed value object _precomputed_specs Copies the contents of another Choice object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects %s %s %s tag %s (implicitly tagged) Represents a enumerated list of integers from ASN.1 as a Python unicode string _SETUP_CLASSESBitString.__setitem__Boolean.__bool__ Represents a visible string from ASN.1 as a Python unicode string %s._map has not been defined _is_mutatedcontents_lengthGraphicString Unable to retrieve spec for field %s in the class %s because _fields has not been set The a native Python datatype representation of this value :return: A unicode string or None The Choice type can not be implicitly tagged even if in an implicit module - due to its nature any tagging must be explicit Copies the contents of another SequenceOf object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects _trailer_name_map Determines the spec to use for the field specified. Depending on how the spec is determined (_oid_pair or _spec_callbacks), it may be necessary to set preceding field values before calling this. Usually specs, if dynamic, are controlled by a preceding ObjectIdentifier field. :param field_name: A unicode string of the field name to get the spec for :return: A child class of asn1crypto.core.Asn1Value that the field must be encoded using SequenceOf.append Allows reconstructing indefinite length values :return: A unicode string of bits - 1s and 0s encoded_data must be a byte string, not %s The a native Python datatype representation of this value :return: None unused_keys_native Copies the contents of another Concat object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects spec_paramsencoded_lennew_pointerextra_bytes A class to handle when a value may be one of several options Asn1Value.debug%s Data: 0x%sObjectIdentifier.native Updates the .contents attribute of the value with the encoded value of all of the child objects :param force: Ensure all contents are in DER format instead of possibly using cached BER-encoded data primitive_parse_build Allows providing a parsed object that will be serialized to get the byte string value :param value: A native Python datatype to initialize the object value with :param parsed: If value is None and this is an Asn1Value object, this will be set as the parsed value, and the value will be obtained by calling .dump() on this object. Show the binary data and parsed data in a tree structure set_parsedAbstractString._copy Sets the value of the object :param value: An integer :raises: ValueError - when an invalid value is passed ParsableOctetString.set :return: An iterator of field key names A value class that can contain any value, and allows for easy parsing of the underlying encoded value using a spec. This is normally contained in a Structure that has an ObjectIdentifier field and _oid_pair and _oid_specs defined. parsed_valuePrimitive.dump Error parsing %s - method should have been %s, but %s was found Choice.__init__ Represents an instance from ASN.1 - no Python implementation _new_instanceSequenceOf._make_value_dottedBoolean.__nonzero__Asn1Value.__bytes__ Implements the copy.copy() interface :return: A new shallow copy of the current Asn1Value object Constructs a new copy of the current object, preserving any tagging :return: An Asn1Value object Void.__iter__Sequence.__delitem__ Converts the current object into an object of a different class. The new class must use the ASN.1 encoding for the value. :param other_class: The class to instantiate the new object from :return: An instance of the type other_class %s value "%s" is not a valid value Basic functionality that allows for mapping values from ints or OIDs to python unicode strings Represents a UTC time from ASN.1 as a Python datetime.datetime object in UTC Sequence.__len__ A sequence structure required_classrequired_tagOctetBitString.__bytes__ Copies the object, removing any special tagging from it :return: An Asn1Value object :return: A unicode string of the field name of the chosen alternative Integer.setParsableOctetString.native Represents a character string from ASN.1 as a Python unicode string date_formatmod_bit_lenConcat.__bytes__ Implements the copy.deepcopy() interface :param memo: A dict for memoization :return: A new deep copy of the Concat object and all child objects child_dumpdefault_value[-\+] Represents an object identifier in ASN.1 as a Python unicode dotted integer string Concat.__unicode__Realinvalid_class A method to return a chunk of data that can be combined for constructed method values :return: A native Python value that can be added together. Examples include byte strings, unicode strings or tuples. Represents a general string from ASN.1 as a Python unicode string Sequence.__init__METHOD_NUM_TO_NAME_MAPAsn1Value.loadPrimitive.set :param value: A byte string of the DER-encoded contents of the sequence SequenceOf.__setitem__Void.nativeIntegerBitString.setCLASS_NUM_TO_NAME_MAPVOIDinvalid_value Implements the copy.copy() interface :return: A new shallow copy of the Concat object SequenceOf.specselfrecurseclsindex_params field_name field_spec value_spec field_paramscontents_length child_pointerfield field_lenpartsagain spec_override choice_matchtesterchild missed_fields prev_fieldprev_field_infopluralmissed_field_namesnameeargs%s Field "%s" Allows removing a child via index :param key: Integer index of child %Y%m%d%H%M :param other: The other Primitive to compare to :return: A boolean :return: A byte string of the DER-encoded contents of the sequence Constructable._copy Represents a numeric string from ASN.1 as a Python unicode string Error parsing %s - class should have been %s, but %s was found InstanceOf%s%s Object #%s^\d+(\.\d+)*$_build_id_tuple_field_idsis_int Converts old-style "tag_type" and "tag" params to "explicit" and "implicit" :param params: A dict of parameters to convert from tag_type/tag to explicit/implicit no_explicitConcat.__getitem__ value must be an instance of Asn1Value, not %s AbstractString.setVoid.dumpConcat.load Represents a generalized time from ASN.1 as a Python datetime.datetime object or asn1crypto.util.extended_datetime object in UTC Concat.__iter__ The a native Python datatype representation of this value :return: True, False or None Represents a videotex string from ASN.1 as a Python byte string Generates _reverse_map from _map new_native Sets the value of the object :param value: A byte string :raises: ValueError - when an invalid value is passed Can not set a native python value to %s where the _child_spec is the choice type %s - value must be an instance of Asn1Value Encodes all child objects into the contents for this object :param force: Ensure all contents are in DER format instead of possibly using cached BER-encoded data TeletexString Checks if a value is properly tagged based on the spec, and re/untags as necessary :param value: An Asn1Value object :param params: A dict of spec params :return: An Asn1Value that is properly tagged Copies the contents of another Any object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects ValueMapConcat.copyAbstractTimeAsn1Value._new_instance Builds a child object if the child has only been parsed into a tuple so far ObjectIdentifier.unmapAsn1Value.dump_basic_debug A byte string of the DER-encoded contents Concat.__init__Choice._format_class_tag_date_by_len Error parsing %s - tag should have been %s, but %s was found %s %s tag %s (explicitly tagged) Represents a BMP string from ASN.1 as a Python unicode string has_timezoneIntegerBitString._as_chunk Represents a byte string in ASN.1 as a Python integer asn1s Builds an Asn1Value object generically, or using a spec with optional params :param class_: An integer representing the ASN.1 class :param method: An integer representing the ASN.1 method :param tag: An integer representing the ASN.1 tag :param header: A byte string of the ASN.1 header (class, method, tag, length) :param contents: A byte string of the ASN.1 value :param trailer: A byte string of any ASN.1 trailer (only used by indefinite length encodings) :param spec: A class derived from Asn1Value that defines what class_ and tag the value should have, and the semantics of the encoded value. The return value will be of this type. If omitted, the encoded value will be decoded using the standard universal tag based on the encoded tag number. :param spec_params: A dict of params to pass to the spec object :param nested_spec: For certain Asn1Value classes (such as OctetString and BitString), the contents can be further parsed and interpreted as another Asn1Value. This parameter controls the spec for that sub-parsing. :return: An object of the type spec, or if not specified, a child of Asn1Value field_name must be a unicode string, not %s Asn1Value.__str__ The optional parameter is not used, but rather included so we don't have to delete it from the parameter dictionary when passing as keyword args :param explicit: An int tag number for explicit tagging, or a 2-element tuple of class and tag. :param implicit: An int tag number for implicit tagging, or a 2-element tuple of class and tag. :param no_explicit: If explicit tagging info should be removed from this instance. Used internally to allow contructing the underlying value that has been wrapped in an explicit tag. :param tag_type: None for normal values, or one of "implicit", "explicit" for tagged values. Deprecated in favor of explicit and implicit params. :param class_: The class for the value - defaults to "universal" if tag_type is None, otherwise defaults to "context". Valid values include: - "universal" - "application" - "context" - "private" Deprecated in favor of explicit and implicit params. :param tag: The integer tag to override - usually this is used with tag_type or class_. Deprecated in favor of explicit and implicit params. :param optional: Dummy parameter that allows "optional" key in spec param dicts :param default: The default value to use if the value is currently None :param contents: A byte string of the encoded contents of the value :raises: ValueError - when implicit, explicit, tag_type, class_ or tag are invalid values The a native Python datatype representation of this value :return: An OrderedDict or None. If an OrderedDict, all child values are recursively converted to native representation also. ParsableOctetString._copyself_basesConcat.__setitem___chunks_offset Checking membership in %s is only available for instances of %s, not %s The a native Python datatype representation of this value :return: A datetime.datetime object in the UTC timezone or None _field_mapNull.set ASN.1 type classes for universal types. Exports the following items: - load() - Any() - Asn1Value() - BitString() - BMPString() - Boolean() - CharacterString() - Choice() - EmbeddedPdv() - Enumerated() - GeneralizedTime() - GeneralString() - GraphicString() - IA5String() - InstanceOf() - Integer() - IntegerBitString() - IntegerOctetString() - Null() - NumericString() - ObjectDescriptor() - ObjectIdentifier() - OctetBitString() - OctetString() - PrintableString() - Real() - RelativeOid() - Sequence() - SequenceOf() - Set() - SetOf() - TeletexString() - UniversalString() - UTCTime() - UTF8String() - VideotexString() - VisibleString() - VOID - Void() Other type classes are defined that help compose the types listed above. Concat.__copy__ Represents a real number from ASN.1 - no Python implementation SequenceOf._set_contents value must be a unicode string, not %s :return: An Asn1Value object of the chosen alternative %s Native: %s The a native Python datatype representation of this value :return: An integer or None Sequence._setuppassed_params tag_type must be one of "implicit", "explicit", not %s UTCTime.set %s value %s is not a valid value Sequence._make_valueVoid.__eq__ Data for field %s (%s class, %s method, tag %s) does not match any of the field definitions Sets the value of the object :param value: An integer, or a unicode string if _map is set :raises: ValueError - when an invalid value is passed ValueMap._setupSequenceOf.__contains___bad_tag Allows settings fields by name or index :param key: A unicode string of the field name, or an integer of the field index :param value: A native Python datatype to set the field value to. This method will construct the appropriate Asn1Value object from _fields. :raises: ValueError - when a field name or index is invalid :return: A byte string of the DER-encoded contents of the children selfrecurseclsindex_params field_name field_spec value_spec field_params child_mapcontents_length child_pointer seen_fieldpartsid_field spec_overridechild total_fieldsnamemissingeargs Allows accessing children via index :param key: Integer index of child A base class for all strings that have a known encoding. In general, we do not worry ourselves with confirming that the decoded values match a specific set of characters, only that they are decoded into a Python unicode string class_ must be one of "universal", "application", "context", "private", not %s Allows overriding a child via index :param key: Integer index of child :param value: Native python datatype that will be passed to _child_spec to create new child object Concat.__repr__ %s value must be at most %s bits long, specified was %s long _fix_taggingSequence.__getitem__Sequence.__setitem__%y%m%d%H%M%SZ :return: An iterator of child values Converts a mapped unicode string value into a dotted unicode string OID :param value: A mapped unicode string OR dotted unicode string OID :raises: ValueError - when no _map dict has been defined on the class or the value can't be unmapped TypeError - when value is not a unicode string :return: A dotted unicode string OID Can not set a native python value to %s, which has the choice type of %s - value must be an instance of Asn1Value SequenceOf._is_mutated Converts a dotted unicode string OID into a mapped unicode string :param value: A dotted unicode string OID :raises: ValueError - when no _map dict has been defined on the class TypeError - when value is not a unicode string :return: A mapped unicode string Choice.loadchild_value_choice :return: A boolean - if the sequence or any children (recursively) have been mutated Builds a 2-element tuple used to identify fields by grabbing the class_ and tag from an Asn1Value class and the params dict being passed to it :param params: A dict of params to pass to spec :param spec: An Asn1Value class :return: A 2-element integer tuple in the form (class_, tag) Copies the contents of another Asn1Value object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects Represents a byte string in both ASN.1 and Python ObjectIdentifier.mapAny.parseAbstractString.native%Y%m%d%H%M%S.%fIntegerOctetString.setChoice.chosenConcat.__str__ Allows deleting optional or default fields by name or index :param key: A unicode string of the field name, or an integer of the field index :raises: ValueError - when a field name or index is invalid, or the field is not optional or defaulted Encodes all child objects into the contents for this object. This method is overridden because a Set needs to be encoded by removing defaulted fields and then sorting the fields by tag. :param force: Ensure all contents are in DER format instead of possibly using cached BER-encoded data class_methodtagheadercontentstrailerspec spec_params nested_spec header_set no_explicitvalueoriginal_explicit explicit_info parsed_class parsed_method parsed_tagto_parseexplicit_headerexplicit_trailerexpected_class expected_taginfo_ parsed_headerparsed_trailereargs ber_indeforiginal_value Field "%s" is missing from structure Error parsing %s - explicitly-tagged tag should have been %s, but %s was found Represents a universal string from ASN.1 as a Python unicode string Sequence._lazy_child When passing a tuple as the "name" argument to %s, it must have two elements, the name and value - however %d were present year_num Sets the class_ and method attributes for primitive, universal values Void.__nonzero__Concat.__deepcopy__ Represents an object descriptor from ASN.1 - no Python implementation _id_map Can not set a native python value to %s where the _child_spec is Any - value must be an instance of Asn1Value Enumerated.native Determine how a value for a field should be constructed :param index: The field number :return: A tuple containing the following elements: - unicode string of the field name - Asn1Value class of the field spec - Asn1Value class of the value spec - None or dict of params to pass to the field spec - None or Asn1Value class indicating the value spec was derived from an OID or a spec callback Represents a sequence of fields from ASN.1 as a Python object with a dict-like interface The a native Python datatype representation of this value :return: A byte string or None Constructable._as_chunkcheck_existingSequenceOf._parse_childrenAsn1Value.__repr__Concat.debugPrimitive.__eq__ Copies the object, applying a new tagging to it :param tagging: A dict containing the keys "explicit" and "implicit". Legacy API allows a unicode string of "implicit" or "explicit". :param tag: A integer tag number. Only used when tagging is a unicode string. :return: An Asn1Value object Parses a date from a string based on its length :param string: A unicode string to parse :return: A datetime.datetime object or a unicode string Represents a bit string from ASN.1 as a Python tuple of 1s and 0s :return: An iter() of child objects Concat.__len__<%s %s %s> Sets the value of the object :param value: A unicode string, a datetime.datetime object or an asn1crypto.util.extended_datetime object :raises: ValueError - when an invalid value is passed Encodes all child objects into the contents for this object. This method is overridden because a SetOf needs to be encoded by sorting the child encodings. :param force: Ensure all contents are in DER format instead of possibly using cached BER-encoded data OctetBitString.nativeCastable.cast :return: True or False <%s %s b%s> The name specified, "%s", is not a valid alternative for %s /usr/lib/python3.7/site-packages/asn1crypto/core.py A mixin to handle string types that may be constructed from chunks contained within an indefinite length BER-encoded container Sets the value of the object before passing to Asn1Value.__init__() :param value: A native Python datatype to initialize the object value with :param default: The default value if no value is specified :param contents: A byte string of the encoded contents of the value Allows setting child objects and the _child_spec via the spec parameter before passing everything else along to Asn1Value.__init__() :param value: A native Python datatype to initialize the object value with :param default: The default value if no value is specified :param contents: A byte string of the encoded contents of the value :param spec: A class derived from Asn1Value to use to parse children Sequence.native %s was explicitly tagged, but the value provided does not match the class and tag Set._parse_children implicit class must be one of "universal", "application", "context", "private", not %s Represents a teletex string from ASN.1 as a Python unicode string method_namePrimitive.__init__SequenceOf.__delitem__ explicit tag must be an integer, not %s Integer.__int__ :return: A unicode string of the object identifier in dotted notation, thus ignoring any mapped value has_parsed Returns the parsed object from .parse() :return: The object returned by .parse() SequenceOf.contents A fall-back method for print() in Python 2 :return: A byte string of the output of repr() Sets the value of the object :param value: An integer or a tuple of integers 0 and 1 :raises: ValueError - when an invalid value is passed AbstractString.__unicode__Choice.name Loads a BER/DER-encoded byte string and construct a universal object based on the tag value: - 1: Boolean - 2: Integer - 3: BitString - 4: OctetString - 5: Null - 6: ObjectIdentifier - 7: ObjectDescriptor - 8: InstanceOf - 9: Real - 10: Enumerated - 11: EmbeddedPdv - 12: UTF8String - 13: RelativeOid - 16: Sequence, - 17: Set - 18: NumericString - 19: PrintableString - 20: TeletexString - 21: VideotexString - 22: IA5String - 23: UTCTime - 24: GeneralizedTime - 25: GraphicString - 26: VisibleString - 27: GeneralString - 28: UniversalString - 29: CharacterString - 30: BMPString :param encoded_data: A byte string of BER or DER-encoded data :param strict: A boolean indicating if trailing data should be forbidden - if so, a ValueError will be raised when trailing data exists :raises: ValueError - when strict is True and trailing data is present ValueError - when the encoded value tag a tag other than listed above ValueError - when the ASN.1 header length is longer than the data TypeError - when encoded_data is not a byte string :return: An instance of the one of the universal classes %s Native: b%sSequence._parse_childrenSequence.debughas_callback Copies the contents of another AbstractString object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects while parsing %s Can not covert a value from %s object to %s object since they use different tags: %d versus %d AbstractTime.nativeSequence.__iter__ Can not delete the value for the field "%s" of %s since it is not optional or defaulted Represents a bit string in ASN.1 as a Python byte string sub_value A class that contains two or more encoded child values concatentated together. THIS IS NOT PART OF THE ASN.1 SPECIFICATION! This exists to handle the x509.TrustedCertificate() class for OpenSSL certificates containing extra information. OctetBitString._copyParsableOctetBitString.set :param item: An object of the type cls._child_spec :return: A boolean if the item is contained in this SequenceOf Set._set_contents..Enumerated.set implicit tag must be an integer, not %s Determines the spec to use for child values. :return: A child class of asn1crypto.core.Asn1Value that child values must be encoded using Choice._setupSequence.dump Represents a null value in ASN.1 as None in Python %s value, %s, is not present in the _map Represents an IA5 string from ASN.1 as a Python unicode string Copies the contents of another OctetString object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects Parses a byte string generically, or using a spec with optional params :param encoded_data: A byte string that contains BER-encoded data :param pointer: The index in the byte string to parse from :param spec: A class derived from Asn1Value that defines what class_ and tag the value should have, and the semantics of the encoded value. The return value will be of this type. If omitted, the encoded value will be decoded using the standard universal tag based on the encoded tag number. :param spec_params: A dict of params to pass to the spec object :param strict: A boolean indicating if trailing data should be forbidden - if so, a ValueError will be raised when trailing data exists :return: A 2-element tuple: - 0: An object of the type spec, or if not specified, a child of Asn1Value - 1: An integer indicating how many bytes were consumed Any.native Copies the object, preserving any special tagging from it :return: An Asn1Value object Constructs a _child_spec value from a native Python data type, or an appropriate Asn1Value object :param value: A native Python value, or some child of Asn1Value :return: An object of type _child_spec Boolean.set Parses the contents and generates Asn1Value objects based on the definitions from _fields. :param recurse: If child objects that are Sequence or SequenceOf objects should be recursively parsed :raises: ValueError - when an error occurs parsing child objects Copies the object :return: A Concat object %s value must be a unicode string, not %s %s value must be an integer, not %s Sets one of the bits based on a name from the _map :param key: The unicode string of one of the bit names :param value: A boolean value :raises: ValueError - when _map is not set or the key name is invalid GeneralizedTime.set %s._map does not contain an entry for "%s" while constructing %s_OID_REvalidateOctetString.__bytes__Null.native No field named "%s" defined for %s _UNIVERSAL_SPECSInteger.nativemax_keyChoice.validate Copies the contents of another OctetBitString object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects The basis of all ASN.1 values Set._setupUTCTime._date_by_len explicit class must be one of "universal", "application", "context", "private", not %s Asn1Value.__copy__Sequence.contentsis_mapped_oidParsableOctetString.parsed Value for child %s of %s is not an instance of asn1crypto.core.Asn1Value Sets the value of the object before passing to Asn1Value.__init__() :param value: An Asn1Value object that will be set as the parsed value One or more unknown fields was passed to the constructor of %s: %s Parses a date from a string based on its length :param string: A unicode string to parse :return: A datetime.datetime object, asn1crypto.util.extended_datetime object or a unicode string Represents an integer in both ASN.1 and Python Parses the detected alternative :return: An Asn1Value object of the chosen alternative Sets the value of the object :param value: True, False or another value that works with bool() Copies the contents of another ParsableOctetString object to itself :param object: Another instance of the same class :param copy_func: An reference of copy.copy() or copy.deepcopy() to use when copying lists, dicts and objects :return: Integer Represents a set of fields (unordered) from ASN.1 as a Python object with a dict-like interface Any.parsed %s value is a unicode string, but no _map provided %s._map does not contain an entry for "%s" The a native Python datatype representation of this value :return: If a _map is set, a set of names, or if no _map is set, a tuple of integers 1 and 0. None if no value. Implements the copy.deepcopy() interface :param memo: A dict for memoization :return: A new deep copy of the current Asn1Value object _merge_chunksother_basesChoice._copy Sets the value of the object :param value: None Choice.dumpAsn1Value.__unicode___child_specsAsn1Value.copy %s was implicitly tagged, but more than one alternative exists Parses the contents and generates Asn1Value objects based on the definitions from _child_spec. :param recurse: If child objects that are Sequence or SequenceOf objects should be recursively parsed :raises: ValueError - when an error occurs parsing child objects SequenceOf.native%s Header: 0x%s Sets the value of the object :param value: A byte string Concat.contents%s %s %s %s Error parsing %s - explicitly-tagged class should have been %s, but %s was found Error parsing %s - explicitly-tagged method should have been %s, but %s was found :param value: A native Python datatype to initialize the object value with :param contents: A byte string of the encoded contents of the value :param strict: A boolean indicating if trailing data should be forbidden - if so, a ValueError will be raised when trailing data exists in contents :raises: ValueError - when an error occurs with one of the children TypeError - when an error occurs with one of the children No child is definition for position %d of %s Data for field %s (%s class, %s method, tag %s) does not match the field definition%s of %s Void.__len__ Sets the value of the string :param value: A unicode string Choice.parseObjectIdentifier.setConstructable._merge_chunksObjectIdentifier.dottedIntegerBitString.native_indefiniteConcat.dumpSequence._is_mutatedBitString.__getitem__ Represents a time from ASN.1 as a Python datetime.datetime object _tag_type_to_explicit_implicit Loads a BER/DER-encoded byte string using the current class as the spec :param encoded_data: A byte string of BER or DER encoded data :param strict: A boolean indicating if trailing data should be forbidden - if so, a ValueError will be raised when trailing data exists :return: A Concat object Allows accessing children by index :param key: An integer of the child index :raises: KeyError - when an index is invalid :return: The Asn1Value object of the child specified Sequence._set_contents Contructs an appropriate Asn1Value object for a field :param field_name: A unicode string of the field name :param field_spec: An Asn1Value class that is the field spec :param value_spec: An Asn1Value class that is the vaue spec :param field_params: None or a dict of params for the field spec :param value: The value to construct an Asn1Value object from :return: An instance of a child class of Asn1Value Allows setting field values before passing everything else along to Asn1Value.__init__() :param value: A native Python datatype to initialize the object value with :param default: The default value if no value is specified Value %s did not match the class and tag of any of the alternatives in %s: %s Sets the value of the object :param value: An integer or a unicode string from _map :raises: ValueError - when an invalid value is passed Allows accessing fields by name or index :param key: A unicode string of the field name, or an integer of the field index :raises: KeyError - when a field name or index is invalid :return: The Asn1Value object of the field specified Constructed bit string has extra bits on indefinite container :return: A unicode string of a human-friendly representation of the class and tag ParsableOctetString.__bytes__ Generates _field_map, _field_ids and _oid_nums for use in parsing Asn1Value.retagChoice.nativeGeneralizedTime._date_by_len Ensures that the class and tag specified exist as an alternative :param class_: The integer class_ from the encoded value header :param tag: The integer tag from the encoded value header :param contents: A byte string of the contents of the value - used when the object is explicitly tagged :raises: ValueError - when value is not a valid alternative Sequence.spec The a native Python datatype representation of this value :return: A unicode string or None. If _map is not defined, the unicode string is a string of dotted integers. If _map is defined and the dotted string is present in the _map, the mapped value is returned. The a native Python datatype representation of this value :return: The .native value from the contained value object Boolean.native Retrieves a boolean version of one of the bits based on a name from the _map :param key: The unicode string of one of the bit names :raises: ValueError - when _map is not set or the key name is invalid :return: A boolean if the bit is set Field "%s" is missing from structure Represents a boolean in both ASN.1 and Python SequenceOf._lazy_child A representation of an optional value that is not present. Has .native property and .dump() method to be compatible with other value classes. ParsableOctetString.dump A fall-back method for print() in Python 3 :return: A unicode string of the output of repr() Parses the contents generically, or using a spec with optional params :param spec: A class derived from Asn1Value that defines what class_ and tag the value should have, and the semantics of the encoded value. The return value will be of this type. If omitted, the encoded value will be decoded using the standard universal tag based on the encoded tag number. :param spec_params: A dict of params to pass to the spec object :return: An object of the type spec, or if not present, a child of Asn1Value BitString._setupObjectIdentifier.__unicode__ :return: A concatenation of the native values of the contained chunks CLASS_NAME_TO_NUM_MAP Generates _id_map from _alternatives to allow validating contents No child is defined for position %d of %s PrivateKeyInfo.unwrapFieldType Compressed representations of EC public keys are not supported due to patent US6252960 _sha256 :return: The bit size of the public key, as an integer first_bytePrivateKeyInfo.hash_algo Original Name: None Source: https://tools.ietf.org/html/rfc3279 _ECPoint Source: https://tools.ietf.org/html/rfc3447#page-44 k1pp_basis1.2.840.10045.1.2.1.2k2prime_field Wraps a private key in a PrivateKeyInfo structure :param private_key: A byte string or Asn1Value object of the private key :param algorithm: A unicode string of "rsa", "dsa" or "ec" :return: A PrivateKeyInfo object OtherPrimeInfosPublicKeyInfo.curve :return: If an RSA key, an RSAPublicKey object. If a DSA key, an Integer object. If an EC key, an ECPointBitString object. Original Name: Version Source: https://tools.ietf.org/html/rfc3447#page-45 CharacteristicTwoBasis Returns the X and Y coordinates for this EC point, as native Python integers :return: A 2-element tuple containing integers (X, Y) PrivateKeyInfo.algorithmPrivateKeyInfo.public_key_info Unable to compute public key for EC named curve %s, parameters not currently included characteristic_two_fieldecdpVer1ecdpVer2ecdpVer3z1.2.840.10045.3.0.1z c2pnb163v1z1.2.840.10045.3.0.2z c2pnb163v2z1.2.840.10045.3.0.3z c2pnb163v3z1.2.840.10045.3.0.4z c2pnb176w1z1.2.840.10045.3.0.5z c2tnb191v1z1.2.840.10045.3.0.6z c2tnb191v2z1.2.840.10045.3.0.7z c2tnb191v3z1.2.840.10045.3.0.8z c2onb191v4z1.2.840.10045.3.0.9z c2onb191v5z1.2.840.10045.3.0.10z c2pnb208w1z1.2.840.10045.3.0.11z c2tnb239v1z1.2.840.10045.3.0.12z c2tnb239v2z1.2.840.10045.3.0.13z c2tnb239v3z1.2.840.10045.3.0.14z c2onb239v4z1.2.840.10045.3.0.15z c2onb239v5z1.2.840.10045.3.0.16z c2pnb272w1z1.2.840.10045.3.0.17z c2pnb304w1z1.2.840.10045.3.0.18z c2tnb359v1z1.2.840.10045.3.0.19z c2pnb368w1z1.2.840.10045.3.0.20z c2tnb431r1z1.2.840.10045.3.1.2z prime192v2z1.2.840.10045.3.1.3z prime192v3z1.2.840.10045.3.1.4z prime239v1z1.2.840.10045.3.1.5z prime239v2z1.2.840.10045.3.1.6z prime239v3z 1.3.132.0.1z sect163k1z 1.3.132.0.15z sect163r2z1.2.840.10045.3.1.1z secp192r1z 1.3.132.0.33z secp224r1z 1.3.132.0.26z sect233k1z1.2.840.10045.3.1.7z secp256r1z 1.3.132.0.27z sect233r1z 1.3.132.0.16z sect283k1z 1.3.132.0.17z sect283r1z 1.3.132.0.34z secp384r1z 1.3.132.0.36z sect409k1z 1.3.132.0.37z sect409r1z 1.3.132.0.35z secp521r1z 1.3.132.0.38z sect571k1z 1.3.132.0.39z sect571r10FieldIDto_hash1.2.840.10045.2.1RSAPrivateKeyVersionprivate_key_algoPrivateKeyAlgorithm :return: The SHA1 hash of the DER-encoded bytes of this public key info field_typey_bytesPublicKeyInfo.sha1PrivateKeyInfo.fingerprintAttribute1.2.840.10045.1.2.1.1PublicKeyInfo.bit_size Returns the name of the family of hash algorithms used to generate a DSA key :raises: ValueError - when the key is not a DSA key :return: A unicode string of "sha1" or "sha2" or None if no parameters are present ECDomainParametersPublicKeyInfo.sha256ECPrivateKey1.2.840.10045.1.1implicit_caECPrivateKeyVersionPublicKeyInfo.byte_sizex_bytes_ECPoint.to_coordstp_basistwo-primePrivateKeyInfo._private_key_spec Source: http://www.secg.org/sec1-v2.pdf page 100 :return: A PublicKeyInfo object derived from this private key. base_point Original Name: SubjectPublicKeyInfo Source: https://tools.ietf.org/html/rfc5280#page-17 encrypted_dataPentanomial In both PublicKeyInfo and PrivateKeyInfo, the EC public key is a byte string that is encoded as a bit string. This class adds convenience methods for converting to and from the byte string to a pair of integers that are the X and Y coordinates. Source: http://www.secg.org/sec1-v2.pdf page 104 Various named curves Original Name: None Source: https://tools.ietf.org/html/rfc3279#page-23, https://tools.ietf.org/html/rfc5480#page-5 1.2.840.10045.1.2.1.3PublicKeyAlgorithmId/usr/lib/python3.7/site-packages/asn1crypto/keys.pyPublicKeyInfo._public_key_specgn_basis_ECPoint.from_coords Original Name: AlgorithmIdentifier Source: https://tools.ietf.org/html/rfc5280#page-18 :return: The SHA-256 hash of the DER-encoded bytes of this public key info These OIDs for various public keys are reused when storing private keys inside of a PKCS#8 structure Original Name: None Source: https://tools.ietf.org/html/rfc3279 The ASN.1 structure that OpenSSL uses to store a DSA private key that is not part of a PKCS#8 structure. Reversed engineered from english-language description on linked OpenSSL documentation page. Original Name: None Source: https://www.openssl.org/docs/apps/dsa.html EncryptedPrivateKeyInfo Source: https://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-X.501-198811-S!!PDF-E&type=items page 8 base_y algorithm must "rsa", not %s _fingerprintremainingcofactor :return: The byte size of the private key, as an integer Only RSA public keys may be unwrapped - this key is %s %s public key Returns information about the curve used for an EC key :raises: ValueError - when the key is not an EC key :return: A two-element tuple, with the first element being a unicode string of "implicit_ca", "specified" or "named". If the first element is "implicit_ca", the second is None. If "specified", the second is an OrderedDict that is the native version of SpecifiedECDomain. If "named", the second is a unicode string of the curve name. Creates a fingerprint that can be compared with a private key to see if the two form a pair. This fingerprint is not compatible with fingerprints generated by any other software. :return: A byte string that is a sha256 hash of selected components (based on the key type) a_an Source: https://tools.ietf.org/html/rfc5208#page-4 PrivateKeyInfo.wrap1.2.840.10046.2.1PublicKeyInfo.wrap ASN.1 type classes for public and private keys. Exports the following items: - DSAPrivateKey() - ECPrivateKey() - EncryptedPrivateKeyInfo() - PrivateKeyInfo() - PublicKeyInfo() - RSAPrivateKey() - RSAPublicKey() Other type classes are defined that help compose the types listed above. Unwraps an RSA public key into an RSAPublicKey object. Does not support DSA or EC public keys since they do not have an unwrapped form. :return: An RSAPublicKey object Creates an ECPoint object from the X and Y integer coordinates of the point :param x: The X coordinate, as an integer :param y: The Y coordinate, as an integer :return: An ECPoint object Invalid EC public key - first byte is incorrect ecPrivkeyVer1 Unwraps the private key into an RSAPrivateKey, DSAPrivateKey or ECPrivateKey object :return: An RSAPrivateKey, DSAPrivateKey or ECPrivateKey object Source: http://www.secg.org/sec1-v2.pdf page 108 Source: https://tools.ietf.org/html/rfc3447#page-46 private_key must be a byte string or Asn1Value, not %s k3NamedCurve Returns the name of the family of hash algorithms used to generate a DSA key :raises: ValueError - when the key is not a DSA key :return: A unicode string of "sha1" or "sha2" ValidationParmscoefficientcurve_typebase_x Creates a fingerprint that can be compared with a public key to see if the two form a pair. This fingerprint is not compatible with fingerprints generated by any other software. :return: A byte string that is a sha256 hash of selected components (based on the key type) Computes the public key corresponding to the current private key. :return: For RSA keys, an RSAPublicKey object. For DSA keys, an Integer object. For EC keys, an ECPointBitString. Unable to compute public key for EC key using Implicit CA parameters Source: http://www.secg.org/sec1-v2.pdf page 103 public_key must be a byte string or Asn1Value, not %s Original Name: None Source: http://www.secg.org/sec1-v2.pdf page 102 PublicKeyInfo.algorithmPrivateKeyInfo._compute_public_keyPublicKeyInfo.fingerprint_bit_size%d:%dpgen_counterSpecifiedECDomainVersionPublicKeyInfo.hash_algo Unable to compute public key for EC key over a characteristic two field Original Name: PrivateKeyAlgorithmIdentifier Source: https://tools.ietf.org/html/rfc5208#page-3 other_prime_infosPrivateKeyInfo.byte_sizePublicKeyInfo.unwrap Only DSA keys are generated using a hash algorithm, this key is %s validation_paramsPrivateKeyInfo.curve Wraps a public key in a PublicKeyInfo structure :param public_key: A byte string or Asn1Value object of the public key :param algorithm: A unicode string of "rsa" :return: A PublicKeyInfo object :return: The byte size of the public key, as an integer exponent2 Original Name: Characteristic-two Source: http://www.secg.org/sec1-v2.pdf page 101 public_point Original Name: None Source: http://www.secg.org/sec1-v2.pdf page 101 PrivateKeyInfo.bit_size Only EC keys have a curve, this key is %s Parameters for a DSA public or private key Original Name: Dss-Parms Source: https://tools.ietf.org/html/rfc3279#page-9 seed Source: https://tools.ietf.org/html/rfc3279#page-10 %d:%d:%d:%d :return: The bit size of the private key, as an integer Original Name: None Source: http://www.secg.org/sec1-v2.pdf page 108 exponent1private_key_algorithm :return: A unicode string of "rsa", "dsa" or "ec" algorithm must be one of "rsa", "dsa", "ec", not %s DSAParamslength_octetsub_header_endcontents must be a byte string, not %s_INSUFFICIENT_DATA_MESSAGElength_bytespeekclass_ must be an integer, not %scontinuation_bit/usr/lib/python3.7/site-packages/asn1crypto/parser.pyfirst_octet Parses a byte string into component parts :param encoded_data: A byte string that contains BER-encoded data :param data_len: The integer length of the encoded data :param pointer: The index in the byte string to parse from :param lengths_only: A boolean to cause the call to return a 2-element tuple of the integer number of bytes in the header and the integer number of bytes in the contents. Internal use only. :return: A 2-element tuple: - 0: A tuple of (class_, method, tag, header, content, trailer) - 1: An integer indicating how many bytes were consumed Insufficient data - %s bytes requested but only %s availablecontents_end Constructs a byte string of an ASN.1 DER-encoded value This is typically not useful. Instead, use one of the standard classes from asn1crypto.core, or construct a new class with specific fields, and call the .dump() method. :param class_: An integer ASN.1 class value: 0 (universal), 1 (application), 2 (context), 3 (private) :param method: An integer ASN.1 method value: 0 (primitive), 1 (constructed) :param tag: An integer ASN.1 tag value :param contents: A byte string of the encoded byte contents :return: A byte string of the ASN.1 DER value (header and contents) Parses a byte string of ASN.1 BER/DER-encoded data to find the length This is typically used to look into an encoded value to see how long the next chunk of ASN.1-encoded data is. Primarily it is useful when a value is a concatenation of multiple values. :param contents: A byte string of BER/DER-encoded data :raises: ValueError - when the contents do not contain an ASN.1 header or are truncated in some way TypeError - when contents is not a byte string :return: An integer with the number of bytes occupied by the ASN.1 value method must be an integer, not %s Parses a byte string of ASN.1 BER/DER-encoded data. This is typically not useful. Instead, use one of the standard classes from asn1crypto.core, or construct a new class with specific fields, and call the .load() class method. :param contents: A byte string of BER/DER-encoded data :param strict: A boolean indicating if trailing data should be forbidden - if so, a ValueError will be raised when trailing data exists :raises: ValueError - when the contents do not contain an ASN.1 header or are truncated in some way TypeError - when contents is not a byte string :return: A 6-element tuple: - 0: integer class (0 to 3) - 1: integer method - 2: integer tag - 3: byte string header - 4: byte string content - 5: byte string trailer Functions for parsing and dumping using the ASN.1 DER encoding. Exports the following items: - emit() - parse() - peek() Other type classes are defined that help compose the types listed above. tag must be greater than zero, not %s Constructs the header bytes for an ASN.1 object :param class_: An integer ASN.1 class value: 0 (universal), 1 (application), 2 (context), 3 (private) :param method: An integer ASN.1 method value: 0 (primitive), 1 (constructed) :param tag: An integer ASN.1 tag value :param contents: A byte string of the encoded byte contents :return: A byte string of the ASN.1 DER header method must be 0 or 1, not %sclass_ must be one of 0, 1, 2 or 3, not %sc_outx_out0000-%%m-%%d%s%%H:%%M:%%Sextended_datetime._comparison_error A datetime.date-like object that can represent the year 0. This is just to handle 0000-01-01 found in some certificates. extended_date.__gt__/usr/lib/python3.7/site-packages/asn1crypto/util.pyextended_datetime.replacemonth is out of rangeextended_datetime.__unicode__extended_datetime.strftimeextended_datetime.__gt__bits_required Converts an integer to a byte string :param value: The integer to convert :param signed: If the byte string should be encoded using two's complement :param width: None == auto, otherwise an integer of the byte width for the return value :return: A byte string :return: An asn1crypto.util.extended_date of the date :param year: The integer 0 :param month: An integer from 1 to 12 :param day: An integer from 1 to 31 :param hour: An integer from 0 to 23 :param minute: An integer from 0 to 59 :param second: An integer from 0 to 59 :param microsecond: An integer from 0 to 999999 UTC+00:00extended_datetime.__bytes__rrrrr r r r r0extended_datetime.__lt__extended_datetime.__ne__ Raises a TypeError about the other object not being suitable for comparison :param other: The object being compared to _DAYS_PER_MONTH_YEAR_0 Performs strftime(), always returning a unicode string :param format: A strftime() format string :return: A unicode string of the formatted date A datetime.datetime-like object that can represent the year 0. This is just to handle 0000-01-01 found in some certificates. minute is out of rangeextended_date.__ne__ Returns a new datetime.datetime or asn1crypto.util.extended_datetime object with the specified components replaced :return: A datetime.datetime or asn1crypto.util.extended_datetime object An asn1crypto.util.extended_datetime object can only be compared to an asn1crypto.util.extended_datetime or datetime.datetime object, not %s hour is out of range%xpy2extended_datetime.__ge__utc.utcoffset Performs strftime(), always returning a unicode string :param format: A strftime() format string :return: A unicode string of the formatted datetime %Y-%m-%d %H:%M:%S Formats the date as "%Y-%m-%d %H:%M:%S" with the sep param between the date and time portions :param set: A single character of the separator to place between the date and time :return: The formatted datetime as a unicode string in Python 3 and a byte string in Python 2 Formats the date using strftime() :param format: The strftime() format string :return: The formatted date as a unicode string in Python 3 and a byte string in Python 2 extended_date.__unicode__ :param year: The integer 0 :param month: An integer from 1 to 12 :param day: An integer from 1 to 31 extended_date.__str__ Formats the date as %Y-%m-%d :return: The date formatted to %Y-%m-%d as a unicode string in Python 3 and a byte string in Python 2 Returns a new datetime.date or asn1crypto.util.extended_date object with the specified components replaced :return: A datetime.date or asn1crypto.util.extended_date object can't compare offset-naive and offset-aware datetimes :return: A datetime.time object of the time extended_datetime.__str__extended_date.__init__extended_date.__le__pad_char :return: None or a datetime.timedelta() of the offset from UTC extended_date.__lt__extended_datetime.timeextended_datetime.__cmp__extended_datetime.dstextended_datetime.__eq__extended_date.replace An asn1crypto.util.extended_date object can only be compared to an asn1crypto.util.extended_date or datetime.date object, not %s extended_date._formatday is out of rangeextended_datetime._formatextended_date.__eq__year must be 0extended_datetime.isoformatextended_datetime.__init__extended_date.__cmp__extended_datetime.__le__utc.tznameextended_date._comparison_error Converts a byte string to an integer :param value: The byte string to convert :param signed: If the byte string should be interpreted using two's complement :return: An integer extended_date.__bytes__0000-%%m-%%d%s%%H:%%M:%%S.%%fmicrosecond is out of range :return: None or a datetime.timedelta() of the daylight savings time offset utc.dstextended_date.__ge__extended_datetime.utcoffset0000-%m-%d%cextended_date.strftimeis_negextended_datetime.dateextended_datetime.tzname :return: None or the name of the timezone as a unicode string in Python 3 and a byte string in Python 2 Miscellaneous data helpers, including functions for converting integers to and from bytes and UTC timezone. Exports the following items: - OrderedDict() - int_from_bytes() - int_to_bytes() - timezone.utc - inet_ntop() - inet_pton() - uri_to_iri() - iri_to_uri() extended_date.isoformatasn1crypto.version/usr/lib/python3.7/site-packages/asn1crypto/version.py0.24.0Create a new NavigableString associated with this soup.currentTagBeautiful Soup Elixir and Tonic "The Screen-Scraper's Friend" http://www.crummy.com/software/BeautifulSoup/ Beautiful Soup uses a pluggable XML or HTML parser to parse a (possibly invalid) document into a tree representation. Beautiful Soup provides methods and Pythonic idioms that make it easy to navigate, search, and modify the parse tree. Beautiful Soup works with Python 2.7 and up. It works better if lxml and/or html5lib is installed. For more than you ever wanted to know about Beautiful Soup, see the documentation: http://www.crummy.com/software/BeautifulSoup/bs4/doc/ /usr/lib/python3.7/site-packages/bs4/__init__.py.pycBeautifulSoup._popToTagNo parser was explicitly specified, so I'm using the best available %(markup_type)s parser for this system ("%(parser)s"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently. The code that caused this warning is on line %(line_number)s of the file %(filename)s. To get rid of this warning, pass the additional argument 'features="%(parser)s"' to the BeautifulSoup constructor. 4.6.3"%s" looks like a filename, not markup. You should probably open this file and pass the filehandle into Beautiful Soup.BeautifulSoup.handle_dataparseOnlyTheseBeautifulStoneSoupsubclassfrom_encoding[document]most_recently_poppedBeautifulSoup.__copy__BeautifulSoup.handle_starttagThe "%s" argument to the BeautifulSoup constructor has been renamed to "%s."decoded_markupmarkupMassageCouldn't find a tree builder with the features you requested: %s. Do you need to install a parser library?kwattrsBS4 does not respect the markupMassage argument to the BeautifulSoup constructor. The tree builder is responsible for any necessary markup massage.fromEncodingBS4 does not respect the convertEntities argument to the BeautifulSoup constructor. Entities are always converted to Unicode characters.encoding_partBeautifulSoup.new_stringBS4 does not respect the isHTML argument to the BeautifulSoup constructor. Suggest you use features='lxml' for HTML and features='lxml-xml' for XML.smartQuotesToThe BeautifulStoneSoup class is deprecated. Instead of using it, pass features="xml" into the BeautifulSoup constructor.Leonard Richardson (leonardr@segfault.org)"%s" looks like a URL. Beautiful Soup is not an HTTP client. You should probably use an HTTP client like requests to get the document behind the URL, and feed that document to Beautiful Soup.BeautifulSoup.resetcant_start_withpreserve_whitespace_tag_stackstack_sizeBeautifulSoup.insert_before.pyocontainerClasscurrent_datastrippableBeautifulStoneSoup.__init__ BS4 does not respect the selfClosingTags argument to the BeautifulSoup constructor. The tree builder is responsible for understanding self-closing tags.BeautifulSoup.endDataASCII_SPACES_check_markup_is_urlinclusivePop This class defines the basic interface called by the tree builders. These methods will be called by the parser: reset() feed(markup) The tree builder may call these methods from its feed() implementation: handle_starttag(name, attrs) # See note about return value handle_endtag(name) handle_data(data) # Appends to the current data node endData(containerClass=NavigableString) # Ends the current data node No matter how complicated the underlying parser is, you should be able to build a tree using 'start tag' events, 'end tag' events, 'data' events, and "done with data" events. If you encounter an empty-element tag (aka a self-closing tag, like HTML's
tag), call handle_starttag and then handle_endtag. encoding="%s"BeautifulSoup.insert_afterBeautifulSoup.__init__Create a new tag associated with this soup.BeautifulSoup.new_tagPops the tag stack up to and including the most recent instance of the given tag. If inclusivePop is false, pops the tag stack up to but *not* including the most recent instqance of the given tag.BeautifulSoup._feedselfmarkupfeaturesbuilder parse_only from_encodingexclude_encodingskwargsdeprecated_argumentargoriginal_features builder_class markup_typecallerglobals line_numberfilenamefnlvaluespossible_filenameis_fileeFeatureNotFoundBeautifulSoup._check_markup_is_urlConstructor. :param markup: A string or a file-like object representing markup to be parsed. :param features: Desirable features of the parser to be used. This may be the name of a specific parser ("lxml", "lxml-xml", "html.parser", or "html5lib") or it may be the type of markup to be used ("html", "html5", "xml"). It's recommended that you name a specific parser, so that Beautiful Soup gives you the same results across platforms and virtual environments. :param builder: A specific TreeBuilder to use instead of looking one up based on `features`. You shouldn't need to use this. :param parse_only: A SoupStrainer. Only parts of the document matching the SoupStrainer will be considered. This is useful when parsing part of a document that would otherwise be too large to fit into memory. :param from_encoding: A string indicating the encoding of the document to be parsed. Pass this in if Beautiful Soup is guessing wrongly about the document's encoding. :param exclude_encodings: A list of strings indicating encodings known to be wrong. Pass this in if you don't know the document's encoding but you know Beautiful Soup's guess is wrong. :param kwargs: For backwards compatibility purposes, the constructor accepts certain keyword arguments used in Beautiful Soup 3. None of these arguments do anything in Beautiful Soup 4 and there's no need to actually pass keyword arguments into the constructor. You provided Unicode markup but also provided a value for from_encoding. Your from_encoding will be ignored.BS4 does not respect the smartQuotesTo argument to the BeautifulSoup constructor. Smart quotes are always converted to Unicode characters.Error building tree: supposedly %r was inserted into %r after the fact, but I don't see it!BeautifulSoup objects don't support insert_before(). Check if markup looks like it's actually a url and raise a warning if so. Markup can be unicode or str (py2) / bytes (py3). Add an object to the parse tree.BeautifulSoup.handle_endtag_soupDEFAULT_BUILDER_FEATURESf_linenoBeautifulSoup.popTagBeautifulSoup.decodeNO_PARSER_SPECIFIED_WARNINGCopyright (c) 2004-2018 Leonard RichardsonBeautifulSoup objects don't support insert_after(). BeautifulSoup.__getstate__pushTagStopParsingReturns a string or Unicode representation of this document. To get Unicode, pass None for encoding.BeautifulSoup.pushTagold_nameROOT_TAG_NAMEPush a start tag on to the stack. If this method returns None, the tag was rejected by the SoupStrainer. You should proceed as if the tag had not occurred in the document. For instance, if this was a self-closing tag, don't call handle_endtag. Deprecated interface to an XML parser.supports_unicode_filenamesBeautifulSoup.object_was_parsedBeautifulSoup._check_markup_is_url..BeautifulSoup.__init__..deprecated_argumentstartElementareabasebrcolembedhrimginputkeygenlinkmenuitemmetaparamsourcetrackwbrbasefontbgsoundcommandframeimageisindexnextidspacerblock_elementsendDocumentintersectionThis TreeBuilder knows facts about HTML. Such as which tags are empty-element tags. meta_encodingSAXTreeBuilder.endPrefixMappingSAXTreeBuilder.endElementnsTupleregister_treebuilders_fromhttp_equivcandidate_setthis_module_htmlparserpermissive_lxmlSAXTreeBuilder.closeSAXTreeBuilder.charactersSAXTreeBuilder.startPrefixMapping#addressarticleaside blockquotecanvasdddivdldtfieldset figcaptionfigurefooterformh1h2h3h4h5h6headerhrlimainnavnoscriptoloutputppresectiontabletfootulvideoSAXTreeBuilder.feedtreebuilder_classSAXTreeBuilder.startElementTreeBuilderRegistrysourceimgmetainputparamkeygencolhrisindexspacercommandframeembedlinkmenuitemimagebasefontwbrtrackareabrnextidbgsoundbase/usr/lib/python3.7/site-packages/bs4/builder/__init__.pyTreeBuilderRegistry.registerTreeBuilder.prepare_markupTurn a document into a Beautiful Soup object tree.HTMLTreeBuilder.set_up_substitutionsTreeBuilder.test_fragment_to_documentcandidateswe_have_the_featureSAXTreeBuilder.endElementNS_html5libbuilders_for_featuretag_specificWrap an HTML fragment to make it look like a document. Different parsers do this differently. For instance, lxml introduces an empty tag, and html5lib doesn't. Abstracting this away lets us write simple tests which run HTML fragments through the parser and compare the results against other HTML fragments. This method should not be used outside of tests. [Unknown tree builder]TreeBuilder._replace_cdata_list_attribute_values*[zclassz accesskeyzdropzonea[zrelzrevzlink[zrelzrevztd[zheaderszth[zheaderszform[zaccept-charsetzobject[zarchivezarea[zrelzicon[zsizesziframe[zsandboxzoutput[zfor0SAXTreeBuilder.startElement..SAXTreeBuilder.startDocumentReplaces class="foo bar" with class=["foo", "bar"] Modifies its input in place. A Beautiful Soup treebuilder that listens for SAX events.TreeBuilder.can_be_empty_elementSAXTreeBuilder.startElementNSTreeBuilderRegistry.__init__SAXTreeBuilder.endDocumentMight a tag with this name be an empty-element tag? The final markup may or may not actually present this tag as self-closing. For instance: an HTMLBuilder does not consider a

tag to be an empty-element tag (it's not in HTMLBuilder.empty_element_tags). This means an empty

tag will be presented as "

", not "

". The default implementation has no opinion about which tags are empty-element tags, so a tag will be presented as an empty-element tag if and only if it has no contents. "" will become "", and "bar" will be left alone. #mainh2pnavformh5noscriptullidivdthrtfoot blockquoteh3videofooterasidefigure figcaptionh4h6headerfieldsetdlh1presectionarticleoutputaddressddtablecanvasolRegister a treebuilder based on its advertised features.Copy TreeBuilders from the given module into this module.TreeBuilderRegistry.lookupElement.removeChildTreeBuilderForHtml5lib.insertDoctypeElement.cloneNodeElement.setAttributeslast_childs_last_descendantTextNodeconverted_attributesTreeBuilderForHtml5lib.testSerializer..serializeElementHTML5TreeBuilderHTML5TreeBuilder.create_treebuilderAttrList.keysold_nodeTreeBuilderForHtml5lib.elementClassnew_parentnew_parent_elementfinal_next_elementnew_parents_last_descendantnew_parents_last_childnew_parents_last_descendant_next_elementto_appendfirst_childAttrList.__contains__lastindexElement.insertTextAttrList.__len__You provided a value for parse_only, but the html5lib tree builder doesn't support parse_only. The entire document will be parsed.AttrList.__init__string_childold_elementnew_elementTreeBuilderForHtml5lib.fragmentClass^(.*?)(?: PUBLIC "(.*?)"(?: "(.*?)")?| SYSTEM "(.*?)")?$TreeBuilderForHtml5lib.__init__Element.reparentChildrenAttrList.itemsTreeBuilderForHtml5lib.appendChildextra_kwargsElement.getNameTupleElement.__init__TreeBuilderForHtml5lib.commentClass/usr/lib/python3.7/site-packages/bs4/builder/_html5lib.pyunderlying_builderTextNode.__init__HTML5TreeBuilder.feedAttrList.__getitem__TreeBuilderForHtml5lib.documentClassdoctype_reAttrList.__iter__Move all of this tag's children into another tag.Use html5lib to build a tree.Element.hasContentElement.appendChildYou provided a value for exclude_encoding, but the html5lib tree builder doesn't support exclude_encoding.new_html5libTreeBuilderForHtml5lib.getDocumentHTML5TreeBuilder.test_fragment_to_documentElement.insertBeforeTextNode.cloneNode%streebuilder_baseElement.getAttributesAttrList.__setitem__HTML5TreeBuilder.prepare_markup[document_fragment]TreeBuilderForHtml5lib.getFragmentreal_namehandle_empty_elementCONSTRUCTOR_STRICT_IS_DEPRECATEDunexpected call to parse_starttag() <[a-zA-Z][-.a-zA-Z0-9:_]* # tag name (?:\s+ # whitespace before attribute name (?:[a-zA-Z_][-.:a-zA-Z0-9_]* # attribute name (?:\s*=\s* # value indicator (?:'[^']*' # LITA-enclosed value |\"[^\"]*\" # LIT-enclosed value |[^'\">\s]+ # bare value ) )? ) )* \s* # trailing whitespace DOCTYPE bs4.builder._htmlparserhandle_declHTMLPARSERtagfindBeautifulSoupHTMLParser.handle_piattr_dictattrvalueparser_argsBeautifulSoupHTMLParser.handle_starttagBeautifulSoupHTMLParser.unknown_declhandle_startendtagset_cdata_modehandle_commentrawdataattrnameBeautifulSoupHTMLParser.handle_startendtagBeautifulSoupHTMLParser.handle_endtaglasttag :return: A 4-tuple (markup, original encoding, encoding declared within markup, whether any characters had to be replaced with REPLACEMENT CHARACTER). convert_charrefs__starttag_textHTMLParserTreeBuilder.feedgetposCDATA[\s*((?<=[\'"\s])[^\s/>][^\s/=>]*)(\s*=+\s*(\'[^\']*\'|"[^"]*"|(?![\'"])[^>\s]*))?locatestarttagendHTMLParserTreeBuilder.prepare_markupcdata_elemCONSTRUCTOR_TAKES_CONVERT_CHARREFScheck_for_whole_start_tagRuntimeWarningattrfindIn Python 3, HTMLParser subclasses must implement error(), although this requirement doesn't appear to be documented. In Python 2, HTMLParser implements error() as raising an exception. In any event, this method is called only on very strange markup and our best strategy is to pretend it didn't happen and keep going. /usr/lib/python3.7/site-packages/bs4/builder/_htmlparser.pyHTMLParseErrorinterestingcheck_already_closed&%s""BeautifulSoupHTMLParser.handle_entityrefBeautifulSoupHTMLParser.handle_declCDATA_CONTENT_ELEMENTShandle_charrefBeautifulSoupHTMLParser.handle_commentjunk characters in start tag: %rPython's built-in HTMLParser cannot parse the given document. This is not a bug in Beautiful Soup. The best solution is to install an external parser (lxml or html5lib), and use Beautiful Soup with that parser. See http://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-a-parser for help.attrfind_tolerantBeautifulSoupHTMLParser.handle_dataBeautifulSoupHTMLParser.erroralready_closed_empty_elementBeautifulSoupHTMLParser.__init__Use the HTMLParser library to parse HTML files that aren't too bad.BeautifulSoupHTMLParser.handle_charrefCONSTRUCTOR_TAKES_STRICTHTMLParserTreeBuilder.__init__strip_cdataLXMLTreeBuilderForXML.startLXMLTreeBuilderForXML.parser_forXMLParserCHUNK_SIZELXMLTreeBuilder.feed_prefix_for_namespaceLXMLTreeBuilderForXML.piHandle comments as Comment objects.LXMLTreeBuilderForXML._getNsTagDEFAULT_PARSER_CLASSinverted_nsmapLXMLTreeBuilderForXML.default_parserbs4.builder._lxml_default_parsercompleted_tagLXMLTreeBuilderForXML.closelxml-htmlLXMLTreeBuilderForXML.test_fragment_to_documentLXMLTreeBuilderForXML.datanew_attrsLXMLTreeBuilderForXML.comment %s :yield: A series of 4-tuples. (markup, encoding, declared encoding, has undergone character replacement) Each 4-tuple represents a strategy for parsing the document. LXMLTreeBuilderForXML.feedLXMLTreeBuilderForXML.start..processing_instruction_classLXMLTreeBuilderForXML.__init__%sLXMLTreeBuilderForXML.prepare_markupParserErrorLXMLTreeBuilderForXML._prefix_for_namespacensmapsLXMLTreeBuilderForXML.endrecoverFind the currently active prefix for the given namespace.pubidDEFAULT_NSMAPSLXMLTreeBuilderForXML.doctypeLXMLTreeBuilder.default_parserLXMLTreeBuilder.test_fragment_to_document/usr/lib/python3.7/site-packages/bs4/builder/_lxml.py([-])strip_byte_order_markcharacters_for_reUnicodeDammit._codec)zeuroz20AC )zsbquoz201A)zfnofz192)zbdquoz201E)zhellipz2026)zdaggerz2020)zDaggerz2021)zcircz2C6)zpermilz2030)zScaronz160)zlsaquoz2039)zOEligz152?)z#x17Dz17Drr)zlsquoz2018)zrsquoz2019)zldquoz201C)zrdquoz201D)zbullz2022)zndashz2013)zmdashz2014)ztildez2DC)ztradez2122)zscaronz161)zrsaquoz203A)zoeligz153r)z#x17Ez17E)zYuml0zEUR ,fz,,z...+z++^%S<zOE?Zrr'r"r *-z--~z(TM)s>zoerzYr!czGBP$zYEN|rz..z(th)z<<r6rz(R)r%oz+-23)rzacuteuPr#r1z(th)z>>z1/4z1/2z3/4rAr`r`r`r`r`zAECErjrjrjIrororoDNOrxrxrxrxr#rxUrrrr3bBarrrrrzaer8errrirrrrJnrJrJrJrJrJ/rJrRrRrRrRyrr0triedchunk_starthtml_meta_reUnicodeDammit.__init__<\s*meta[^>]+charset\s*=\s*["']?([^>]*?)[ /;'">]override_encodingssmart_quotes_toEncodingDetector.find_declared_encodingSubstitute XML entities for special XML characters. :param value: A string to be substituted. The less-than sign will become <, the greater-than sign will become >, and any ampersands will become &. If you want ampersands that appear to be part of an entity definition to be left alone, use substitute_xml_containing_entities() instead. :param make_quoted_attribute: If True, then the string will be quoted, as befits an attribute value. EntitySubstitution.quoted_attribute_valueBARE_AMPERSAND_OR_BRACKETLAST_MULTIBYTE_MARKER/usr/lib/python3.7/site-packages/bs4/dammit.pyreverse_lookupshift-jisCHARACTER_TO_HTML_ENTITYfind_codec_usableMake a value into a quoted XML attribute, possibly escaping it. Most strings will be quoted using double quotes. Bob's Bar -> "Bob's Bar" If a string contains double quotes, it will be quoted using single quotes. Welcome to "my bar" -> 'Welcome to "my bar"' If a string contains both single and double quotes, the double quotes will be escaped, and the string will be quoted using double quotes. Welcome to "Bob's Bar" -> "Welcome to "Bob's bar" UnicodeDammit._to_unicodeaposEntitySubstitution.substitute_xml_containing_entities_populate_class_variablesSubstitute XML entities for special XML characters. :param value: A string to be substituted. The less-than sign will become <, the greater-than sign will become >, and any ampersands that are not part of an entity defition will become &. :param make_quoted_attribute: If True, then the string will be quoted, as befits an attribute value. unicode_markupSome characters could not be decoded, and were replaced with REPLACEMENT CHARACTER.Used with a regular expression to substitute the appropriate XML entity for an XML special character.UnicodeDammit._convert_fromSuggests a number of possible encodings for a bytestring. Order of precedence: 1. Encodings you specifically tell EncodingDetector to try first (the override_encodings argument to the constructor). 2. An encoding declared within the bytestring itself, either in an XML declaration (if the bytestring is to be interpreted as an XML document), or in a tag (if the bytestring is to be interpreted as an HTML document.) 3. An encoding detected through textual analysis by chardet, cchardet, or a similar external library. 4. UTF-8. 5. Windows-1252. ([<>&])EntitySubstitution._substitute_xml_entityembedded_encodingwindows_1252WINDOWS_1252_TO_UTF8main_encodingbyte_chunks^<\?.*encoding=['"](.*?)['"].*\?>detwingleEncodingDetector.encodingsMS_CHARSsmart_quotes_compiledEncodingDetector.strip_byte_order_markReplace certain Unicode characters with named HTML entities. This differs from data.encode(encoding, 'xmlcharrefreplace') in that the goal is to make the result more readable (to those with ASCII displays) rather than to recover from errors. There's absolutely nothing wrong with a UTF-8 string containg a LATIN SMALL LETTER E WITH ACUTE, but replacing that character with "é" will make it more readable to some people. UnicodeDammit.find_codecCHARSET_ALIASESsearch_entire_documentBeautiful Soup bonus library: Unicode, Dammit This library converts a bytestream to Unicode through any means necessary. It is heavily based on code from Mark Pilgrim's Universal Feed Parser. It works best on XML and HTML, but it does not rewrite the XML or HTML to reflect a new encoding; that's the tree builder's job. re_definitionCHARACTER_TO_HTML_ENTITY_RE hardet_encodingiconv_codecYield a number of encodings that might work for this markup.Given a document, tries to find its declared encoding. An XML encoding is declared at the beginning of the document. An HTML encoding is declared in a tag, hopefully near the beginning of the document. proposedx-sjischardet_typedeclared_encoding_matchUTF-8 is the only currently supported main encoding.EntitySubstitution.substitute_html([<>]|&(?!#\d+;|#x[0-9a-fA-F]+;|\w+;))Windows-1252 and ISO-8859-1 are the only currently supported embedded encodings.EncodingDetector.__init__xml_endposhtml_endposquote_withsmart_quotes_recodepoint2nameMS_CHARS_TO_ASCIImatchobjchardet_dammitsniffed_encodings€s‚sƒs„s…s†s‡sˆs‰sŠs‹sŒsŽs‘s’s“s”s•s–s—s˜s™sšs›sœsžsŸs s¡s¢s£s¤s¥s¦s§s¨s©sªs«s¬s­s®s¯s°s±s²s³s´sµs¶s·s¸s¹sºs»s¼s½s¾s¿sÀsÁsÂsÃsÄsÅsÆsÇsÈsÉsÊsËsÌsÍsÎsÏsÐsÑsÒsÓsÔsÕsÖs×sØsÙsÚsÛsÜsÝsÞsßsàsâsãsäsåsæsçsèsésêsësìsísîsïsðsñsòsósôsõsös÷søsùsúsûsüsýsþ0A class for detecting the encoding of a *ML document and converting it to a Unicode string. If the source encoding is windows-1252, can replace MS smart quotes with their HTML or XML equivalents._substitute_html_entityUnicodeDammit.declared_html_encodingEntitySubstitution._populate_class_variablesxml_encoding_reGiven a string and its encoding, decodes the string into Unicode. %encoding is a string recognized by encodings.aliasesMULTIBYTE_MARKERS_AND_SIZESFix characters from one encoding embedded in some other encoding. Currently the only situation supported is Windows-1252 (or its subset ISO-8859-1), embedded in UTF-8. The input must be a bytestring. If you've already converted the document to Unicode, you're too late. The output is a bytestring in which `embedded_encoding` characters have been converted to their `main_encoding` equivalents. CHARACTER_TO_XML_ENTITYUnicodeDammit.detwingleEntitySubstitution._substitute_html_entitySubstitute XML or HTML entities for the corresponding characters.EncodingDetector._usableChanges a MS smart quote character to an XML or HTML entity, or an ASCII character.ENCODINGS_WITH_SMART_QUOTESIf a byte-order mark is present, strip it and return the encoding it implies.UnicodeDammit._sub_ms_charFIRST_MULTIBYTE_MARKERNavigableString.__copy__findNextSiblingindent_contentsI don't know how to match against a %sunicode-escapeprettifyTag.childGeneratorTag.select..Counter.nth_child_of_typeForce an attribute value into a string representation. A multi-valued attribute will be converted into a space-separated stirng. findAllCannot replace an element with its contents when thatelement is not part of a tree.Is this tag an empty-element tag? (aka a self-closing tag) A tag that has contents is never an empty-element tag. A tag that has no contents may or may not be an empty-element tag. It depends on the builder used to create the tag. If the builder has a designated list of empty-element tags, then only a tag whose name shows up in that list is considered an empty-element tag. If the builder has no designated list of empty-element tags, then any tag with no contents is an empty-element tag. PageElement.previousSiblingGeneratorNavigableString.output_readyprevious_elementsTag.has_keydescendants/usr/lib/python3.7/site-packages/bs4/element.pyIs this element part of an XML tree or an HTML tree? This is used when mapping a formatter name ("minimal") to an appropriate function (one that performs entity-substitution on the contents of