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
Security is an additional module. To enable it, the Net Pack (which bundles several libraries: Net, SSL & Security) must be installed in your VEE Port:
microejPack("com.microej.pack.net:net-pack:11.0.2")
<dependency org="com.microej.pack.net" name="net-pack" rev="11.0.2"/>
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 Application project build file to use the Security library:
implementation("ej.api:security:1.6.0")
<dependency org="ej.api" name="security" rev="1.6.0"/>