<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[wolfSSL - Embedded SSL Library — wolfSSL JNI/JSSE 1.19.0 Now Available]]></title>
	<link rel="self" href="https://www.wolfssl.com/forums/feed-atom-topic2590.xml" />
	<updated>2026-11-02T19:21:52Z</updated>
	<generator>PunBB</generator>
	<id>https://www.wolfssl.com/forums/topic2590-wolfssl-jnijsse-1190-now-available.html</id>
		<entry>
			<title type="html"><![CDATA[wolfSSL JNI/JSSE 1.19.0 Now Available]]></title>
			<link rel="alternate" href="https://www.wolfssl.com/forums/post8970.html#p8970" />
			<content type="html"><![CDATA[<p><a href="https://www.wolfssl.com/products/wolfssl-jni-jsse/">wolfSSL JNI/JSSE 1.19.0</a> is now available for <a href="https://www.wolfssl.com/download/">download</a>! This release fixes SSLSocket read and handshake timeouts on Windows, resolves SSLEngine issues on TLS 1.3 connections, and adds new JNI APIs for canceling a handshake and managing native session timeouts. Along with these changes, 1.19.0 contains fixes for session caching and resumption, connection shutdown, X.509 certificate handling, and input validation.</p><p><span class="bbu"><strong>New JNI Functionality</strong></span><br /></p><ul><li><p>Cancel a handshake before it completes: WolfSSLSession.sendUserCanceled()</p></li></ul><ul><li><p>Manage native session timeouts: WolfSSLSession.sessionSetTimeout() and related methods</p></li></ul><ul><li><p>Get negotiated DH group size in bits: WolfSSLSession.getDhKeySize()</p></li></ul><ul><li><p>WolfSSL.wolfssl_chacha and wolfssl_camellia bulk cipher constants for getBulkCipher()</p></li></ul><p><span class="bbu"><strong>SSLSocket and SSLEngine Fixes</strong></span><br /></p><ul><li><p><strong>Windows</strong> – SSLSocket.setSoTimeout() read and handshake timeouts now work on Windows, SSLSocket.close() cleanly ends blocked reads on Windows/select() builds, and WolfSSL.getErrno() returns WSAGetLastError().</p></li></ul><ul><li><p><strong>TLS 1.3 SSLEngine</strong> – Fixed an IllegalArgumentException when retrying unwrap() after BUFFER_OVERFLOW, and truncated JDK HttpClient responses when TLS 1.3 servers send no session ticket.</p></li></ul><ul><li><p><strong>Apache HttpClient 5</strong> – Fixed handshake failures caused by lowercase “https” endpoint identification.</p></li></ul><ul><li><p><strong>Connection shutdown</strong> – A close notify alert is now sent when closing mid-handshake, shutdownSSL() no longer loops on a WANT_READ/WANT_WRITE left from an unfinished handshake, SSLSocket.read() returns -1 when the peer closes without a close notify, and SSLSocket.close() treats SO_LINGER as seconds and does not wait when it is 0.</p></li></ul><ul><li><p><strong>Error reporting</strong> – getError() now returns the original native error instead of SSL_ERROR_SYSCALL.</p></li></ul><p><span class="bbu"><strong>Bug Fixes &amp; Reliability Improvements</strong></span><br /></p><ul><li><p><strong>FIPS</strong> – FIPS CASTs now run once per process, fixing failures when concurrent threads create WolfSSL objects.</p></li></ul><ul><li><p><strong>Sessions</strong> – Sessions invalidated with SSLSession.invalidate() are no longer resumed or cached, and session IDs and SNI names are kept after close and in sessions from the cache.</p></li></ul><ul><li><p><strong>Java properties</strong> – jdk.tls.disabledAlgorithms DH key size limits are enforced on the negotiated DH group, jdk.tls.*.SignatureSchemes parsing handles a comma followed by a space.</p></li></ul><ul><li><p><strong>Trust and hostname checks</strong> – Stricter LDAPS wildcard hostname checks with a basic X509TrustManager, failure on a corrupt system trust store, and subject alternative names containing NUL bytes omitted instead of returned truncated.</p></li></ul><ul><li><p><strong>X.509 and CRL</strong> – Corrected Extended Key Usage, Key Usage, getExtensionValue(), and subject/issuer DN output in WolfSSLX509, getPublicKey() support for EdDSA and RSASSA-PSS keys, locale-independent date parsing, and revocation dates and signing errors in certificate, CSR, and CRL generation.</p></li></ul><ul><li><p><strong>Resource handling and validation</strong> – Fixed native resource leaks when SSLSocket.close() overlaps I/O, SSLServerSocket.accept() leaking the accepted socket on wrap failure, and SSLEngine send buffer growth on large wrap() calls. Invalid read()/write() offsets, negative session timeouts, and empty ALPN protocol names are now rejected.</p></li></ul><ul><li><p><strong>PSK, ALPN, and DTLS</strong> – Fixed PSK handshakes with no identity hint or a maximum-length client identity, ALPN names with commas or non-ASCII bytes in select callbacks, and dtlsSetPeer()/dtlsGetPeer() with IPv6 addresses.</p></li></ul><p><span class="bbu"><strong>Examples &amp; Testing</strong></span><br /></p><ul><li><p>RMI, threaded socket, and dual-provider FIPS example servers now use client certificates, and the RMI TLS client enables HTTPS hostname verification.</p></li></ul><ul><li><p>Android example native libraries are linked with 16 KB page alignment for Android 15+.</p></li></ul><ul><li><p>New socket read and handshake timeout tests, close interrupt tests on Windows, and test certificates covering EKU, Key Usage, EdDSA, and RSA-PSS public keys.</p></li></ul><ul><li><p>Makefile now auto-detects JAVA_HOME and supports JNI include paths with spaces.</p></li></ul><p>wolfSSL JNI/JSSE 1.19.0 can be downloaded from the <a href="https://www.wolfssl.com/download/">wolfSSL download page</a>, and an updated version of the wolfSSL JNI/JSSE User Manual can be found <a href="https://www.wolfssl.com/documentation/manuals/wolfssljni/">here</a>. Full details on this release can be seen in the <a href="https://github.com/wolfSSL/wolfssljni/blob/master/ChangeLog.md">ChangeLog.md</a> on GitHub. For any questions or to get help using wolfSSL products in your projects, contact us at <a href="mailto:support@wolfssl.com">support@wolfssl.com</a>.</p><p>If you have questions about any of the above, please contact us at <a href="mailto:facts@wolfssl.com">facts@wolfssl.com</a> or call us at +1 425 245 8247.</p><p><strong><a href="https://www.wolfssl.com/download/">Download</a> wolfSSL Now</strong></p>]]></content>
			<author>
				<name><![CDATA[shizuka]]></name>
				<uri>https://www.wolfssl.com/forums/user5631.html</uri>
			</author>
			<updated>2026-11-02T19:21:52Z</updated>
			<id>https://www.wolfssl.com/forums/post8970.html#p8970</id>
		</entry>
</feed>
