Top Qs
Timeline
Chat
Perspective

Security and Trust Services API for J2ME

From Wikipedia, the free encyclopedia

Remove ads

The Security and Trust Services API for J2ME (SATSA) (JSR 177) is an optional package within Java ME that enables enhanced cryptographic and smart-card-based security for mobile applications. It includes APDU communication, Java Card RMI, general cryptography, and PKI features.[1][2]

Features

SATSA adds the following capabilities to Java ME:

  • Smart-card communication via ISO 7816 APDU.[3][4]
  • Remote invocation of Java Card objects via SATSA‑JCRMI.[5]
  • SATSA-Crypto supporting message digests, symmetric/asymmetric encryption, and signatures.[6][7]
  • SATSA-PKI for certificate-based digital signatures and secure user authentication.[8]

Components

SATSA is divided into four main components:

  • SATSA‑APDU: Low-level APDU communication for ISO/IEC 7816 smart cards.[6][4]
  • SATSA‑JCRMI: Java Card Remote Method Invocation.[5][3]
  • SATSA‑Crypto: Encryption, message digests, digital signature APIs.[9][7]
  • SATSA‑PKI: Secure key storage, certificate handling, digital signature verification.[8][6]

Implementation examples

APDU communication

APDUConnection conn = (APDUConnection) Connector.open("apdu:0");
byte[] response = conn.exchangeAPDU(command);

Used in smart card access systems for PIN verification and applet interaction.[6][10]

Java Card RMI

JavaCardRMIConnection jc = (JavaCardRMIConnection)
    Connector.open("jcrmi:0;AID=a0...c.8.1");
MyApplet stub = (MyApplet) jc.getRemoteObject();

Provides a high-level interface to smart card functionality.[5][7]

DES encryption

Cipher c = Cipher.getInstance("DES/CBC/PKCS5Padding");
c.init(Cipher.ENCRYPT_MODE, key, ivSpec);
c.doFinal(data, 0, data.length, out, 0);

Commonly used to secure local data or perform session encryption.[9][6]

Platform support and tools

SATSA is supported on selected devices from major manufacturers including Motorola, Nokia (from Series 40), Samsung, and Sony Ericsson (JP-8+).[11][12]

The Java ME SDK and Sun Java Wireless Toolkit include full SATSA emulation, including APDU/JCRMI over TCP/IP ports 9025 and 9026.[3][6]

See also

References

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads