Security - SATSAMIDlet

Description

This example MIDlet shows you how to encrypt and decrypt messages using the SATSA-CRYPTO API. The MIDlet allows the user to store messages that are encrypted with a 128-bit Advanced Encryption Standard (AES) key. The AES encryption is symmetric, which means that there is only one key used for both encryption and decryption. The MIDlet stores the messages in its record store for later retrieval.

Figure: SATSAMIDlet views

For a tutorial that shows you how to create this MIDlet, see section Example: Creating encrypted messages.

Compatibility

This MIDlet is provided in two versions:

  • The regular version is compatible with Series 40 5th Edition and S60 3rd Edition devices and newer.

  • The Series 40 full touch version is only compatible with Java Runtime 2.0.0 for Series 40 devices and newer.

This MIDlet has been tested on the following devices:

  • Nokia Asha 305 (Java Runtime 2.0.0 for Series 40)

  • Nokia C7-00 (Symbian Anna with Java Runtime 2.2 for Symbian)

  • Nokia N96 (S60 3rd Edition FP2)

  • Nokia X3-00 (Series 40 6th Edition)

MIDlet project

The MIDlet project files are packaged as a zip file. The zip file includes two projects: the regular version and the Series 40 full touch version. To download the zip file, click the following link:

Download SATSAMIDlet

Table: MIDlet details

MIDlet version

1.0

Creation date

25 May 2012

IDE

Eclipse and NetBeans

SDK

Series 40 6th Edition FP1 SDK

Table: MIDlet details (Series 40 full touch version)

MIDlet version

1.1

Creation date

25 May 2012

IDE

Eclipse and NetBeans

SDK

Nokia SDK 2.0 for Java

MIDlet classes

The MIDlet consists of the following classes (click to view the full source code):

Note: The source code is from the Series 40 full touch version of the MIDlet. To view the source code of the regular version, see the source code files in the zip file.