Commit Graph

1139 Commits (master)

Author SHA1 Message Date
Chris Conlon a7c1830b0e JNI: set clientSNIRequested and ctx to null in freeSSL() to reduce object size in GC finalizer 2024-04-19 14:18:51 -06:00
Chris Conlon 10e991c52d JSSE: remove finalizer() from WolfSSLInternalVerifyCb, not needed and slows down garbage collection 2024-04-19 14:18:51 -06:00
Chris Conlon c5304ebb19 JSSE: close WolfSSLInput/OutputStream when SSLSocket.close() is called, allows stream objects to be garbage collected more easily 2024-04-19 14:18:51 -06:00
JacobBarthelmeh e0d718e9b3
Merge pull request #188 from cconlon/getPeerCertificate
Free WOLFSSL_X509 from wolfSSL_get_peer_certificate() with wolfSSL >= 5.3.0
2024-04-17 17:01:11 -06:00
Chris Conlon d33185cdaf JNI/JSSE: correctly free WOLFSSL_X509 from wolfSSL_get_peer_certificate() for wolfSSL >= 5.3.0 2024-04-17 15:59:50 -06:00
lealem47 afd613b390
Merge pull request #186 from cconlon/release113
Prep for 1.13 Release
2024-04-09 15:34:16 -06:00
Chris Conlon 594816205f JSSE: refactor X509Certificate.getPublicKey() to use JCE classes to generate PublicKey, fixes compatibility with wolfJCE underneath 2024-04-09 14:25:28 -06:00
Chris Conlon 45bc8998a7 Bump version number to 1.13 2024-04-09 14:25:28 -06:00
Chris Conlon d0edc8a14f Update ChangeLog for 1.13 release, move to separate file 2024-04-09 14:25:24 -06:00
lealem47 da8b0260a4
Merge pull request #185 from cconlon/androidUpdate
Update Android Studio Example Project, update JUnit tests
2024-04-09 10:54:00 -06:00
Chris Conlon b4e479bb0c JNI/JSSE: update JUnit tests for Android compatibility 2024-04-09 10:38:04 -06:00
Chris Conlon 988a29e0f3 Remove text meta data from ca-cert.pem, ca-ecc-cert.pem for Android compatibility 2024-04-09 10:38:04 -06:00
Chris Conlon bde2703fdd Android: update example Android Studio project file, update CMakeLists.txt with FIPS Ready and spmath support 2024-04-09 10:38:01 -06:00
lealem47 60887c63ba
Merge pull request #184 from cconlon/winFixes
Windows build fixes, update example certs, fix ALPN test
2024-04-08 09:45:08 -06:00
Chris Conlon f999d7d34f Update example certs and JKS files to match latest wolfSSL 2024-04-05 16:20:57 -06:00
Chris Conlon c0cdeeea5a JSSE: fix Javadoc warnings from Java 17 2024-04-05 16:20:15 -06:00
Chris Conlon 6229224d5d Fix Windows build warnings, update WindowsConfig.bat, ALPN bytes test in WolfSSLSession 2024-04-05 16:20:03 -06:00
lealem47 56c4fe0573
Merge pull request #182 from cconlon/inferFixes
Fixes from Infer scan over JNI/JSSE classes
2024-04-05 11:27:04 -06:00
Chris Conlon aa52ea4f4f Infer fixes for WolfSSLSocket 2024-04-05 10:57:26 -06:00
Chris Conlon 749ee6eb67 Infer fixes for WolfSSLImplementSSLSession 2024-04-05 10:57:26 -06:00
Chris Conlon b173f29297 Infer fixes for WolfSSLEngineHelper 2024-04-05 10:57:26 -06:00
Chris Conlon eaa6690a3e Infer fixes for WolfSSLEngine, rename EngineHelper variable to engineHelper 2024-04-05 10:57:26 -06:00
Chris Conlon 5bdebad14a Infer fixes for com.wolfssl.WolfSSLX509Name 2024-04-05 10:57:26 -06:00
Chris Conlon afc0f68fa6 Infer fixes for com.wolfssl.WolfSSLSession 2024-04-05 10:57:24 -06:00
Chris Conlon 33e36b49be Infer fixes for com.wolfssl.WolfSSLContext 2024-04-05 10:47:21 -06:00
Chris Conlon d8a422e272 Infer fixes for WolfSSLCertificate 2024-04-05 10:47:21 -06:00
Chris Conlon 5d5733f19e Update Infer test script with current file list 2024-04-05 10:47:21 -06:00
lealem47 6ddc217c1b
Merge pull request #183 from cconlon/sslSocketImprovements
JNI/JSSE: Avoid extraneous Java array allocation in WolfSSLInputStream/OutputStream if offset used
2024-04-05 10:36:12 -06:00
Chris Conlon 6521c21863 JNI/JSSE: remove extraneous array copy in WolfSSLInputStream/OutputStream when array offset is provided 2024-04-04 16:54:48 -06:00
Chris Conlon 1d91773392 JNI: call ReleaseByteArrayElements() in read/write if native wolfSSL_get_app_data() fails 2024-04-03 13:53:31 -06:00
Daniel Pouzzner 4d556fb77c
Merge pull request #180 from cconlon/SSLEngineGCFix
Release native verify callback with SSLEngine is closed
2024-03-30 03:03:32 -04:00
Daniel Pouzzner 9c63b7fc28
Merge pull request #179 from cconlon/skpopfree
JNI/JSSE: call wolfSSL_sk_X509_pop_free() in WolfSSLX509StoreCtx.getDerCerts()
2024-03-30 02:59:06 -04:00
lealem47 8826635d61
Merge pull request #181 from cconlon/tls13secretcb
JNI: wrap wolfSSL_set_tls13_secret_cb() in WolfSSLSession.setTls13SecretCb()
2024-03-28 10:29:40 -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 66ac903297 JSSE: add -profile option to example ClientJSSE/ServerJSSE/MultiThreadedSSLClient to allow easier analysis with VisualVM 2024-03-26 14:53:12 -06:00
Chris Conlon 115e93aaa7 JSSE: unset native verify callback when SSLEngine is finished, allows garbage collection 2024-03-26 14:53:08 -06:00
Chris Conlon a7031b395f JNI/JSSE: delete global verify callback before resetting in WolfSSLSession.setVerify() 2024-03-26 14:40:42 -06:00
Chris Conlon 687d7ca1cb JNI/JSSE: call wolfSSL_sk_X509_pop_free() instead of wolfSSL_sk_X509_free() in WolfSSLX509StoreCtx.getDerCerts() 2024-03-18 14:44:02 -06:00
JacobBarthelmeh ecd67a4596
Merge pull request #172 from cconlon/needWantClientAuth
Fixes for SSLEngine.setWant/NeedClientAuth() and choosing key alias chooseEngineClient/ServerAlias()
2024-02-15 20:54:55 +07:00
Chris Conlon 1d0b807d9c JSSE: fix handling of setWantClientAuth()/setNeedClientAuth in SSLEngine and choosing of key alias with chooseEngineClient/ServerAlias() 2024-02-14 13:39:44 -07:00
Chris Conlon 1d5cbd66c7 JNI: wrap native wolfSSL_use_certificate_chain_buffer_format() in WolfSSLSession 2024-02-14 13:39:44 -07:00
JacobBarthelmeh 0e4953f1a6
Merge pull request #176 from cconlon/github-actions
Add initial GitHub actions (Linux, Mac)
2024-02-15 01:30:01 +07:00
Chris Conlon dcfd210703 add initial GitHub actions (Linux, Mac) 2024-02-14 10:58:17 -07:00
András Fekete 5155493914
Merge pull request #177 from cconlon/testactions
Simple Test Action (Not for Merge)
2024-02-14 12:56:12 -05:00
Chris Conlon fd70f09fce add simple test action 2024-02-14 10:41:33 -07:00
JacobBarthelmeh 424d4c035d
Merge pull request #175 from cconlon/getSessionCheckForTicket
Check TLS 1.3 session for ticket before saving to Java cache
2024-02-14 03:59:52 +07:00
Chris Conlon 21e35057c1 JNI/JSSE: check for ticket with TLS 1.3 before saving WOLFSSL_SESSION to cache 2024-02-12 17:09:30 -07:00
Chris Conlon bde68360bc
Merge pull request #174 from philljj/fix_sunjsse_issues
Fix SunJSSE test issues
2024-02-12 13:44:12 -07:00
jordan dbb0ee80e5 Don't skip renegotiation for invalidated sessions. 2024-02-09 15:38:07 -06:00
jordan d38a989f23 Don't handshake on unconnected socket. 2024-02-09 14:35:19 -06:00