Commit Graph

116 Commits (752ebf6abd3751a6af2a84c009c7fcb0707fa62e)

Author SHA1 Message Date
Chris Conlon cf37bf963c F-9115: gate SSLv3 in getProtocolsMask on the correctly spelled WOLFSSL_ALLOW_SSLV3 macro 2026-08-14 12:06:00 -06:00
Chris Conlon e098668e38 F-7010: base the cipher-suite separator on accumulator content, not loop index 2026-08-14 12:06:00 -06:00
Chris Conlon bf13430279 JNI/JSSE: return full peer cert chain from getPeerCertificates() 2026-07-29 13:35:52 -06:00
Ruby Martin e2be31abbc
Merge pull request #388 from cconlon/fenrirJuly22
Fixes for JNI callback locking, buffer sizing, and JSSE example updates
2026-07-24 12:04:07 -05:00
Chris Conlon 1348f24361 F-5207: guard FIPS error callback jobject with a mutex 2026-07-23 10:22:36 -06:00
Chris Conlon e2cf890b58 F-5064: guard logging callback with a mutex and keep native cb registered 2026-07-23 10:22:36 -06:00
Chris Conlon 8d7dfbaa1e License: change license from GPLv2 to GPLv3 to match native wolfSSL 2026-07-22 13:41:50 -06:00
Chris Conlon 0b0356829b JNI/JSSE: handle NOT_COMPILED_IN from min key size setters for NO_DH builds 2026-07-21 10:24:15 -06:00
Chris Conlon 52fbdb6c91 JNI/JSSE: Add ML-KEM (FIPS 203) TLS 1.3 named group support and ML-DSA (FIPS 204) support and tests 2026-06-11 16:10:59 -06:00
Chris Conlon c2fcdf1b3c JNI/JSSE: fix global ref lifecycle for verify and missing-CRL callbacks 2026-05-13 17:50:05 -06:00
Jeremiah Mackey e72d2cfcc6 Honor arrayOffset() in ByteBuffer read/write 2026-04-28 17:21:45 +00:00
Chris Conlon 6a6793837e JNI: Zero PKCS8 key buffer before free in getPkcs8TraditionalOffset (F-2158) 2026-04-07 09:20:01 -06:00
Chris Conlon 633b2cca3c
Merge pull request #347 from JeremiahM37/fenrir-fixes-2
Fenrir fixes
2026-03-31 12:18:10 -06:00
Jeremiah Mackey 0158ea93b5 Allocate jbyteArray in x509_getDer 2026-03-31 14:40:02 +00:00
Jeremiah Mackey d103efcf31 Fix XMEMSET using wrong size arg 2026-03-23 16:48:54 +00:00
Chris Conlon 0b24fb9731 JNI: return NULL from getAvailableCipherSuitesIana when no ciphers available 2026-03-13 14:47:14 -06:00
Chris Conlon 0d7770651d JNI/JSSE: add wolfjsse.skipFIPSCAST Security property for skipping initial FIPS CAST run when used alongside wolfJCE 2026-03-12 14:33:25 -06:00
Ruby Martin bbb0153119
Merge pull request #339 from cconlon/sniBuffer
Add wrapper for wolfSSL_SNI_GetFromBuffer()
2026-02-27 13:32:16 -07:00
Ruby Martin 5da69b4336
Merge pull request #337 from cconlon/fipsCallbackGC
Deregister native FIPS error callback on library cleanup or reset
2026-02-27 13:24:26 -07:00
Chris Conlon 89579f6353 JNI: add wrapper for wolfSSL_SNI_GetFromBuffer() 2026-02-26 16:39:27 -07:00
Chris Conlon e90a33adff JNI/JSSE: deregister native FIPS callback in cleanup() and setFIPSCb(NULL), guard NativeFIPSErrorCallback against invalid object refs 2026-02-24 11:39:36 -07:00
Paul Adelsbach 34f3518ef6 Add CRL decode 2026-02-23 15:19:41 -08:00
Paul Adelsbach ed66804477 Build script updates 2026-02-19 14:06:08 -08:00
Paul Adelsbach 1efe944fa7 Add cert/CRL capabilities: skid, akid, dist point, netscape 2026-02-18 11:23:35 -08:00
Paul Adelsbach f53a19b1d7 Add WOLFSSL_PR9631_PATCH_APPLIED guard 2026-02-10 09:05:40 -08:00
Ruby Martin fdf5a17cf6 JNI: set options to filter cipher suites for TLS 1.3 protocol 2026-02-04 10:40:11 -07:00
Chris Conlon 214fab3a7e JNI: add X.509 Name Constraints extension support and new classes WolfSSLNameConstraints, WolfSSLGeneralName 2026-01-27 13:58:21 -07:00
Chris Conlon 464cfc39d1 Update copyright dates to 2026 2026-01-08 10:05:04 -07:00
Chris Conlon 518632e31a JNI: fix DTLSv1 array overflow in getProtocolsMask 2025-12-23 14:04:41 -07:00
Chris Conlon e67af2907f JNI: fix SIGABRT crash in getProtocolsMask on Android 2025-12-23 13:56:39 -07:00
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 8ebd050a5a JSSE: add ByteBuffer I/O callbacks for performance, plug them into WolfSSLEngine 2025-04-17 16:35:52 -06:00
Chris Conlon 3aa056c607 JSSE: new helper functions to throw exceptions (throwWolfSSLJNIException, throwWolfSSLException), avoids calling FindClass unnecessarily, improves performance 2025-04-17 16:34:00 -06:00
Chris Conlon 767a289113 JSSE: cache jmethodIDs used in native I/O callbacks globally, improves performance 2025-04-17 16:34:00 -06:00
Chris Conlon d245630133 JNI: skip throwing Java exceptions from NativeLoggingCallback 2025-02-17 15:40:18 -07: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 3963b022c1 JNI/JSSE: skip trying to reattach to JVM in NativeLoggingCallback(), may happen on wolfSSL_Cleanup() call from atexit() handler 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 501150e170 JNI/JSSE: call wc_RunAllCast_fips() for FIPS builds when available, add conditional defines for per-algo CAST functions 2025-01-06 15:14:39 -07:00
Sage Stefonic bde37eec21 add rsa_pss support in wolfJSSE 2024-08-08 15:18:08 -07: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 b09556d961 JNI: wrap wolfTLSv1_3_client_method() and wolfTLSv1_3_server_method() 2023-12-21 14:07:33 -07:00