Commit Graph

91 Commits (2c7f12627c0cae0e71c36c9d53163737cf95a21f)

Author SHA1 Message Date
Chris Conlon 2c7f12627c JNI: get ASN algo enum values dynamically, more flexible if native enum values change 2025-05-08 17:02:34 -06:00
Chris Conlon e60387d4f6 JNI/JSSE: switch to Java Logging, use Lambda expressions to defer String creation 2025-04-30 15:41:18 -06:00
Chris Conlon d95297f12c JSSE: refactor WolfSSLEngine to use static output array instead of allocating for each send 2025-04-17 16:34:00 -06:00
Chris Conlon e82f8373d9 JNI/JSSE: wrap wolfSSL_send_hrr_cookie() in WolfSSLSession.sendHrrCookie(), enable HelloRetryRequest in SSLEngine DTLS 2025-02-17 10:53:19 -07:00
Chris Conlon b00f14ebbb JNI/JSSE: wrap wolfSSL_DisableExtendedMasterSecret(), add support for System property jdk.tls.useExtendedMasterSecret 2025-02-17 10:53:19 -07:00
Chris Conlon 372ef97746 JSSE: add initial SSLEngine support for DTLSv1.3 2025-02-17 10:53:19 -07:00
Chris Conlon 36a1057366 JNI: add DTLS 1.3 to JNI-only layer 2025-02-17 10:53:17 -07:00
Chris Conlon 36bfbd1757 JNI: wrap Atomic Record VerifyDecrypt callback 2025-01-30 16:51:33 -07:00
Chris Conlon eb4ee89bd0 JNI/JSSE: update copyright to 2025 2025-01-06 15:48:38 -07:00
Chris Conlon 2fa04177fc JNI: add wolfSSL JNI Java level debugging, add wolfssljni.debug=true System property support 2024-11-21 15:33:14 -07:00
Chris Conlon e01db4b4d9 JSSE: add LDAPS endpoint identification to X509ExtendedTrustManager 2024-10-21 11:31:51 -06:00
Chris Conlon 837c993911 JNI/JSSE: fix warnings from gradle Java 11 build with -Werror 2024-09-20 15:23:32 -06:00
Chris Conlon 037b639508 JSSE: fix Javadoc warnings in WolfSSL.java 2024-09-12 15:45:14 -06:00
JacobBarthelmeh a9c28d7377
Merge pull request #217 from cconlon/SSLSocketEndOfStreamRead
JSSE: return end of stream in WolfSSLInputStream.read() on SOCKET_ERROR_E
2024-09-12 10:11:41 -06:00
Sage Stefonic bde37eec21 add rsa_pss support in wolfJSSE 2024-08-08 15:18:08 -07:00
Chris Conlon 1b3c748764 JSSE: return -1 for end of stream in WolfSSLInputStream.read() when SOCKET_ERROR_E encountered 2024-08-07 12:01:13 -06:00
Chris Conlon 1906b9365f JNI/JSSE: adjust for methods not available in Android API 24 2024-07-29 23:10:36 -06:00
Chris Conlon 6e08b929dc JNI/JSSE: use poll() instead of select() as default descriptor event function 2024-06-27 16:34:39 -06:00
Chris Conlon 5b31cf2306 SSLEngine: correctly mark inbound and outbound closed when receiving alerts 2024-05-31 11:40:53 -06:00
Chris Conlon 3dee881dda JNI: wrap wolfSSL_set_tls13_secret_cb() in WolfSSLSession.setTls13SecretCb(), along with example in Client.java 2024-03-28 10:05:10 -06:00
Chris Conlon 8087699d79 JNI: add example of session resumption to example Client.java 2024-01-24 15:05:06 -07:00
Chris Conlon 91acf5ff19 JNI: wrap native SSL_CTX_set1_sigalgs_list() in WolfSSLContext 2024-01-24 10:03:47 -07:00
Chris Conlon 85cfeeaf90 update copyright to 2024 2024-01-16 15:35:09 -07:00
Chris Conlon 47d36cb0cc JSSE: enable native wolfSSL debug logs at SSLContext and WolfSSLProvider levels, register Java logging callback to push native logs over System.out.println and include thread ID 2024-01-15 16:45:14 -07:00
Chris Conlon 682f1ea5fc JSSE: add support for SSLSocket/SSLEngine get/setHandshakeApplicationProtocolSelector() for ALPN select support 2024-01-03 11:19:47 -07:00
Chris Conlon b09556d961 JNI: wrap wolfTLSv1_3_client_method() and wolfTLSv1_3_server_method() 2023-12-21 14:07:33 -07:00
Chris Conlon f95e446b87 JNI: wrap wolfSSL_CTX_UseSupportedCurve() in com.wolfssl.WolfSSLContext 2023-11-10 10:21:00 -07:00
Chris Conlon 40e94f3f73 JNI/JSSE: throw SocketException with native errno if native socket select() fails 2023-11-03 10:36:12 -06:00
Chris Conlon 0b226188b6 JNI/JSSE: wrap JNI method to get WOLFSSL_TRUST_PEER_CERT definition, allow WolfSSLTrustX509.getAcceptedIssuers() to return all certs in KeyStore if WOLFSSL_TRUST_PEER_CERT has been defined in native wolfSSL 2023-10-16 16:28:07 -06:00
Chris Conlon 64a79c50b1 JNI/JSSE: add support for wolfSSL CryptoCb in WolfSSLProvider and WolfSSLContext 2023-09-18 14:49:52 -06:00
Chris Conlon 617847b154 JNI: add Certificate Signing Request (CSR) support with WolfSSLCertRequest class, and example in X509CertRequest.java 2023-09-01 16:44:35 -06:00
Chris Conlon d3554835f0 JNI: clean up Javadoc warnings on Java 17 2023-09-01 15:51:06 -06:00
Chris Conlon e945bf801d JNI: add X509v3 certificate generation support to WolfSSLCertificate class, supporting key usage, extended key usage, subject alt name, and basic constraints extensions. Self signed and CA-signed support, along with example app. Update example certs to match current wolfssl. 2023-08-22 15:25:06 -06:00
Chris Conlon 02c1cb8f4d JSSE: add wolfjsse.enabledSupportedCurves Security property support 2023-08-03 14:38:12 -06:00
Chris Conlon a8db5c4c5e initial fixes from SonarQube 2023-05-19 16:45:33 -06:00
Chris Conlon 2eaa54d892 add script to run Facebook Infer, fix reported issues 2023-05-12 15:18:47 -06:00
Chris Conlon 2b647ed3c8 add Windows Visual Studio solution file 2023-05-09 15:06:52 -06:00
Chris Conlon 69596e8d7a fix build errors and warnings for Visual Studio on Windows, declare variables at top of scope 2023-05-09 15:06:37 -06:00
Chris Conlon 21ea49b6bd update copyright dates to 2023 2023-03-30 15:28:19 -06:00
Chris Conlon ec5f91d8be native JNI fixes for NO_FILESYSTEM 2022-06-15 12:25:21 -06:00
Chris Conlon 751ca6ebee fix missing Javadoc warnings in ALPN additions 2022-05-26 12:05:08 -06:00
Chris Conlon bb97579595 add support for SSLEngine.getApplicationProtocol 2022-05-26 11:36:51 -06:00
Chris Conlon c802d5cace correctly throw SocketTimeoutException from WolfSSLSession.connect() for JSSE WolfSSLSocket.startHandshake() to handle timeout 2022-03-15 16:32:51 -06:00
JacobBarthelmeh 8843cb0847
Merge pull request #97 from cconlon/removeIdea
Remove IDEA support
2022-02-15 07:02:04 -07:00
Chris Conlon 80603f3c05 remove IDEA support, matching wolfSSL deprecation 2022-02-10 10:29:07 -07:00
Chris Conlon 15b37d9189 remove RABBIT support, matching wolfSSL deprecation 2022-02-10 10:21:33 -07:00
Chris Conlon 1d9f21df07 remove HC-128 stream cipher support, matching wolfSSL deprecation 2022-01-20 09:47:11 -07:00
Chris Conlon 8c41245dc4 update copyright dates to 2022 2022-01-18 10:19:03 -07:00
Chris Conlon f0ce1195d7 update missing Javadocs, fixes build warnings with newer JDKs 2022-01-17 14:27:54 -07:00
Chris Conlon 7010f9ddad synchronize class free() calls that access native cleanup functions 2021-11-19 15:00:35 -07:00