Enterprise J2ME Developing Mobile Java Applications [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Enterprise J2ME Developing Mobile Java Applications [Electronic resources] - نسخه متنی

Michael Juntao Yuan

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید



19.4 The IAIK ME JCE


The Institute for Applied Information Processing and Communications (IAIK) is a leading Java Crypto/Security solution provider based in Austria. It is one of the best known third-party commercial JCE/JCA providers with more than five years of excellent tracking record.

IAIK's J2ME product is its JCE-ME toolkit (v3.0). The single Java binary runs on all J2ME platforms (PersonalJava, CDC, and CLDC) as well as JDK v1.1 or above. It is a free download for evaluation purposes. The IAIK JCE-ME is very small: only 100 KB memory footprint for the fully featured JAR file. The size can be further reduced at packaging/deploy time if you do not need all the features.

The IAIK ME toolkit supports all standard symmetric ciphers (AES, DES, RC2, RC4, and IDEA), message digests (MD and SHA), public key algorithms (RSA and DSA), ASN.1 encoding/decoding, X.509 digital certificates, and key management (key generation, PKC S#8 and #12, and IAIK key stores). However, password-based encryption is only supported through an experimental API as of the v3.0 final release. For J2SE and CDC platforms, IAIK offers alternative OS-native implementations for long integer operations, which could drastically improve performance.

In general, IAIK JCE-ME has good performance. For RSA and DSA algorithms, it outperforms the BC library. However, without native integer enhancements, public key tasks still take seconds on MIDP devices.


19.4.1 Porting Existing JCE Applications


The IAIK API is designed to be similar to the standard JCE but without the complexity of abstract algorithm and abstract provider interfaces. A brief list of IAIK JCE classes and their JDK KCE counterparts are listed in Resources").

Table 19.1. Comparing IAIK and Standard JDK JCE Classes

IAIK class

JDK classes and notes

iaik.me.security.Cipher

javax.crypto.Cipher

iaik.me.security.CryptoBag

Generic key interfaces such as java.security.Key and javax.crypto.SecretKey.

iaik.me.security.Mac

javax.crypto.Mac

iaik.me.security.MessageDigest

java.security.MessageDigest

iaik.me.security.PrivateKey

Generic private interfaces such as the java.security.PrivateKey as well as specific interfaces for the RSA, DSA, and DH private keys.

iaik.me.security.PublicKey

Generic and RSA, DSA, and DH public key interfaces

iaik.me.security.BigInteger

java.math.BigInteger Note: This is necessary for CLDC devices where the JDK class is not supported. It also allows IAIK to substitute its own high-performance, long integer implementation for other platforms.

iaik.me.security.SecureRandom

java.security.SecureRandom (CLDC-only)

iaik.me.security.Signature

java.security.Signature (CLDC-only)

iaik.me.x509.X509Certificate

Related classes in the java.security.cert package (CLDC-only).


/ 204