Skip to content

Commit 67b9b5a

Browse files
Merge pull request #120 from cconlon/0323
Prep for 1.12 Release
2 parents 12a9ce5 + 21ea49b commit 67b9b5a

125 files changed

Lines changed: 301 additions & 253 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

IDE/Android/app/src/main/java/com/example/wolfssl/MainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* MainActivity.java
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2023 wolfSSL Inc.
44
*
55
* This file is part of wolfSSL.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222

README.md

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ the manual.
3434
## Building
3535

3636
***Note 1)***
37-
The java.sh script uses a common location for the Java install location. If
37+
The `java.sh` script uses a common location for the Java install location. If
3838
your Java install location is different, this could lead to an error when
39-
running java.sh. In this case, you should modify java.sh to match your
39+
running `java.sh`. In this case, you should modify `java.sh` to match your
4040
environment.
4141

4242
Build targets for ant are :
@@ -46,7 +46,11 @@ Build targets for ant are :
4646
* **ant clean** (cleans all Java artifacts)
4747
* **ant cleanjni** (cleans native artifacts)
4848

49-
wolfJSSE currently supports compilation on Linux/Unix, OSX, and Android.
49+
wolfJSSE currently supports compilation on the following platforms:
50+
- Linux/Unix
51+
- Mac OSX
52+
- Android Studio
53+
- Android AOSP
5054

5155
To build wolfJSSE in Linux/Unix environments, first download, compile, and
5256
install wolfSSL. wolfSSL can be downloaded from the wolfSSL
@@ -114,6 +118,13 @@ More verbose SSLEngine debug logs can be enabled by using the
114118

115119
JDK debug logging can be enabled using the `-Djavax.net.debug=all` option.
116120

121+
These system properties can also be set programmatically at runtime:
122+
123+
```
124+
System.setProperty("wolfjsse.debug", "true");
125+
System.setProperty("wolfsslengine.debug", "true);
126+
```
127+
117128
## Building for Android
118129

119130
wolfSSL JNI and JSSE can be built and used on the Android platform, either
@@ -167,6 +178,27 @@ Additional instructions can be found on the wolfSSL.com website:
167178

168179
## Behavior and Functionality Notes
169180

181+
### JSSE Class Implementation Support
182+
183+
wolfJSSE extends or implements the following JSSE classes:
184+
- javax.net.ssl.SSLContextSpi
185+
- SSL, TLS, DEFAULT, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3
186+
- javax.net.ssl.KeyManagerFactorySpi
187+
- PKIX, X509, SunX509
188+
- javax.net.ssl.TrustManagerFactorySpi
189+
- PKIX, X509, SunX509
190+
- javax.net.ssl.SSLEngine
191+
- javax.net.ssl.SSLSession
192+
- javax.net.ssl.X509KeyManager
193+
- javax.net.ssl.X509TrustManager
194+
- javax.net.ssl.SSLServerSocket
195+
- javax.net.ssl.SSLServerSocketFactory
196+
- javax.net.ssl.SSLSocket
197+
- javax.net.ssl.SSLSocketFactory
198+
- javax.net.ssl.SSLSessionContext
199+
- java.security.cert.X509Certificate
200+
- javax.security.cert.X509Certificate
201+
170202
### Secure Renegotiation Support
171203

172204
wolfSSL JNI and JSSE provider wrap native wolfSSL APIs to enable and conduct
@@ -182,6 +214,22 @@ Or by defining `-DHAVE_SECURE_RENEGOTIATION`.
182214

183215
## Release Notes
184216

217+
### wolfSSL JNI Release 1.12.0 (03/31/2023)
218+
219+
Release 1.12.0 has bug fixes and new features including:
220+
221+
**JNI and JSSE Changes:**
222+
* Additional synchronization support in WolfSSLCertificate (PR 118)
223+
* Prevent WolfSSLCertificate from freeing `WOLFSSL_X509` if not owned (PR 118)
224+
* Fix `X509KeyManager.getCertificateChain()` to return `null` when alias is `null` (PR 119)
225+
226+
**Documentation Changes:**
227+
* Add Android Studio instructions for how to update source symlinks on Windows (PR 117)
228+
229+
The wolfSSL JNI Manual is available at:
230+
https://www.wolfssl.com/documentation/manuals/wolfssljni. For build
231+
instructions and more detailed comments, please check the manual.
232+
185233
### wolfSSL JNI Release 1.11.0 (12/2/2022)
186234

187235
Release 1.11.0 has bug fixes and new features including:

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<!-- versioning/manifest properties -->
1515
<property name="implementation.vendor" value="wolfSSL Inc." />
1616
<property name="implementation.title" value="wolfSSL JNI/JSSE" />
17-
<property name="implementation.version" value="1.11" />
17+
<property name="implementation.version" value="1.12" />
1818

1919
<!-- set properties for this build -->
2020
<property name="src.dir" value="src/java/"/>

examples/Client.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Client.java
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2023 wolfSSL Inc.
44
*
55
* This file is part of wolfSSL.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
import java.io.*;

examples/MyAtomicDecCtx.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* MyAtomicDecCtx.java
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2023 wolfSSL Inc.
44
*
55
* This file is part of wolfSSL.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
import java.io.*;

examples/MyAtomicEncCtx.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* MyAtomicEncContext.java
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2023 wolfSSL Inc.
44
*
55
* This file is part of wolfSSL.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
import java.io.*;

examples/MyDecryptVerifyCallback.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* MyDecryptVerifyCallback.java
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2023 wolfSSL Inc.
44
*
55
* This file is part of wolfSSL.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
import java.io.*;

examples/MyEccSharedSecretCallback.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* MyEccSharedSecretCallback.java
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2023 wolfSSL Inc.
44
*
55
* This file is part of wolfSSL.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
import java.io.*;

examples/MyEccSharedSecretCtx.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* MyEccSharedSecretCtx.java
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2023 wolfSSL Inc.
44
*
55
* This file is part of wolfSSL.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
import java.io.*;

examples/MyEccSignCallback.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* MyEccSignCallback.java
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2023 wolfSSL Inc.
44
*
55
* This file is part of wolfSSL.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
import java.io.*;

0 commit comments

Comments
 (0)