{"id":33813,"date":"2019-10-31T21:54:48","date_gmt":"2019-10-31T18:54:48","guid":{"rendered":"https:\/\/prohoster.info\/blog\/pyderasn-kak-ya-napisal-asn-1-biblioteku-s-slots-and-blobs\/"},"modified":"2019-10-31T21:54:48","modified_gmt":"2019-10-31T18:54:48","slug":"pyderasn-kak-ya-napisal-asn-1-biblioteku-s-slots-and-blobs","status":"publish","type":"post","link":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/pyderasn-kak-ya-napisal-asn-1-biblioteku-s-slots-and-blobs","title":{"rendered":"PyDERASN: wie ich eine ASN.1-Bibliothek mit Slots und Blobs geschrieben habe","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/ASN.1\">ASN.1<\/a><\/noindex> \u044d\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 (ISO, ITU-T, \u0413\u041e\u0421\u0422) \u044f\u0437\u044b\u043a\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u043a\u0430\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0444\u043e\u0440\u043c\u0430\u0442 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u0440\u0430\u0432\u043d\u0435 \u0441 JSON, XML, XDR \u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438. \u041e\u043d \u043a\u0440\u0430\u0439\u043d\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d \u0432 \u043d\u0430\u0448\u0435\u0439 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0438, \u0438 \u0441 \u043d\u0438\u043c \u043c\u043d\u043e\u0433\u0438\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u044e\u0442\u0441\u044f: \u0432 \u0441\u043e\u0442\u043e\u0432\u043e\u0439, \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u043e\u0439, VoIP \u0441\u0432\u044f\u0437\u0438 (UMTS, LTE, WiMAX, SS7, H.323), \u0432 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430\u0445 (LDAP, SNMP, Kerberos), \u0432\u043e \u0432\u0441\u0451\u043c, \u0447\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 (X.509, CMS, PKCS-\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u044b), \u0432 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u0438\u0445 \u043a\u0430\u0440\u0442\u0430\u0445 \u0438 \u0431\u0438\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0430\u0441\u043f\u043e\u0440\u0442\u0430\u0445, \u0438 \u043c\u043d\u043e\u0433\u043e \u0433\u0434\u0435 \u0435\u0449\u0451.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f <noindex><a rel=\"nofollow\" href=\"http:\/\/pyderasn.cypherpunks.ru\/\">PyDERASN<\/a><\/noindex>: Python ASN.1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0449\u0430\u044f\u0441\u044f \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u0432 <noindex><a rel=\"nofollow\" href=\"http:\/\/stcnet.ru\/\">\u0410\u0442\u043b\u0430\u0441\u0435<\/a><\/noindex>.<\/p>\n<p><img decoding=\"async\" alt=\"PyDERASN: \u043a\u0430\u043a \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b ASN.1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0441 slots and blobs\" src=\"\/wp-content\/uploads\/2019\/05\/ca9d1ab63ce55a09a5ad7eceb4dbbd7b.png\" style=\"display:block;margin: 0 auto;\" \/><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\n\u0412\u043e\u043e\u0431\u0449\u0435-\u0442\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c ASN.1 \u0434\u043b\u044f \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447 \u043d\u0435 \u0441\u0442\u043e\u0438\u0442: ASN.1 \u0438 \u0435\u0433\u043e \u043a\u043e\u0434\u0435\u043a\u0438 \u2014 \u0441\u043b\u043e\u0436\u043d\u044b. \u042d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442, \u0430 \u044d\u0442\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u043b\u0438\u0448\u043d\u0438\u0439 \u0432\u0435\u043a\u0442\u043e\u0440 \u0430\u0442\u0430\u043a\u0438. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/cve.mitre.org\/cgi-bin\/cvekey.cgi?keyword=asn.1\">\u043d\u0430 \u0441\u043f\u0438\u0441\u043e\u043a<\/a><\/noindex> \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0432 ASN.1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0445. \u0411\u0440\u044e\u0441 \u0428\u043d\u0430\u0439\u0435\u0440 \u0432 \u0441\u0432\u043e\u0435\u0439 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.schneier.com\/books\/cryptography_engineering\/\">Cryptography engineering<\/a><\/noindex> \u0442\u0430\u043a\u0436\u0435 \u043d\u0435 \u0441\u043e\u0432\u0435\u0442\u0443\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 \u0438\u0437-\u0437\u0430 \u0435\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438: \u00abThe best-known TLV encoding is ASN.1, but it is incredibly complex and we shy away from it\u00bb. \u041d\u043e, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u044b \u0438\u043c\u0435\u0435\u043c <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%98%D0%BD%D1%84%D1%80%D0%B0%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%82%D1%83%D1%80%D0%B0_%D0%BE%D1%82%D0%BA%D1%80%D1%8B%D1%82%D1%8B%D1%85_%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%B9\">\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0445 \u043a\u043b\u044e\u0447\u0435\u0439<\/a><\/noindex> \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/X.509\">X.509 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b<\/a><\/noindex>, CRL, OCSP, TSP, \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b CMP, <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Certificate_Management_over_CMS\">CMC<\/a><\/noindex>, \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Cryptographic_Message_Syntax\">CMS<\/a><\/noindex>, \u0438 \u043c\u0430\u0441\u0441\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/PKCS\">PKCS<\/a><\/noindex>. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0443\u043c\u0435\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 ASN.1, \u0435\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0435\u0441\u044c \u0447\u0435\u043c-\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c \u0441 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0435\u0439.<\/p>\n<p>ASN.1 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432\/\u043a\u043e\u0434\u0435\u043a\u043e\u0432:<\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Canonical_Encoding_Rules\">BER<\/a><\/noindex> (Basic Encoding Rules)<\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Canonical_Encoding_Rules\">CER<\/a><\/noindex> (Canonical Encoding Rules)<\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Canonical_Encoding_Rules\">DER<\/a><\/noindex> (Distinguished Encoding Rules)<\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/tools.ietf.org\/html\/rfc3641\">GSER<\/a><\/noindex> (Generic String Encoding Rules)<\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.itu.int\/rec\/T-REC-X.697\/en\">JER<\/a><\/noindex> (JSON Encoding Rules)<\/li>\n<li>LWER (Light Weight Encoding Rules)<\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.itu.int\/rec\/T-REC-X.696-201508-I\/en\">OER<\/a><\/noindex> (Octet Encoding Rules)<\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.itu.int\/rec\/T-REC-X.691-201508-I\/en\">PER<\/a><\/noindex> (Packed Encoding Rules)<\/li>\n<li>SER (Signalling specific Encoding Rules)<\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/XML_Encoding_Rules\">XER<\/a><\/noindex> (XML Encoding Rules)<\/li>\n<\/ul>\n<p>\n\u0438 \u0440\u044f\u0434\u043e\u043c \u0434\u0440\u0443\u0433\u0438\u0445. \u041d\u043e \u0432 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u0432\u0430: BER \u0438 DER. \u0414\u0430\u0436\u0435 \u0432 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 XML-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0445 (<noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/XML_Signature\">XMLDSig<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/XAdES\">XAdES<\/a><\/noindex>) \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0431\u0443\u0434\u0443\u0442 Base64-\u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 ASN.1 DER \u043e\u0431\u044a\u0435\u043a\u0442\u044b, \u043a\u0430\u043a \u0438 \u0432 JSON-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Automated_Certificate_Management_Environment\">ACME<\/a><\/noindex> \u043e\u0442 Let&#8217;s Encrypt-\u0430. \u041b\u0443\u0447\u0448\u0435 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0432\u043e \u0432\u0441\u0435\u0445 \u044d\u0442\u0438\u0445 \u043a\u043e\u0434\u0435\u043a\u0430\u0445 \u0438 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430\u0445 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f BER\/CER\/DER \u043c\u043e\u0436\u043d\u043e \u0432 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u0438 \u043a\u043d\u0438\u0433\u0430\u0445: <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/150757\/\">ASN.1 \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.oss.com\/asn1\/resources\/books-whitepapers-pubs\/dubuisson-asn1-book.PDF\">ASN.1 \u2014 Communication between heterogeneous systems by Olivier Dubuisson<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/www.oss.com\/asn1\/resources\/books-whitepapers-pubs\/larmouth-asn1-book.pdf\">ASN.1 Complete by Prof John Larmouth<\/a><\/noindex>.<\/p>\n<p>BER \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u043c \u0431\u0430\u0439\u0442-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 PER, \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0432 \u0441\u043e\u0442\u043e\u0432\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u2014 \u0431\u0438\u0442-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d) TLV-\u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c. \u041a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435: \u0442\u044d\u0433\u0430 (<strong>T<\/strong>ag), \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0442\u0438\u043f \u043a\u043e\u0434\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 (\u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u0441\u0442\u0440\u043e\u043a\u0430, \u0434\u0430\u0442\u0430, \u0438 \u0442.\u0434.), \u0434\u043b\u0438\u043d\u044b (<strong>L<\/strong>ength) \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u0438 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e (<strong>V<\/strong>alue). BER \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u0438\u043d\u044b, \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u043e\u0441\u043e\u0431\u043e\u0435 indefinite length \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438 \u043e\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 End-Of-Octets \u043c\u0435\u0442\u043a\u043e\u0439. \u041a\u0440\u043e\u043c\u0435 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u0438\u043d\u044b, \u0432 BER \u043c\u043d\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u0432 \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0438\u043f\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<ul>\n<li>INTEGER, OBJECT IDENTIFIER, BIT STRING \u0438 \u0434\u043b\u0438\u043d\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b (\u043d\u0435 \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0432 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0435);<\/li>\n<li>BOOLEAN \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u0442\u0438\u043d\u043d\u044b\u043c \u043f\u0440\u0438 \u043b\u044e\u0431\u043e\u043c \u043d\u0435\u043d\u0443\u043b\u0435\u0432\u043e\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e;<\/li>\n<li>BIT STRING \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u00ab\u043b\u0438\u0448\u043d\u0438\u0435\u00bb \u043d\u0443\u043b\u0435\u0432\u044b\u0435 \u0431\u0438\u0442\u044b;<\/li>\n<li>BIT STRING, OCTET STRING \u0438 \u0432\u0441\u0435 \u0438\u0445 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435 \u0442\u0438\u043f\u044b, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0434\u0430\u0442\u0430\/\u0432\u0440\u0435\u043c\u044f, \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u0431\u0438\u0442\u044b \u043d\u0430 \u043a\u0443\u0441\u043e\u0447\u043a\u0438 (chunk) \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u0438\u043d\u044b, \u0434\u043b\u0438\u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u043e \u0432\u0440\u0435\u043c\u044f (\u0434\u0435)\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430;<\/li>\n<li>UTCTime\/GeneralizedTime \u043c\u043e\u0433\u0443\u0442 \u0438\u043c\u0435\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0437\u043e\u043d\u044b \u0438 \u00ab\u043b\u0438\u0448\u043d\u0438\u0435\u00bb \u043d\u0443\u043b\u0435\u0432\u044b\u0435 \u0434\u043e\u043b\u0438 \u0441\u0435\u043a\u0443\u043d\u0434;<\/li>\n<li>DEFAULT \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f SEQUENCE \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0430 \u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0435\u0442;<\/li>\n<li>\u0418\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0431\u0438\u0442 \u0432 BIT STRING \u043c\u043e\u0436\u043d\u043e \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e \u043d\u0435 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c;<\/li>\n<li>SEQUENCE (OF)\/SET (OF) \u043c\u043e\u0433\u0443\u0442 \u0438\u043c\u0435\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/li>\n<\/ul>\n<p>\n\u0418\u0437-\u0437\u0430 \u0432\u0441\u0435\u0433\u043e \u0432\u044b\u0448\u0435\u043d\u0430\u0437\u0432\u0430\u043d\u043d\u043e\u0433\u043e, \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u0431\u044b\u043b\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0435 \u2014 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043d\u043e \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0430\u0432\u0438\u043b: DER \u2014 \u0436\u0451\u0441\u0442\u043a\u043e \u0440\u0435\u0433\u043b\u0430\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0447\u0442\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u043e \u0434\u043b\u044f \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447, \u0433\u0434\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0431\u0438\u0442\u0430 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u044c \u0438\u043b\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0443\u044e \u0441\u0443\u043c\u043c\u0443 \u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439. DER \u0438\u043c\u0435\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a: \u0434\u043b\u0438\u043d\u044b \u0432\u0441\u0435\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0447\u0442\u043e \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435. CER \u043a\u043e\u0434\u0435\u043a \u043b\u0438\u0448\u0451\u043d \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u044f \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e (\u0438\u043b\u0438 \u0441\u0447\u0430\u0441\u0442\u044c\u044e \u0447\u0442\u043e \u043d\u0435 \u0438\u043c\u0435\u0435\u043c \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u0434\u0435\u043a\u043e\u0434\u0435\u0440\u044b?), \u043e\u043d \u043d\u0435 \u0441\u0442\u0430\u043b \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0435\u043d. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u043c\u044b \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u043c \u00ab\u0441\u043c\u0435\u0448\u0430\u043d\u043d\u043e\u0435\u00bb \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 BER \u0438 DER \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0422\u0430\u043a \u043a\u0430\u043a \u0438 CER \u0438 DER \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e\u043c BER, \u0442\u043e \u043b\u044e\u0431\u043e\u0439 BER-\u0434\u0435\u043a\u043e\u0434\u0435\u0440 \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u0438\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<h2>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 pyasn1<\/h2>\n<p>\n\u041d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435 \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043d\u0430 Python \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0435\u0439. \u0418 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u0432\u044b\u0431\u043e\u0440\u0430 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e: \u043b\u0438\u0431\u043e \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c\/\u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b, \u043b\u0438\u0431\u043e \u044d\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <noindex><a rel=\"nofollow\" href=\"http:\/\/snmplabs.com\/pyasn1\/index.html\">pyasn1<\/a><\/noindex>. \u041d\u0430 \u043d\u0435\u0439 \u043c\u044b \u0436\u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u0438 \u043f\u043e\u043d\u0430\u0447\u0430\u043b\u0443 \u0431\u044b\u043b\u0438 \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u044b, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 ASN.1 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u043c\u0438 \u043a\u0430\u043a \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u043d\u043d\u044b\u043c\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c\u0438: \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 X.509 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u0441\u0432\u043e\u0438\u043c \u043f\u043e\u043b\u044f\u043c \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441-\u0441\u043b\u043e\u0432\u0430\u0440\u044f: cert[\u00abtbsCertificate\u00bb][\u00abserialNumber\u00bb] \u043d\u0430\u043c \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u044d\u0442\u043e\u0433\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430. \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u00ab\u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c\u00bb \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u044f \u0441 \u043d\u0438\u043c\u0438 \u043a\u0430\u043a \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u0430\u043c\u0438, \u0441\u043b\u043e\u0432\u0430\u0440\u044f\u043c\u0438, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e pyasn1.codec.der.encoder.encode \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430.<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e, \u0432\u0441\u043a\u0440\u044b\u0432\u0430\u043b\u0438\u0441\u044c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f. \u0412 pyasn1 \u0431\u044b\u043b\u0438 \u0438, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0438: \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438, \u0432 pyasn1 \u043e\u0434\u0438\u043d \u0438\u0437 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u2014 GeneralizedTime, <noindex><a rel=\"nofollow\" href=\"https:\/\/sourceforge.net\/p\/pyasn1\/mailman\/message\/36512292\/\">\u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e<\/a><\/noindex> \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438 \u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p>\u0412 \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0434\u043b\u044f \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0438 \u043c\u0435\u0441\u0442\u0430, \u043c\u044b \u0447\u0430\u0441\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443, \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0438 \u0434\u043b\u0438\u043d\u0443 \u0432 \u0431\u0430\u0439\u0442\u0430\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0445\u043e\u0442\u0438\u043c \u0441\u043e\u0441\u043b\u0430\u0442\u044c\u0441\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 CMS SignedData ASN.1 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435:<\/p>\n<pre><code class=\"plaintext\">  0     [1,3,1018]  ContentInfo SEQUENCE\n  4     [1,1,   9]   . contentType: ContentType OBJECT IDENTIFIER 1.2.840.113549.1.7.2 (id_signedData)\n 19-4   [0,0,1003]   . content: [0] EXPLICIT [UNIV 16] ANY\n 19     [1,3, 999]   . . DEFINED BY id_signedData: SignedData SEQUENCE\n 23     [1,1,   1]   . . . version: CMSVersion INTEGER v3 (03)\n 26     [1,1,  19]   . . . digestAlgorithms: DigestAlgorithmIdentifiers SET OF\n                           [...]\n 47     [1,3, 769]   . . . encapContentInfo: EncapsulatedContentInfo SEQUENCE\n 51     [1,1,   8]   . . . . eContentType: ContentType OBJECT IDENTIFIER 1.3.6.1.5.5.7.12.2 (id_cct_PKIData)\n 65-4   [1,3, 751]   . . . . eContent: [0] EXPLICIT OCTET STRING 751 bytes OPTIONAL\n\n                 \u0422\u0423\u0422 \u0421\u041e\u0414\u0415\u0420\u0416\u0418\u041c\u041e\u0415 \u041f\u041e\u0414\u041f\u0418\u0421\u042b\u0412\u0410\u0415\u041c\u041e\u0413\u041e \u0424\u0410\u0419\u041b\u0410 \u0420\u0410\u0417\u041c\u0415\u0420\u041e\u041c 751 \u0431\u0430\u0439\u0442\n\n820     [1,2, 199]   . . . signerInfos: SignerInfos SET OF\n823     [1,2, 196]   . . . . 0: SignerInfo SEQUENCE\n826     [1,1,   1]   . . . . . version: CMSVersion INTEGER v3 (03)\n829     [0,0,  22]   . . . . . sid: SignerIdentifier CHOICE subjectKeyIdentifier\n                               [...]\n956     [1,1,  64]   . . . . . signature: SignatureValue OCTET STRING 64 bytes\n                     . . . . . . C1:B3:88:BA:F8:92:1C:E6:3E:41:9B:E0:D3:E9:AF:D8\n                     . . . . . . 47:4A:8A:9D:94:5D:56:6B:F0:C1:20:38:D2:72:22:12\n                     . . . . . . 9F:76:46:F6:51:5F:9A:8D:BF:D7:A6:9B:FD:C5:DA:D2\n                     . . . . . . F3:6B:00:14:A4:9D:D7:B5:E1:A6:86:44:86:A7:E8:C9\n<\/code><\/pre>\n<p>\n\u0438 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043f\u043e \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044e 65 \u0431\u0430\u0439\u0442, \u0434\u043b\u0438\u043d\u043e\u0439 751 \u0431\u0430\u0439\u0442. pyasn1 \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442 \u044d\u0442\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0432 \u0441\u0432\u043e\u0438\u0445 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u0445. \u0411\u044b\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0439 TLVSeeker \u2014 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u044d\u0433\u0438 \u0438 \u0434\u043b\u0438\u043d\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0432\u0430\u043b\u0438 \u00ab\u043f\u0435\u0440\u0435\u0439\u0434\u0438 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0442\u044d\u0433\u0443\u00bb, \u00ab\u0432\u043e\u0439\u0434\u0438 \u0432\u043d\u0443\u0442\u0440\u044c \u0442\u044d\u0433\u0430\u00bb (\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u043d\u0443\u0442\u0440\u044c SEQUENCE \u043e\u0431\u044a\u0435\u043a\u0442\u0430), \u00ab\u043f\u0435\u0440\u0435\u0439\u0434\u0438 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0442\u044d\u0433\u0443\u00bb, \u00ab\u0441\u043e\u043e\u0431\u0449\u0438 \u0441\u0432\u043e\u0439 offset \u0438 \u0434\u043b\u0438\u043d\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u0433\u0434\u0435 \u043c\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u043c\u0441\u044f\u00bb. \u042d\u0442\u043e \u0431\u044b\u043b\u043e \u00ab\u0440\u0443\u0447\u043d\u043e\u0435\u00bb \u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u043e ASN.1 DER-\u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0434\u0430\u043d\u043d\u044b\u043c. \u041d\u043e \u0442\u0430\u043a \u043d\u0435\u043b\u044c\u0437\u044f \u0431\u044b\u043b\u043e \u0442\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 BER-\u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u0442\u0430\u043a \u043a\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u0430\u0439\u0442\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 OCTET STRING \u043c\u043e\u0433\u043b\u0430 \u0431\u044b\u0442\u044c \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432 \u0432\u0438\u0434\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 chunk-\u043e\u0432.<\/p>\n<p>\u0414\u0440\u0443\u0433\u043e\u0439 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a \u0434\u043b\u044f \u043d\u0430\u0448\u0438\u0445 \u0437\u0430\u0434\u0430\u0447 pyasn1 \u2014 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043d\u044f\u0442\u044c \u043f\u043e \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c, \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u043e \u043b\u0438 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u0432 SEQUENCE \u0438\u043b\u0438 \u043d\u0435\u0442. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u043e\u043b\u0435 Field SEQUENCE OF Smth OPTIONAL, \u0442\u043e \u043e\u043d\u043e \u043c\u043e\u0433\u043b\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 (OPTIONAL), \u0430 \u043c\u043e\u0433\u043b\u043e \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c, \u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0443\u043b\u0435\u0432\u043e\u0439 \u0434\u043b\u0438\u043d\u044b (\u043f\u0443\u0441\u0442\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a). \u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u043b\u044c\u0437\u044f \u0431\u044b\u043b\u043e \u0432\u044b\u044f\u0441\u043d\u0438\u0442\u044c. \u0410 \u044d\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043b\u044f \u0436\u0451\u0441\u0442\u043a\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0432\u0430\u043b\u0438\u0434\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435, \u0447\u0442\u043e \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0438\u0439 \u0446\u0435\u043d\u0442\u0440 \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b \u0431\u044b \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0441 \u00ab\u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c\u00bb \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u043c\u0438 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f ASN.1-\u0441\u0445\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u043c\u0438! \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0438\u0439 \u0446\u0435\u043d\u0442\u0440 \u00abT\u00dcRKTRUST Elektronik Sertifika Hizmet Sa\u011flay\u0131c\u0131s\u0131\u00bb \u0432 \u0441\u0432\u043e\u0451\u043c \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0435 \u0432\u044b\u0448\u0435\u043b \u0437\u0430 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/tools.ietf.org\/html\/rfc5280\">RFC 5280<\/a><\/noindex> \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u0434\u043b\u0438\u043d\u044b \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 subject \u2014 \u0435\u0433\u043e \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0447\u0435\u0441\u0442\u043d\u043e \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0441\u0445\u0435\u043c\u0435. DER \u043a\u043e\u0434\u0435\u043a \u0442\u0440\u0435\u0431\u0443\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0435, \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0432\u043d\u043e DEFAULT-\u043d\u043e\u043c\u0443, \u043d\u0435 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435 \u2014 \u0432 \u0436\u0438\u0437\u043d\u0438 \u0442\u0430\u043a\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f, \u0438 \u043f\u0435\u0440\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f PyDERASN \u0434\u0430\u0436\u0435 \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u043d\u043e \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u043b\u0430 \u0442\u0430\u043a\u043e\u0435 \u043d\u0435\u0432\u0430\u043b\u0438\u0434\u043d\u043e\u0435 (\u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f DER) \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0440\u0430\u0434\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438.<\/p>\n<p>\u0415\u0449\u0451 \u043e\u0434\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u2014 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043b\u0435\u0433\u043a\u043e \u0443\u0437\u043d\u0430\u0442\u044c, \u0432 \u043a\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 (BER\/DER) \u0431\u044b\u043b \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d \u0442\u043e\u0442 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, CMS \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 \u0433\u043e\u0432\u043e\u0440\u0438\u0442, \u0447\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 BER-\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u043d\u043e \u043f\u043e\u043b\u0435 signedAttrs, \u043d\u0430\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u044c, \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0432 DER. \u0415\u0441\u043b\u0438 \u043c\u044b \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u043c DER-\u043e\u043c, \u0442\u043e \u0443\u043f\u0430\u0434\u0451\u043c \u043d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0441\u0430\u043c\u043e\u0439 CMS, \u0435\u0441\u043b\u0438 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u043c BER-\u043e\u043c, \u0442\u043e \u043d\u0435 \u0443\u0437\u043d\u0430\u0435\u043c \u0432 \u043a\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 \u0431\u044b\u043b signedAttrs. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f TLVSeeker-\u043e\u043c (\u0430\u043d\u0430\u043b\u043e\u0433\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0435\u0442 \u0432 pyasn1) \u0438\u0441\u043a\u0430\u0442\u044c \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 signedAttrs \u043f\u043e\u043b\u0435\u0439, \u0438 \u0435\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0434\u043e\u0441\u0442\u0430\u0432 \u0438\u0437 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c DER-\u043e\u043c.<\/p>\n<p>\u041e\u0447\u0435\u043d\u044c \u0436\u0435\u043b\u0430\u043d\u043d\u043e\u0439 \u0431\u044b\u043b\u0430 \u0434\u043b\u044f \u043d\u0430\u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 DEFINED BY \u043f\u043e\u043b\u0435\u0439, \u043a\u043e\u0438 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0447\u0430\u0441\u0442\u043e. \u041f\u043e\u0441\u043b\u0435 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f ASN.1 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0443 \u043d\u0430\u0441 \u043c\u043e\u0436\u0435\u0442 \u043e\u0441\u0442\u0430\u0442\u044c\u0441\u044f \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e ANY \u043f\u043e\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u044b \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u043e \u0441\u0445\u0435\u043c\u0435, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c\u043e\u0439 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 OBJECT IDENTIFIER \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u043c \u0432 \u043f\u043e\u043b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b. \u0412 Python \u043a\u043e\u0434\u0435 \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 if \u0438 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0439 \u0432\u044b\u0437\u043e\u0432 \u0434\u0435\u043a\u043e\u0434\u0435\u0440\u0430 \u0434\u043b\u044f ANY \u043f\u043e\u043b\u044f.<\/p>\n<h2>\u041f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0435 PyDERASN<\/h2>\n<p>\n\u0412 \u0410\u0442\u043b\u0430\u0441\u0435 \u043c\u044b \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e, \u043d\u0430\u0439\u0434\u044f \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438\u043b\u0438 \u0434\u043e\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0430\u0442\u0447\u0438 \u043d\u0430\u0432\u0435\u0440\u0445. \u0412 pyasn1 \u043c\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0438 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u043d\u043e \u043a\u043e\u0434 pyasn1 \u043d\u0435 \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0438 \u0438\u043d\u043e\u0433\u0434\u0430 \u0432 \u043d\u0451\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b\u0438 \u043d\u0435\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f API, \u0431\u0438\u0432\u0448\u0438\u0435 \u043d\u0430\u0441 \u043f\u043e \u0440\u0443\u043a\u0430\u043c. \u041f\u043b\u044e\u0441 \u043c\u044b \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438 \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0442\u0435\u0441\u0442\u043e\u0432 \u0441 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c, \u0447\u0435\u0433\u043e \u043d\u0435 \u0431\u044b\u043b\u043e \u0432 pyasn1.<\/p>\n<p>\u0412 \u043e\u0434\u0438\u043d \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0434\u0435\u043d\u044c \u044f \u0440\u0435\u0448\u0438\u043b, \u0447\u0442\u043e \u0445\u0432\u0430\u0442\u0438\u0442\u044c \u044d\u0442\u043e \u0442\u0435\u0440\u043f\u0435\u0442\u044c \u0438 \u043f\u043e\u0440\u0430 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0441 __slot__-\u0430\u043c\u0438, offset-\u0430\u043c\u0438 \u0438 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u043c\u0438 blob-\u0430\u043c\u0438! \u041f\u0440\u043e\u0441\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c ASN.1 \u043a\u043e\u0434\u0435\u043a \u0431\u044b\u043b\u043e \u0431\u044b \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u2014 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0432\u0441\u0435 \u043d\u0430\u0448\u0438 \u0434\u0440\u0443\u0433 \u043e\u0442 \u0434\u0440\u0443\u0433\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043d\u0430 \u043d\u0435\u0451, \u0430 \u044d\u0442\u043e \u0441\u043e\u0442\u043d\u0438 \u0442\u044b\u0441\u044f\u0447 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430 \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u043b\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u0441 ASN.1-\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u043c\u0438. \u0422\u043e \u0435\u0441\u0442\u044c \u043e\u0434\u043d\u043e \u0438\u0437 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u0434\u043b\u044f \u043d\u0435\u0451: \u043b\u0451\u0433\u043a\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e pyasn1 \u043a\u043e\u0434\u0430. \u041f\u043e\u0442\u0440\u0430\u0442\u0438\u0432 \u0432\u0435\u0441\u044c \u0441\u0432\u043e\u0439 \u043e\u0442\u043f\u0443\u0441\u043a, \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u044d\u0442\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443, \u0432\u0441\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043f\u0435\u0440\u0435\u0432\u0451\u043b \u043d\u0430 \u043d\u0435\u0451. \u0422\u0430\u043a \u043a\u0430\u043a \u043e\u043d\u0438 \u0438\u043c\u0435\u044e\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 100%-\u043d\u044b\u0439 coverage \u0442\u0435\u0441\u0442\u0430\u043c\u0438, \u0442\u043e \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u043b\u043e \u0438 \u043f\u043e\u043b\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<\/p>\n<p>PyDERASN, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e, \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 100%-\u043e\u0435 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u0442\u0435\u0441\u0442\u0430\u043c\u0438. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <noindex><a rel=\"nofollow\" href=\"https:\/\/hypothesis.readthedocs.io\/en\/latest\/\">hypothesis<\/a><\/noindex>. \u0422\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u0441\u044f \u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fuzzing\">fuzzing<\/a><\/noindex> <noindex><a rel=\"nofollow\" href=\"http:\/\/jwilk.net\/software\/python-afl\">py-afl<\/a><\/noindex>-\u0435\u043c \u043d\u0430 32-\u0445 \u044f\u0434\u0435\u0440\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445. \u041d\u0435 \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c Python2 \u043a\u043e\u0434\u0430, PyDERASN \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0431\u043b\u044e\u0434\u0451\u0442 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441 \u043d\u0438\u043c \u0438 \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u0438\u043c\u0435\u0435\u0442 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e <noindex><a rel=\"nofollow\" href=\"https:\/\/six.readthedocs.io\/\">six<\/a><\/noindex> \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043e\u043d \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430\u043f\u0440\u043e\u0442\u0438\u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/152907\/\">ASN.1:2008 compliance test suite<\/a><\/noindex>.<\/p>\n<p>\u041f\u0440\u0438\u043d\u0446\u0438\u043f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u0435\u043d pyasn1 \u2014 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u043d\u043d\u044b\u043c\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c\u0438 Python. \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 ASN.1 \u0441\u0445\u0435\u043c \u0441\u0445\u043e\u0436\u0435.<\/p>\n<pre><code class=\"plaintext\">class TBSCertificate(Sequence):\n    schema = (\n        (\"version\", Version(expl=tag_ctxc(0), default=\"v1\")),\n        (\"serialNumber\", CertificateSerialNumber()),\n        (\"signature\", AlgorithmIdentifier()),\n        (\"issuer\", Name()),\n        (\"validity\", Validity()),\n        (\"subject\", Name()),\n        (\"subjectPublicKeyInfo\", SubjectPublicKeyInfo()),\n        (\"issuerUniqueID\", UniqueIdentifier(impl=tag_ctxp(1), optional=True)),\n        (\"subjectUniqueID\", UniqueIdentifier(impl=tag_ctxp(2), optional=True)),\n        (\"extensions\", Extensions(expl=tag_ctxc(3), optional=True)),\n    )\n<\/code><\/pre>\n<p>\n\u041e\u0434\u043d\u0430\u043a\u043e, PyDERASN \u0438\u043c\u0435\u0435\u0442 \u043f\u043e\u0434\u043e\u0431\u0438\u0435 \u0441\u0442\u0440\u043e\u0433\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0438. \u0412 pyasn1 \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u0435 \u0438\u043c\u0435\u043b\u043e \u0442\u0438\u043f CMSVersion(INTEGER), \u0442\u043e \u0435\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442\u044c int \u0438\u043b\u0438 INTEGER. PyDERASN \u0436\u0451\u0441\u0442\u043a\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0431\u044b\u043b \u0438\u043c\u0435\u043d\u043d\u043e CMSVersion. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u044b \u043f\u0438\u0448\u0435\u043c Python3 \u043a\u043e\u0434, \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.python.org\/dev\/peps\/pep-0484\/\">typing annotations<\/a><\/noindex>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043d\u0430\u0448\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0445 \u0431\u0443\u0434\u0443\u0442 \u043d\u0435 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0442\u0438\u043f\u0430 def func(serial, contents), \u0430 def func(serial: CertificateSerialNumber, contents: EncapsulatedContentInfo), \u0438 PyDERASN \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0431\u043b\u044e\u0441\u0442\u0438 \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u0434.<\/p>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432 PyDERASN \u0435\u0441\u0442\u044c \u043a\u0440\u0430\u0439\u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u044b\u0435 \u043f\u043e\u0431\u043b\u0430\u0436\u043a\u0438 \u044d\u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0438. pyasn1 \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u043b \u0432 SubjectKeyIdentifier().subtype(implicitTag=Tag(&#8230;)) \u043f\u043e\u043b\u0435 \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0442\u044c SubjectKeyIdentifier() \u043e\u0431\u044a\u0435\u043a\u0442 (\u0431\u0435\u0437 \u043d\u0443\u0436\u043d\u043e\u0433\u043e IMPLICIT TAG-\u0430) \u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0447\u0430\u0441\u0442\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437-\u0437\u0430 \u0438\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u044b\u0445 IMPLICIT\/EXPLICIT \u0442\u044d\u0433\u043e\u0432. PyDERASN \u0441\u0442\u0440\u043e\u0433\u043e \u0431\u043b\u044e\u0434\u0451\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0442\u0438\u043f \u2014 \u0442\u044d\u0433\u0438 \u043e\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0442 \u0438\u0437 \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0449\u0435\u0439\u0441\u044f \u0441\u0445\u0435\u043c\u044b ASN.1 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b. \u042d\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u043a\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0442\u043e \u0432 pyasn1 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u0433\u0434\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 \u0443\u0436\u0435 \u0432\u044b\u0448\u0435 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u0432\u0448\u0435\u043c\u0441\u044f \u0442\u0443\u0440\u0435\u0446\u043a\u043e\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443: UTF8String (tbsCertificate:issuer:rdnSequence:3:0:value:DEFINED BY 2.5.4.10:utf8String) (at 138) unsatisfied bounds: 1 \u21d0 77 \u21d0 64 \u041f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 ASN.1 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 \u043b\u044e\u0434\u0438 \u043c\u043e\u0433\u0443\u0442 \u043e\u0448\u0438\u0431\u0430\u0442\u044c\u0441\u044f, \u0438 \u044d\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043b\u0435\u0433\u0447\u0435 \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0432\u044b\u044f\u0441\u043d\u044f\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b.<\/p>\n<p>\u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 PyDERASN \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 BER-\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0437\u0436\u0435 \u0438 \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u0435\u0449\u0451 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 UTCTime\/GeneralizedTime \u0441 \u0447\u0430\u0441\u043e\u0432\u044b\u043c\u0438 \u043f\u043e\u044f\u0441\u0430\u043c\u0438. \u042d\u0442\u043e \u043f\u0440\u0438\u0434\u0451\u0442 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c, \u0432\u0435\u0434\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0438\u0448\u0435\u0442\u0441\u044f \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u043e\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u0440\u0435\u043c\u044f.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u0441 DEFINED BY \u043f\u043e\u043b\u044f\u043c\u0438. \u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u044d\u0442\u0430 <noindex><a rel=\"nofollow\" href=\"http:\/\/pyderasn.cypherpunks.ru\/reference.html#defined-by\">\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c<\/a><\/noindex> \u0438 \u043d\u0430\u0447\u0430\u043b\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u044f \u043a\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u2014 \u0437\u0430 \u043e\u0434\u043d\u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u0441\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043d\u043d\u0443\u044e \u0434\u043e \u0441\u0430\u043c\u043e\u0439 \u0433\u043b\u0443\u0431\u0438\u043d\u044b. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e, \u0432 \u0441\u0445\u0435\u043c\u0435 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u043a\u0430\u043a\u0438\u0435 \u043f\u043e\u043b\u044f \u0447\u0442\u043e \u00ab\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442\u00bb. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0445\u0435\u043c\u044b CMS:<\/p>\n<pre><code class=\"plaintext\">class ContentInfo(Sequence):\n    schema = (\n        (\"contentType\", ContentType(defines=(((\"content\",), {\n            id_authenticatedData: AuthenticatedData(),\n            id_digestedData: DigestedData(),\n            id_encryptedData: EncryptedData(),\n            id_envelopedData: EnvelopedData(),\n            id_signedData: SignedData(),\n        }),))),\n        (\"content\", Any(expl=tag_ctxc(0))),\n    )\n<\/code><\/pre>\n<p>\n\u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 contentType \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c OID \u0441 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c id_signedData, \u0442\u043e \u043f\u043e\u043b\u0435 content (\u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0435\u0435\u0441\u044f \u0432 \u044d\u0442\u043e\u043c \u0436\u0435 SEQUENCE) \u043d\u0443\u0436\u043d\u043e \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0441\u0445\u0435\u043c\u0435 SignedData. \u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0441\u043a\u043e\u0431\u043e\u0447\u0435\u043a? \u041f\u043e\u043b\u0435 \u043c\u043e\u0436\u0435\u0442 \u00ab\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c\u00bb \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u0435\u0439 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e, \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u044b\u0432\u0430\u0435\u0442 \u0432 EnvelopedData \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u0445. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0435 \u043f\u043e\u043b\u044f \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043f\u043e \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u043e\u043c\u0443 decode path \u2014 \u043e\u043d\u043e \u0437\u0430\u0434\u0430\u0451\u0442 \u0442\u043e\u0447\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0432\u043e \u0432\u0441\u0435\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u0445.<\/p>\n<p>\u041d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0438\u043b\u0438 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u0432 \u0441\u0445\u0435\u043c\u0443 \u0432\u043d\u0435\u0441\u0442\u0438 \u044d\u0442\u0438 defines. \u041c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c application-specific \u0441\u043b\u0443\u0447\u0430\u0438 \u043a\u043e\u0433\u0434\u0430 OID-\u044b \u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435. PyDERASN \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u044d\u0442\u0438\u0445 defines \u043f\u0440\u044f\u043c\u043e \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b:<\/p>\n<pre><code class=\"plaintext\">ContentInfo().decode(data, ctx={\"defines_by_path\": ((\n    (\n        \"content\", DecodePathDefBy(id_signedData),\n        \"certificates\", any, \"certificate\", \"tbsCertificate\",\n        \"extensions\", any, \"extnID\",\n    ),\n    (((\"extnValue\",), {\n        id_ce_authorityKeyIdentifier: AuthorityKeyIdentifier(),\n        id_ce_basicConstraints: BasicConstraints(),\n        [...]\n        id_ru_subjectSignTool: SubjectSignTool(),\n    }),),\n),)})\n<\/code><\/pre>\n<p>\n\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043c, \u0447\u0442\u043e \u0432 CMS SignedData \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432, \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0438\u0445 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f (AuthorityKeyIdentifier, BasicConstraints, SubjectSignTool, \u0438 \u0442.\u0434.). \u041c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 decode path, \u043a\u0430\u043a\u043e\u043c\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043d\u0443\u0436\u043d\u043e \u00ab\u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c\u00bb defines, \u043a\u0430\u043a \u0431\u0443\u0434\u0442\u043e \u043e\u043d \u0431\u044b\u043b \u0437\u0430\u0434\u0430\u043d \u0432 \u0441\u0445\u0435\u043c\u0435.<\/p>\n<p>\u041d\u0430\u043a\u043e\u043d\u0435\u0446, PyDERASN \u0438\u043c\u0435\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0438\u0437 <noindex><a rel=\"nofollow\" href=\"http:\/\/pyderasn.cypherpunks.ru\/examples.html#cmdline\">\u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/a><\/noindex> \u0434\u043b\u044f \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f ASN.1 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u0433\u0430\u0442\u044b\u0439 <noindex><a rel=\"nofollow\" href=\"http:\/\/pyderasn.cypherpunks.ru\/reference.html#pprinting\">pretty printing<\/a><\/noindex>. \u041c\u043e\u0436\u043d\u043e \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 ASN.1, \u0430 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0447\u0451\u0442\u043a\u043e \u0437\u0430\u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043d\u0435\u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435:<\/p>\n<p><img decoding=\"async\" alt=\"PyDERASN: \u043a\u0430\u043a \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b ASN.1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0441 slots and blobs\" src=\"\/wp-content\/uploads\/2019\/05\/ad231881c3601d554ae05b7c79bccc91.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f: \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u0434\u043b\u0438\u043d\u0430 \u0442\u044d\u0433\u0430, \u0434\u043b\u0438\u043d\u0430 \u0434\u043b\u0438\u043d\u044b, \u0434\u043b\u0438\u043d\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e, \u043d\u0430\u043b\u0438\u0447\u0438\u0435 EOC (end-of-octets), \u043f\u0440\u0438\u0437\u043d\u0430\u043a BER-\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043f\u0440\u0438\u0437\u043d\u0430\u043a indefinite-length \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0434\u043b\u0438\u043d\u0430 \u0438 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 EXPLICIT \u0442\u044d\u0433\u0430 (\u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c), \u0433\u043b\u0443\u0431\u0438\u043d\u0430 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u0445, IMPLICIT\/EXPLICIT \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u044d\u0433\u0430, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043f\u043e \u0441\u0445\u0435\u043c\u0435, \u0435\u0433\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0439 ASN.1 \u0442\u0438\u043f, \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432\u043d\u0443\u0442\u0440\u0438 SEQUENCE\/SET OF, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c CHOICE (\u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c), \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 INTEGER\/ENUMERATED\/BIT STRING \u043f\u043e \u0441\u0445\u0435\u043c\u0435, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u0442\u0438\u043f\u0430, DEFAULT\/OPTIONAL \u0444\u043b\u0430\u0433 \u0438\u0437 \u0441\u0445\u0435\u043c\u044b, \u043f\u0440\u0438\u0437\u043d\u0430\u043a \u0447\u0442\u043e \u043e\u0431\u044a\u0435\u043a\u0442 \u0431\u044b\u043b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d \u043a\u0430\u043a DEFINED BY \u0438 \u0437\u0430 \u0441\u0447\u0451\u0442 \u043a\u0430\u043a\u043e\u0433\u043e OID-\u0430 \u044d\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e, \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 OID.<\/p>\n<p>\u0421\u0438\u0441\u0442\u0435\u043c\u0430 pretty printing-\u0430 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u0430 \u0442\u0430\u043a, \u0447\u0442\u043e \u043e\u043d\u0430 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c PP-\u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0443\u0436\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438. \u041d\u0430 screenshot-\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d renderer \u0432 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0446\u0432\u0435\u0442\u043d\u043e\u0439 \u0442\u0435\u043a\u0441\u0442. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0438 renderer-\u044b \u0432 JSON\/HTML \u0444\u043e\u0440\u043c\u0430\u0442, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0441 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u043e\u0439 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u0431\u0440\u043e\u0443\u0437\u0435\u0440\u0435 ASN.1 \u043a\u0430\u043a \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/lapo.it\/asn1js\/\">asn1js<\/a><\/noindex> \u043f\u0440\u043e\u0435\u043a\u0442\u0435.<\/p>\n<h2>\u0414\u0440\u0443\u0433\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<\/h2>\n<p>\n\u042d\u0442\u043e \u043d\u0435 \u0431\u044b\u043b\u043e \u0446\u0435\u043b\u044c\u044e, \u043d\u043e PyDERASN \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e <noindex><a rel=\"nofollow\" href=\"http:\/\/pyderasn.cypherpunks.ru\/features.html\">\u0431\u043e\u043b\u0435\u0435 \u0431\u044b\u0441\u0442\u0440\u044b\u043c<\/a><\/noindex> \u0447\u0435\u043c pyasn1. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 CRL \u0444\u0430\u0439\u043b\u043e\u0432 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442\u043d\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u0447\u0442\u043e \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0434\u0443\u043c\u0430\u0442\u044c \u043f\u0440\u043e \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 (\u0431\u044b\u0441\u0442\u0440\u044b\u0445) \u0438 \u043c\u0435\u043d\u044f\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. pyasn1 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442 CRL <noindex><a rel=\"nofollow\" href=\"https:\/\/www.cacert.org\/\">CACert.org<\/a><\/noindex> \u043d\u0430 \u043c\u043e\u0451\u043c \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0435 \u0431\u043e\u043b\u0435\u0435 20 \u043c\u0438\u043d\u0443\u0442, \u0442\u043e\u0433\u0434\u0430 \u043a\u0430\u043a PyDERASN \u0432\u0441\u0435\u0433\u043e \u0437\u0430 28 \u0441\u0435\u043a\u0443\u043d\u0434! \u0415\u0441\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/wbond\/asn1crypto\">asn1crypto<\/a><\/noindex>, \u043d\u0430\u0446\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u043d\u0430 \u0431\u044b\u0441\u0442\u0440\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u043c\u0438: \u043e\u043d \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442 (\u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e, \u043d\u0435 \u043b\u0435\u043d\u0438\u0432\u043e) \u044d\u0442\u043e\u0442 \u0436\u0435 \u0441\u0430\u043c\u044b\u0439 CRL \u0437\u0430 29 \u0441\u0435\u043a\u0443\u043d\u0434, \u043e\u0434\u043d\u0430\u043a\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u0442 \u043f\u043e\u0447\u0442\u0438 \u0432 \u0434\u0432\u0430 \u0440\u0430\u0437\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043f\u043e\u0434 Python3 (983 MiB \u043f\u0440\u043e\u0442\u0438\u0432 498-\u043c\u0438), \u0438 \u0432 3.5 \u0440\u0430\u0437\u0430 \u043f\u043e\u0434 Python2 (1677 \u043f\u0440\u043e\u0442\u0438\u0432 488), \u0442\u043e\u0433\u0434\u0430 \u043a\u0430\u043a pyasn1 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u0442 \u0430\u0436 \u0432 4.3 \u0440\u0430\u0437\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 (2093 \u043f\u0440\u043e\u0442\u0438\u0432 488).<\/p>\n<p>asn1crypto, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u043b, \u043c\u044b \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b\u0438, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u0435\u0449\u0451 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u043e\u0436\u0434\u0430\u043b\u0441\u044f, \u0438 \u043c\u044b \u043d\u0435 \u0441\u043b\u044b\u0448\u0430\u043b\u0438 \u043f\u0440\u043e \u043d\u0435\u0433\u043e. \u0421\u0435\u0439\u0447\u0430\u0441 \u0431\u044b \u0442\u043e\u0436\u0435 \u043d\u0435 \u0441\u0442\u0430\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0435\u0433\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u0443, \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u043d\u043e\u044e \u0441\u0440\u0430\u0437\u0443 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0442\u043e\u0442 \u0436\u0435 GeneralizedTime \u043e\u043d \u043d\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0430, \u0430 \u043f\u0440\u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u043d \u043c\u043e\u043b\u0447\u0430 \u0443\u0431\u0438\u0440\u0430\u0435\u0442 \u0434\u043e\u043b\u0438 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u042d\u0442\u043e \u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u043e \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 X.509 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438, \u043d\u043e \u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0451\u0442.<\/p>\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442, PyDERASN \u0441\u0430\u043c\u044b\u0439 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0438\u0437 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 Python\/Go DER-\u0434\u0435\u043a\u043e\u0434\u0435\u0440\u043e\u0432 \u043c\u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445. \u0412 encoding\/asn1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u043c\u043d\u043e\u044e \u043b\u044e\u0431\u0438\u043c\u043e\u0433\u043e Go <noindex><a rel=\"nofollow\" href=\"https:\/\/groups.google.com\/forum\/#!topic\/golang-nuts\/GHoMNtooVtg\">\u043d\u0435 \u0441\u0442\u0440\u043e\u0433\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430<\/a><\/noindex> OBJECT IDENTIFIER \u0438 UTCTime\/GeneralizedTime \u0441\u0442\u0440\u043e\u043a. \u0418\u043d\u043e\u0433\u0434\u0430 \u0441\u0442\u0440\u043e\u0433\u043e\u0441\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u0435\u0448\u0430\u0442\u044c (\u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u0438\u0437-\u0437\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441\u043e \u0441\u0442\u0430\u0440\u044b\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 PyDERASN \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c <noindex><a rel=\"nofollow\" href=\"http:\/\/pyderasn.cypherpunks.ru\/reference.html#context\">\u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/a><\/noindex> \u043e\u0441\u043b\u0430\u0431\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438.<\/p>\n<p>\u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\u0442\u0430\u0440\u0430\u0435\u0442\u0441\u044f \u0431\u044b\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c. \u0412\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u2014 \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b. \u041a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0441 \u0443\u043f\u043e\u0440\u043e\u043c \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0443 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f, \u0431\u0435\u0437 \u0438\u0437\u043b\u0438\u0448\u043d\u0438\u0445 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 DRY-\u043a\u043e\u0434\u0430. \u0412 \u043d\u0451\u043c \u043d\u0435\u0442, \u043a\u0430\u043a \u0443\u0436\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u043b, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e BER-\u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f UTCTime\/GeneralizedTime \u0441\u0442\u0440\u043e\u043a, \u0430 \u0442\u0430\u043a\u0436\u0435 REAL, RELATIVE OID, EXTERNAL, INSTANCE OF, EMBEDDED PDV, CHARACTER STRING \u0442\u0438\u043f\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445. \u0412\u043e \u0432\u0441\u0435\u0445 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043b\u0438\u0447\u043d\u043e \u044f \u043d\u0435 \u0432\u0438\u0436\u0443 \u0441\u043c\u044b\u0441\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 Python \u0434\u0440\u0443\u0433\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<\/p>\n<p>\u041a\u0430\u043a \u0438 \u0432\u0441\u0435 \u043c\u043e\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u044b, \u0442\u0438\u043f\u0430 <noindex><a rel=\"nofollow\" href=\"http:\/\/pygost.cypherpunks.ru\/\">PyGOST<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/gogost.cypherpunks.ru\/\">GoGOST<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/www.nncpgo.org\/\">NNCP<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/www.govpn.info\/\">GoVPN<\/a><\/noindex>, PyDERASN \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e <noindex><a rel=\"nofollow\" href=\"https:\/\/www.gnu.org\/philosophy\/free-sw.ru.html\">\u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u043c \u041f\u041e<\/a><\/noindex>, \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u043c\u044b\u043c \u043d\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.gnu.org\/licenses\/lgpl-3.0.ru.html\">LGPLv3+<\/a><\/noindex>, \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0434\u043b\u044f \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0433\u043e \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f. \u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0435\u0441\u0442\u044c <noindex><a rel=\"nofollow\" href=\"http:\/\/pyderasn.cypherpunks.ru\/examples.html\">\u0442\u0443\u0442<\/a><\/noindex> \u0438 \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/git.cypherpunks.ru\/cgit.cgi\/pygost.git\/tree\/pygost\/asn1schemas\/cms.py\">\u0442\u0435\u0441\u0442\u0430\u0445 PyGOST<\/a><\/noindex>.<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"http:\/\/www.stargrave.org\/\">\u0421\u0435\u0440\u0433\u0435\u0439 \u041c\u0430\u0442\u0432\u0435\u0435\u0432<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/www.cypherpunks.ru\/\">\u0448\u0438\u0444\u0440\u043e\u043f\u0430\u043d\u043a<\/a><\/noindex>, \u0447\u043b\u0435\u043d <noindex><a rel=\"nofollow\" href=\"https:\/\/www.fsf.org\/\">\u0424\u043e\u043d\u0434\u0430 \u0421\u041f\u041e<\/a><\/noindex>, Python\/Go-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a, \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442 <noindex><a rel=\"nofollow\" href=\"http:\/\/stcnet.ru\/\">\u0424\u0413\u0423\u041f \u00ab\u041d\u0422\u0426 \u201e\u0410\u0442\u043b\u0430\u0441\u201c<\/a><\/noindex>.<br \/>\n<br \/>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/444272\/\">habr.com<\/a><\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>ASN.1 \u044d\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 (ISO, ITU-T, \u0413\u041e\u0421\u0422) \u044f\u0437\u044b\u043a\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u043a\u0430\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0444\u043e\u0440\u043c\u0430\u0442 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u0440\u0430\u0432\u043d\u0435 \u0441 JSON, XML, XDR \u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438. \u041e\u043d \u043a\u0440\u0430\u0439\u043d\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d \u0432 \u043d\u0430\u0448\u0435\u0439 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0438, \u0438 \u0441 \u043d\u0438\u043c \u043c\u043d\u043e\u0433\u0438\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u044e\u0442\u0441\u044f: \u0432 \u0441\u043e\u0442\u043e\u0432\u043e\u0439, \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u043e\u0439, VoIP \u0441\u0432\u044f\u0437\u0438 (UMTS, LTE, [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":25488,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-33813","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"ASN.1 \u044d\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 (ISO, ITU-T, \u0413\u041e\u0421\u0422) \u044f\u0437\u044b\u043a\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u043a\u0430\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0444\u043e\u0440\u043c\u0430\u0442 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u0440\u0430\u0432\u043d\u0435 \u0441 JSON, XML, XDR \u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438. \u041e\u043d \u043a\u0440\u0430\u0439\u043d\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d \u0432 \u043d\u0430\u0448\u0435\u0439 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0438, \u0438 \u0441 \u043d\u0438\u043c \u043c\u043d\u043e\u0433\u0438\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u044e\u0442\u0441\u044f: \u0432 \u0441\u043e\u0442\u043e\u0432\u043e\u0439, \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u043e\u0439, VoIP \u0441\u0432\u044f\u0437\u0438 (UMTS, LTE,\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/pyderasn-kak-ya-napisal-asn-1-biblioteku-s-slots-and-blobs\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47PyDERASN: \u043a\u0430\u043a \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b ASN.1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0441 slots and blobs | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"ASN.1 \u044d\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 (ISO, ITU-T, \u0413\u041e\u0421\u0422) \u044f\u0437\u044b\u043a\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u043a\u0430\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0444\u043e\u0440\u043c\u0430\u0442 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u0440\u0430\u0432\u043d\u0435 \u0441 JSON, XML, XDR \u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438. \u041e\u043d \u043a\u0440\u0430\u0439\u043d\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d \u0432 \u043d\u0430\u0448\u0435\u0439 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0438, \u0438 \u0441 \u043d\u0438\u043c \u043c\u043d\u043e\u0433\u0438\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u044e\u0442\u0441\u044f: \u0432 \u0441\u043e\u0442\u043e\u0432\u043e\u0439, \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u043e\u0439, VoIP \u0441\u0432\u044f\u0437\u0438 (UMTS, LTE,\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/pyderasn-kak-ya-napisal-asn-1-biblioteku-s-slots-and-blobs\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:54:48+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:54:48+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47PyDERASN: Wie ich eine ASN.1-Bibliothek mit Slots und Blobs geschrieben habe | ProHoster","description":"ASN.1 ist ein Standard (ISO, ITU-T, \u0413\u041e\u0421\u0422) zur Beschreibung strukturierter Informationen sowie f\u00fcr die Kodierungsregeln dieser Informationen. F\u00fcr mich als Programmierer ist es einfach ein weiteres Format zur Serialisierung und Darstellung von Daten, vergleichbar mit JSON, XML, XDR und anderen. Es ist in unserem t\u00e4glichen Leben weit verbreitet und viele Menschen begegnen ihm: in der mobilen Kommunikation, Telefonie und VoIP (UMTS, LTE,","canonical_url":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/pyderasn-kak-ya-napisal-asn-1-biblioteku-s-slots-and-blobs","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"de_DE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47PyDERASN: \u043a\u0430\u043a \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b ASN.1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0441 slots and blobs | ProHoster","og:description":"ASN.1 \u044d\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 (ISO, ITU-T, \u0413\u041e\u0421\u0422) \u044f\u0437\u044b\u043a\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u043a\u0430\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0444\u043e\u0440\u043c\u0430\u0442 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u0440\u0430\u0432\u043d\u0435 \u0441 JSON, XML, XDR \u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438. \u041e\u043d \u043a\u0440\u0430\u0439\u043d\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d \u0432 \u043d\u0430\u0448\u0435\u0439 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0438, \u0438 \u0441 \u043d\u0438\u043c \u043c\u043d\u043e\u0433\u0438\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u044e\u0442\u0441\u044f: \u0432 \u0441\u043e\u0442\u043e\u0432\u043e\u0439, \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u043e\u0439, VoIP \u0441\u0432\u044f\u0437\u0438 (UMTS, LTE,","og:url":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/pyderasn-kak-ya-napisal-asn-1-biblioteku-s-slots-and-blobs","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:54:48+00:00","article:modified_time":"2019-10-31T18:54:48+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"33813","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 16:49:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:33:24","updated":"2026-01-21 16:49:19"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/33813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/comments?post=33813"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/33813\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media\/25488"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media?parent=33813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/categories?post=33813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/tags?post=33813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}