The Bouncy Castle Crypto API

An additional feature that is currently unavailable in J2ME CLDC is the Java Cryptography Extension (JCE). The JCE is a set of packages providing a framework for encryption, key generation and key agreement, and Message Authentication Code (MAC) algorithms. It supports encryption for symmetric, asymmetric, block, and stream ciphers.

The Bouncy Castle Crypto API, which is available from http://www.bouncycastle.org, supports the following features:

  • A clean-room implementation of the JCE 1.2.1

  • A lightweight cryptography API in Java

  • A provider for the JCE and JCA

  • Generators for Version 1 and Version 3 X.509 certificates

Because a complete implementation of the JCE is too big for the J2ME CLDC platform, we will focus on the ...

Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.