Commit Graph

129 Commits (master)

Author SHA1 Message Date
Chris Conlon 4a42a122f5 JSSE examples: add DTLS 1.3 example client and server 2025-05-09 16:59:23 -06: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 4923528863 JNI: refactor com.wolfssl.wolfcrypt.RSA/ECC/EccKey classes to avoid wolfJCE namespace conflicts, removing com.wolfssl.wolfcrypt directory 2025-01-30 16:51:31 -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 09088cd618 JSSE: add threaded RMI example client and server apps 2024-10-24 17:39:52 -06:00
Sage Stefonic bde37eec21 add rsa_pss support in wolfJSSE 2024-08-08 15:18:08 -07:00
David Garske 4e70b6827d
Merge pull request #212 from cconlon/threadedJNIClient
JNI: add example threaded client/server applications (JNI only)
2024-08-01 11:22:05 -07:00
Chris Conlon 1abeaf1584 JSSE: add Host into HTTP GET in example ClientJSSE, used with -g 2024-07-19 13:33:59 -06:00
Chris Conlon bd56bf8544 JNI: add example threaded client/server applications, client does session resumption with get/setSession() 2024-07-19 13:07:46 -06:00
Chris Conlon 855fdeff2a JSSE: add script to convert example .jks files to wolfJCE WKS KeyStore type (.wks) 2024-07-15 16:17:26 -06:00
Chris Conlon 49a781bbd0 JSSE: add -ksformat option to example ClientJSSE and ServerJSSE to specify KeyStore type 2024-07-15 16:16:35 -06:00
Chris Conlon 1e65f4c215 JSSE: add -sysca option to example clientJSSE, load system CA certs ignoring any passed in 2024-07-15 16:16:35 -06:00
Chris Conlon 9b8a0c425e JNI: correct example MyTls13SecretCallback CLIENT_TRAFFIC_SECRET and SERVER_TRAFFIC_SECRET 2024-04-25 16:59:45 -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
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 f999d7d34f Update example certs and JKS files to match latest wolfSSL 2024-04-05 16:20:57 -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
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
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 5146e74c4d JNI: add TLS 1.3 version to example Client.java and Server.java 2024-01-24 15:17:38 -07:00
Chris Conlon 8087699d79 JNI: add example of session resumption to example Client.java 2024-01-24 15:05:06 -07:00
Chris Conlon 85cfeeaf90 update copyright to 2024 2024-01-16 15:35:09 -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 6a1468f6ad JSSE: fix ClientJSSE example resumption when sending HTTP GET 2023-11-03 13:50:14 -06:00
Chris Conlon 2446ced76e JSSE: fix example client option to disable peer verification, add -g option to send HTTP GET 2023-10-20 17:04:02 -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 61cd4523d1 Windows: add .bat scripts for running X509 and ProviderTest example 2023-08-22 15:25:09 -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 f3bfc776f3 JSSE: add support for jdk.tls.disabledAlgorithms minimum RSA/EC/DH key size 2023-07-07 08:39:30 -06:00
Sage Stefonic 7803cf052d Update example instructions in README 2023-05-25 14:09:25 -07:00
Sage Stefonic 0c55bc0290 Change Exception to IOException 2023-05-25 13:41:51 -07:00
Sage Stefonic b140f09a11 Added try-catch to fix compilation errors 2023-05-25 09:25:58 -07:00
Chris Conlon a8db5c4c5e initial fixes from SonarQube 2023-05-19 16:45:33 -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 83e228013a add script to update example certs, update CRLs from current wolfSSL 2022-11-29 10:30:41 -07:00
Chris Conlon be13b9bc9d add non-standard X509TrustManager.checkServerTrusted(X509Certificate[], String, String) for use on Android 2022-11-28 15:38:21 -07:00
Chris Conlon f2aabae616 update convert-to-bks.sh script for use on Android 2022-04-22 16:10:22 -06:00
Chris Conlon 4e6582f3a8 update files in examples/certs and WolfSSLCertificateTest cases 2022-04-22 16:09:56 -06:00
Chris Conlon b4bb2d9aba make example KeyStores more specific to certs/type contained, allows for more granular testing 2022-04-19 16:13:07 -06:00
Chris Conlon 7ca8b97c31 add more debugging in WolfSSLContext when loading CA certs, examples use wolfJSSE as KeyManagerFactory and TrustManagerFactory provider 2022-01-19 10:22:40 -07:00
Chris Conlon 739708b5b5 update example provider keystore files 2022-01-19 10:20:43 -07:00
Chris Conlon 6bab552517 switch ThreadedSSLSocketClientServer example to use rsa.jks for server, matches other examples 2022-01-19 10:20:43 -07:00
Chris Conlon 8c41245dc4 update copyright dates to 2022 2022-01-18 10:19:03 -07:00
Chris Conlon b5443802a6 whitespace: remove trailing spaces 2022-01-18 09:57:00 -07:00
JacobBarthelmeh 7eb9f2c2b3
Merge pull request #80 from cconlon/clientExampleResume
add option to do one session resumption to ClientJSSE example
2022-01-06 10:36:28 -07:00
Jacob Barthelmeh c403b55a49 update certificates 2021-12-22 09:54:12 -07:00