{"id":170634,"date":"2026-05-12T00:24:49","date_gmt":"2026-05-11T22:24:49","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/pervyj-vypusk-realizaczii-protokola-tls-1-3-na-java-s-algoritmami-gost-v-sootvetstvii-s-rfc-9367"},"modified":"2026-05-12T00:24:49","modified_gmt":"2026-05-11T22:24:49","slug":"pervyj-vypusk-realizaczii-protokola-tls-1-3-na-java-s-algoritmami-gost-v-sootvetstvii-s-rfc-9367","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/pervyj-vypusk-realizaczii-protokola-tls-1-3-na-java-s-algoritmami-gost-v-sootvetstvii-s-rfc-9367","title":{"rendered":"The first release of the TLS 1.3 protocol implementation in Java with GOST algorithms according to RFC 9367","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Module <em>crypto-gost-tls13<\/em> contains an implementation of <em>TLS 1.3 (RFC 8446 + RFC 9367)<\/em> with GOST cryptography. This release is the initial version of the library and is ready for internal use.<\/p>\n<p>A distinctive feature of the library is its implementation in pure Java. All cryptographic operations are performed using the library's built-in features \u2014 without external dependencies.<\/p>\n<p>This is one of the first open implementations of TLS 1.3 with GOST on Java, so interop testing has been done in the minimally available scope.<\/p>\n<p>Below are the capabilities of the library.<\/p>\n<ol>\n<li><em>Protocols:<\/em><\/li>\n<\/ol>\n<ul>\n<li>Handshake: full (client\/server), abbreviated (PSK), mutual (mTLS).<\/li>\n<li>ALPN (RFC 7301) \u2014 application layer protocol negotiation (HTTP\/2, HTTP\/1.1).<\/li>\n<li>SNI (RFC 6066) \u2014 name indication <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/dts-los-angeles\/\" title=\"server\" data-wpil-keyword-link=\"linked\">server<\/a> for multi-tenant deployments.<\/li>\n<li>KeyUpdate (RFC 8446 \u00a74.6.3) \u2014 updating traffic encryption keys.<\/li>\n<li>Cipher suites: TLS_KUZNYECHIK_MGM_STREEBOG_256_L\/S.<\/li>\n<li>ECDHE: CryptoPro-A (256-bit), CryptoPro-B (512-bit)<\/li>\n<li>Per-record TLSTREE re-keying \u2014 changing the encryption key for each TLS record.<\/li>\n<li>Fragmentation and assembly of handshakes and records (RFC 8446 \u00a75.1).<\/li>\n<li>Session resumption: PSK via NewSessionTicket (PskStore in-memory, single-use).<\/li>\n<li>OCSP stapling: <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/\"   title=\"server\" data-wpil-keyword-link=\"linked\">server<\/a> attaches the OCSP response to the certificate.<\/li>\n<li>Post-handshake messages: NewSessionTicket (saved for PSK).<\/li>\n<\/ul>\n<ol start=\"2\">\n<li><em>Cryptography:<\/em><\/li>\n<\/ol>\n<ul>\n<li>Key schedule: HKDF-Streebog (RFC 5869) according to TLS 1.3 scheme (RFC 8446 \u00a77.1).<\/li>\n<li>Record protection: MGM-AEAD (Kuznyechik) with nonce as per RFC 8446 \u00a75.3.<\/li>\n<li>Ephemeral keys are wiped after use.<\/li>\n<\/ul>\n<ol start=\"3\">\n<li><em>Certificates:<\/em><\/li>\n<\/ol>\n<ul>\n<li>Parsing X.509v3 (GOST R 34.10-2012) \u2014 built-in DER parser.<\/li>\n<li>Chain validation: signatures, DN (issuer \u2192 subject), Basic Constraints, Key Usage, Extended Key Usage (serverAuth\/clientAuth), pathLen.<\/li>\n<li>Hostname verification: dNSName + iPAddress (RFC 6125).<\/li>\n<li>Verifying OCSP responses (RFC 6960).<\/li>\n<\/ul>\n<p>4.<em>Transport:<\/em><\/p>\n<ul>\n<li>TlsTransport \u2014 interface.<\/li>\n<li>InMemoryTlsTransport \u2014 for tests and single-process scenarios (in-memory queue).<\/li>\n<li>SocketTlsTransport \u2014 blocking I\/O via java.net.Socket.<\/li>\n<li>ChannelTlsTransport \u2014 NIO SocketChannel-based transport (blocking mode, interruptible).<\/li>\n<\/ul>\n<ol start=\"5\">\n<li><em>Step-by-step handshake:<\/em><\/li>\n<\/ol>\n<ul>\n<li>TlsHandshakeEngine \u2014 state machine for handshake (decoupled from I\/O). TlsSession is used as an orchestrator; suitable for integration with JSSE (SSLEngine).<\/li>\n<\/ul>\n<ol start=\"6\">\n<li><em>ByteBuffer API:<\/em><\/li>\n<\/ol>\n<ul>\n<li>TlsRecord.protect\/unprotect \u2014 ByteBuffer overloads for zero-copy integration with NIO. Key loading:<\/li>\n<li>Pkcs12Loader \u2014 reading PFX (PKCS#12) with PBKDF2-HMAC-SHA256 + AES-256-CBC.<\/li>\n<\/ul>\n<ol start=\"7\">\n<li><em>Session termination:<\/em><\/li>\n<\/ol>\n<ul>\n<li>close_notify \u2014 correct closure according to the protocol.<\/li>\n<li>Wiping key material upon closure or error.<\/li>\n<li>Alert handling: fatal \u2014 immediate closure + wiping.<\/li>\n<\/ul>\n<ol start=\"8\">\n<li><em>Implementation security:<\/em><\/li>\n<\/ol>\n<ul>\n<li>Constant-time comparison for verify_data and PSK binders (protection against timing attacks)<\/li>\n<li>Key material zeroing: destroy() on all objects with keys (TlsKeySchedule, TlsTrafficKeys, TlsRecord, HandshakeContext), during close, fatal alert, exception in handshake<\/li>\n<li>DoS protection: limits on certificate chain length (10), post-handshake messages, record size.<\/li>\n<li>MGM nonce: MSB of the first byte is cleared for ICN (RFC 9058 \u00a73, RFC 9367 \u00a73.3).<\/li>\n<li>ECDHE private key and handshake transcript are destroyed after completion of the handshake.<\/li>\n<li>HMAC key material is zeroed after use (HkdfStreebog, KdfGostR3411_2012_256).<\/li>\n<\/ul>\n<ol start=\"9\">\n<li><em>Limitations:<\/em><\/li>\n<\/ol>\n<ul>\n<li>Only resumption PSK (0-RTT and external PSK are not supported).<\/li>\n<li>Only psk_dhe_ke (pure PSK without ECDHE is not supported).<\/li>\n<li>HelloRetryRequest (RFC 8446 \u00a74.1.4) is not supported \u2014 only one named group is used (GC256A by default).<\/li>\n<li>Only GOST (non-GOST cipher suites are not supported).<\/li>\n<\/ul>\n<ol start=\"10\">\n<li><em>Testing:<\/em><\/li>\n<\/ol>\n<ul>\n<li>The library contains Known Answer Tests from RFC 9367 Appendix A.1 (L and S variants) \u2014 complete key schedule, TLSTREE, AEAD, ECDHE. It passes a full range of KAT tests.<\/li>\n<li>4 integration tests (self-interop) via real TCP sockets.<\/li>\n<li>Fuzz testing for parsers: TlsMessageParser (8 methods), TlsDerParser (3 methods), TlsOcspVerifier (1 method), to ensure security and reduce the attack vector on parsers.<\/li>\n<\/ul>\n<ol start=\"11\">\n<li><em>Architectural solutions:<\/em><\/li>\n<\/ol>\n<ul>\n<li>TlsHandshakeEngine \u2014 a state machine decoupled from I\/O (for future JSSE module).<\/li>\n<li>ByteBuffer overloads TlsRecord.protect\/unprotect for NIO\/JSSE.<\/li>\n<li>TLSTREE cache (TlsTreeCache) \u2014 recalculation only of changed levels (RFC 9367).<\/li>\n<li>InMemoryTlsTransport.Pair \u2014 a bidirectional pair for testing and single-process interaction.<\/li>\n<\/ul>\n<p>The library is distributed under a free license.<\/p>\n<p>Source: <a rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/java\/18287174\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041c\u043e\u0434\u0443\u043b\u044c crypto-gost-tls13 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e TLS 1.3 (RFC 8446 + RFC 9367) \u0441 \u0413\u041e\u0421\u0422-\u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0435\u0439. \u0414\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438 \u0433\u043e\u0442\u043e\u0432 \u0434\u043b\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u0439 Java. \u0412\u0441\u0435 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u2014 \u0431\u0435\u0437 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u042d\u0442\u043e \u0432 \u0441\u0432\u043e\u0435\u043c \u0440\u043e\u0434\u0435 \u043e\u0434\u043d\u0430 \u0438\u0437 \u043f\u0435\u0440\u0432\u044b\u0445 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0445 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 TLS 1.3 \u0441 \u0413\u041e\u0421\u0422 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-170634","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041c\u043e\u0434\u0443\u043b\u044c crypto-gost-tls13 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e TLS 1.3 (RFC 8446 + RFC 9367) \u0441 \u0413\u041e\u0421\u0422-\u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0435\u0439.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Erik Peterson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/pervyj-vypusk-realizaczii-protokola-tls-1-3-na-java-s-algoritmami-gost-v-sootvetstvii-s-rfc-9367\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\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\udd47\u041f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 TLS 1.3 \u043d\u0430 Java \u0441 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430\u043c\u0438 \u0413\u041e\u0421\u0422 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 RFC 9367 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041c\u043e\u0434\u0443\u043b\u044c crypto-gost-tls13 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e TLS 1.3 (RFC 8446 + RFC 9367) \u0441 \u0413\u041e\u0421\u0422-\u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0435\u0439.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/pervyj-vypusk-realizaczii-protokola-tls-1-3-na-java-s-algoritmami-gost-v-sootvetstvii-s-rfc-9367\" \/>\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=\"2026-05-11T22:24:49+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-05-11T22:24:49+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\udd47The first release of the TLS 1.3 protocol implementation in Java with GOST algorithms according to RFC 9367 | ProHoster","description":"The crypto-gost-tls13 module contains an implementation of TLS 1.3 (RFC 8446 + RFC 9367) with GOST cryptography.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/pervyj-vypusk-realizaczii-protokola-tls-1-3-na-java-s-algoritmami-gost-v-sootvetstvii-s-rfc-9367","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","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\udd47\u041f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 TLS 1.3 \u043d\u0430 Java \u0441 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430\u043c\u0438 \u0413\u041e\u0421\u0422 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 RFC 9367 | ProHoster","og:description":"\u041c\u043e\u0434\u0443\u043b\u044c crypto-gost-tls13 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e TLS 1.3 (RFC 8446 + RFC 9367) \u0441 \u0413\u041e\u0421\u0422-\u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0435\u0439.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/pervyj-vypusk-realizaczii-protokola-tls-1-3-na-java-s-algoritmami-gost-v-sootvetstvii-s-rfc-9367","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":"2026-05-11T22:24:49+00:00","article:modified_time":"2026-05-11T22:24:49+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/170634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=170634"}],"version-history":[{"count":2,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/170634\/revisions"}],"predecessor-version":[{"id":173162,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/170634\/revisions\/173162"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=170634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=170634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=170634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}