SECURITY

Warning

The SECURITY Foundation Library (ej.api:security) is deprecated and replaced by the CRYPTO Foundation Library (ej.api:crypto 2.0.1). The CRYPTO Foundation Library is a standalone library (no longer part of the Net Pack). New VEE Ports and Applications should use CRYPTO instead.

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