Commit Graph

366 Commits (3db36b7383424866919dd9f9e6ff87b94858bb97)

Author SHA1 Message Date
Chris Conlon d84e57255b add ca-ecc-cert.pem to all.jks example keystore 2019-04-10 09:52:48 -07:00
Jacob Barthelmeh 80fd87d3db add session test java file 2019-04-05 17:16:19 -06:00
Jacob Barthelmeh f1f19dadb6 add SSLSession tests 2019-04-05 17:02:37 -06:00
Jacob Barthelmeh 610a61ac30 refactor testConnection and some fixes for android build 2019-04-05 10:29:47 -06:00
Jacob Barthelmeh ba68c0d0d6 remove import of nio 2019-04-04 15:44:22 -06:00
Jacob Barthelmeh dc9ebc3491 resolve some warnings 2019-04-04 15:33:48 -06:00
Jacob Barthelmeh 0922b3bed6 adjust path for test files with IDE 2019-04-03 16:24:11 -06:00
Jacob Barthelmeh 552b7aeea9 move wolfssljni tests to test package 2019-04-03 13:53:51 -06:00
Chris Conlon 2026046500 SSLSocket and SSLServerSocket fixes and tests 2019-04-03 11:09:41 -07:00
Chris Conlon f2d2ca8ab3 update example keystores, remove ca-cert from server.jks and add client-cert instead 2019-04-03 10:08:57 -07:00
Jacob Barthelmeh 44db34b02f test for mutal auth case 2019-04-02 17:03:05 -06:00
Jacob Barthelmeh 61a97a79b4 add default keystore lookup and trust manager tests 2019-04-02 15:21:10 -06:00
Chris Conlon b4dd125798 add SSLSocketFactory createSocket() with consumed InputStream 2019-04-02 14:12:07 -07:00
Chris Conlon c90616502c SSLSocketFactory tests, call saveSession from SSLSocket 2019-04-02 12:15:09 -07:00
Chris Conlon f0ae281271 minor SSLContext cleanup, fix Provider deprecation warning 2019-04-02 08:22:30 -07:00
Chris Conlon c83130e7f4 SSLSocket/ServerSocket fixes 2019-04-01 20:59:26 -06:00
Chris Conlon 597e7e1720 setUseClientMode() not allowed after handshake 2019-04-01 09:13:04 -07:00
Chris Conlon c22af9fd11 sanitize arguments in EngineHelper setCiphers(), setProtocols() 2019-03-29 14:23:23 -07:00
Chris Conlon 6a9a8faef7 SSLSocket client/server protocol tests 2019-03-29 13:45:20 -07:00
Chris Conlon 841c70b354 add protocol enabled detectio methods to JNI 2019-03-29 13:43:51 -07:00
Chris Conlon 7052899bf3 add TLS 1.3 support to provider 2019-03-28 16:19:49 -07:00
Jacob Barthelmeh 47f45a1783 add check for ECDSA suites with test 2019-03-28 17:11:24 -06:00
Chris Conlon c52a33d39b adjust exceptions in SSLSocket 2019-03-28 09:39:52 -07:00
Chris Conlon 4ed4eac0b4 call initHandshake() from SSLSocket startHandshake() 2019-03-27 16:08:52 -07:00
Chris Conlon 2bad729e33 throw SSLHandshakeException and call shutdown() in initHandshake if session creation not allowed 2019-03-27 16:08:29 -07:00
Chris Conlon 8b7e7126c4 use correct key type string for ECC when selecting private key alias 2019-03-27 13:56:15 -07:00
Jacob Barthelmeh f8995c9b23 update JKS script added and more keystores 2019-03-27 12:04:38 -06:00
Chris Conlon b033996821 auto populate enabled ciphersuites with supported ones 2019-03-27 10:42:45 -07:00
Chris Conlon 65916238ca add synchronization for SSLSocket, SSLServerSocket 2019-03-27 10:30:39 -07:00
Chris Conlon ef98dce3bc SSLSocket tests for getSSLParameters and get/setUseClientMode 2019-03-27 09:33:49 -07:00
Chris Conlon 31ad9cf3f3 SSLSocket tests for handshake listeners, enable session creation 2019-03-27 08:34:24 -07:00
Chris Conlon 0e59d7f2fc send closeNotify alert when session creation not allowed 2019-03-27 08:33:38 -07:00
Jacob Barthelmeh 3f8321ff86 use wolfJSSE trust and key managers in tests if provider set 2019-03-26 14:00:14 -06:00
Chris Conlon 0807825ab2 fix SSLSocket client/server test, get port first 2019-03-26 09:00:30 -07:00
Jacob Barthelmeh 81a1eccdd0 add base case of session resumption 2019-03-25 17:45:59 -06:00
Chris Conlon f15f0a0a18 additional SSLSocket tests 2019-03-25 16:00:23 -07:00
Jacob Barthelmeh b67088f690 add thread protection on wrap/unwrap 2019-03-25 16:06:41 -06:00
Jacob Barthelmeh 401d0be40b remove unused imports 2019-03-25 15:08:00 -06:00
Jacob Barthelmeh d323464202 add test factory for common class creations in testing 2019-03-25 14:59:36 -06:00
Jacob Barthelmeh 3d0fdb933c refining threaded test framework 2019-03-25 14:34:03 -06:00
Jacob Barthelmeh d6e4681ffe threaded SSLEngine test framework 2019-03-25 13:44:10 -06:00
Chris Conlon cc07e1c76c add two-threaded client/server SSLSocket example 2019-03-22 10:32:38 -07:00
Jacob Barthelmeh 00e050810d add getShutdown, sslengine close connection, and addSession method 2019-03-22 11:04:40 -06:00
Chris Conlon 9feceec9b5 add multi threaded SSLServerSocket example 2019-03-21 15:39:42 -07:00
Chris Conlon a35f4f5e0b fix small error in WolfSSLSocketTest 2019-03-20 13:16:56 -07:00
Chris Conlon aa2e649114 change version strings to lower case v in WolfSSLProvider 2019-03-20 13:16:35 -07:00
Jacob Barthelmeh 56a6a9e5bf iana cipher suite list handle 2019-03-20 11:46:22 -06:00
Chris Conlon 54fd9aebef fix parameter handling in SSLSocket and SSLServerSocket 2019-03-20 09:20:47 -07:00
Chris Conlon 4820dc0c5d remove startHandshake from SSLServerSocket.accept() 2019-03-19 14:39:57 -07:00
Jacob Barthelmeh a0d5489d82 initial in memory client side wolfJSSE engine test 2019-03-19 15:19:19 -06:00