Overview

CRYPTO - javax.crypto, javax.crypto.interfaces, javax.crypto.spec

Status

Check the component_development_status page for the status of other ClassLibrary modules.

Component is temporarily included into SECURITY module.

J2SE 1.4.2

The current codes cover J2SE 1.4.2 API

Java 5.0

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

Public API

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

Security Providers

There is no JCE providers implemented in Harmony.

When crypto functionality is necessary one may use open source BouncyCastle provider

Known issues:

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.

Tools

No crypto related tools (e.g. keytool, jarsigner) are currently implemented.

  • No labels