Security¶
Principle¶
The Security Foundation Library provides standard Java API (part of the Java Cryptography Architecture) for cryptographic operations: cipher, digest, MAC, signature, secure random & key/certificate management. It relies on a native crypto engine (such as Mbed TLS, OpenSSL or wolfSSL).
Dependencies¶
- The
LLSEC_*.h
implementations (see LLSEC: Security).
Installation¶
The Net Pack bundles several libraries: Net, SSL & Security.
Refer to the chapter Pack Import to integrate a specific version of the Net Pack:
<dependencies>
<dependency org="com.microej.pack.net" name="net-pack" rev="11.0.2"/>
</dependencies>
Then, using the VEE Port Editor (see Platform Module Configuration), enable the Security library (API, Impl & Mock):
Use¶
The Security API module must be added to the module.ivy of the MicroEJ Application project to use the Security library.
<dependency org="ej.api" name="security" rev="1.6.0"/>