update README/README_JCE with notes about examples
parent
a1eda33af2
commit
293c3c8b4f
|
@ -128,6 +128,13 @@ the root wolfcrypt-jni directory. The test source code is located at:
|
|||
|
||||
`wolfcrypt-jni/src/test/com/wolfssl/wolfcrypt`
|
||||
|
||||
JCE-specific examples can be found in the `examples/provider` sub-directory.
|
||||
These examples will only be compiled with either `ant build-jce-debug` or
|
||||
`ant build-jce-release` are used. Since these are JCE/provider-only examples,
|
||||
they are not built for JNI-only builds (`ant build-jni-debug/release`).
|
||||
|
||||
For more details, see the [README_JCE.md](./README_JCE.md).
|
||||
|
||||
### JAR Code Signing
|
||||
---------
|
||||
|
||||
|
|
|
@ -71,9 +71,31 @@ The JCE provider currently supports the following algorithms:
|
|||
### Example / Test Code
|
||||
---------
|
||||
|
||||
Example code will be added in the near future. JUnit test code is located
|
||||
under the "./src/test/java/com/wolfssl/provider/jce/test/" directory for
|
||||
each wolfJCE engine class.
|
||||
JUnit test code can act as a good usage reference, and is located under the
|
||||
`./src/test/java/com/wolfssl/provider/jce/test/` directory for each wolfJCE
|
||||
engine class.
|
||||
|
||||
There are some JCE examples located under the `examples/provider` directory,
|
||||
including:
|
||||
|
||||
**ProviderTest**
|
||||
|
||||
This is an example that prints out all Security providers that are registered
|
||||
in the system. It then programatically registers wolfJCE as the highest-level
|
||||
provider and prints out the list again.
|
||||
|
||||
This example will be built when using the following ant targets:
|
||||
|
||||
```
|
||||
$ ant build-jce-debug
|
||||
$ ant build-jce-release
|
||||
```
|
||||
|
||||
The example can then be run using:
|
||||
|
||||
```
|
||||
$ ./examples/provider/ProviderTest.sh
|
||||
```
|
||||
|
||||
### JAR Code Signing
|
||||
---------
|
||||
|
|
Loading…
Reference in New Issue