The implementations for the key generation, digital signatures, key agreement, MAC and various encryptions methods such as symmetric, asymmetric, block, stream ciphers for data encryption are provided by the JavaTM Cryptography Extension or JCE framework. Java 2 SDK, v 1.4 includes JCE. The JCE is a user friendly API used for the implementation of the various features of security on the Java platform.
The design and architecture of JCE are adopted from JCA; and hence we can say JCE is similar to JCA in its design principles. Similar to JCA, JCE utilizes the provider architecture in order to facilitate implementation interoperability and algorithm extendibility.
The JCE packages provide encryption/ decryption, integrity and key exchange and hence are useful for the implementation of the secure chat algorithm with out providing authentication. JSSE helps in preventing the man-in-the-middle attack which requires authentication.
This Paper is written & submitted by Deepak V.