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

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")

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")