CRYPTO - javax.crypto, javax.crypto.interfaces, javax.crypto.spec
Component is temporarily included into SECURITY module.
The current codes cover J2SE 1.4.2 API
Current code is mostly compliant with J2SE 1.5 specification. It should be updated to reflect new Java 5.0 enhancements (e.g. generics, enums) when harmony has a 1.5 compatible VM
Below are some details about what's available, missing and in progress
This component contains implementation of public API, internal code and unit tests. All public 1.5 classes are implemented and tested..
The code contains a number of TODO's such as:
- switch to generics and/or enums
- use more efficient API introduced in 1.5
- implement optional features
There is no JCE providers implemented in Harmony.
When crypto functionality is necessary one may use open source BouncyCastle provider
Signed jar file verification requires some crypto algorithms. But BouncyCastle provider is located in a signed jar file. So, at least Message Digest SHA-1 and Signature SHA1withDSA should be implemented and placed into unsigned jar to verify signature in BouncyCastle jar.
No crypto related tools (e.g. keytool, jarsigner) are currently implemented.