# Overview

API for the SECURITY MicroEJ Foundation Library.

It provides a partial API from the standard
[Java Cryptography Architecture (JCA)](https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html)
and MicroEJ-specific extensions following the Java Cryptography Extension (JCE) architecture.

# Usage

Add the following line to your `module.ivy`:

	<dependency org="ej.api" name="security" rev="1.9.0"/>

# Requirements

This library requires the following Foundation Libraries:

	EDC-1.3

# Dependencies

_All dependencies are retrieved transitively by MicroEJ Module Manager_.

# Source

The following JCA API Java source files are derived from [JDK8u442-ga](https://github.com/openjdk/jdk8u/releases/tag/jdk8u442-ga):

* `ASSEMBLY_EXCEPTION.txt`
* `LICENSE.txt`
* `java.security.cert.*`
* `javax.crypto.KeyAgreement` & `javax.crypto.KeyAgreementSPI`

# Restrictions

None.

---  
_Copyright 2017-2025 MicroEJ Corp. This file has been modified and/or created by MicroEJ Corp._
_DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER._

_This code is free software; you can redistribute it and/or modify it_
_under the terms of the GNU General Public License version 2 only, as_
_published by the Free Software Foundation.  Oracle designates this_
_particular file as subject to the "Classpath" exception as provided_
_by Oracle in the LICENSE file that accompanied this code._

_This code is distributed in the hope that it will be useful, but WITHOUT_
_ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or_
_FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License_
_version 2 for more details (a copy is included in the LICENSE file that_
_accompanied this code)._

_You should have received a copy of the GNU General Public License version_
_2 along with this work; if not, write to the Free Software Foundation,_
_Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA._

_Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA_
_or visit www.oracle.com if you need additional information or have any_
_questions._