Sun Microsystems manual SATSA 1.0 Configuration Files, The internal.config File, Code Example

Models: 1

1 20
Download 20 pages 37.42 Kb
Page 14
Image 14
SATSA 1.0 Configuration Files

SATSA 1.0 Configuration Files

The SATSA 1.0 Reference Implementation contains two configuration files that, under most circumstances, can be left as-is and do not need to be altered or changed. These files are the following:

The internal.config File

The system.config File

Both of these configuration files are found in the directory:

%MIDP_HOME%\lib

The internal.config File

The internal.config file contains several MIDP 2.0 implementation-specific parameters. In a default installation of the SATSA 1.0 Reference Implementation, none of these parameters need to be changed. The parameters defined in the internal.config file specifically for the SATSA 1.0 RI are displayed in

CODE EXAMPLE 2.

CODE EXAMPLE 2 The internal.config File

__________________________________________________________________

(......)

com.sun.satsa.keygen: true

com.sun.satsa.opaquesig: true

com.sun.satsa.certsig: true

com.sun.midp.io.j2me.apdu.hostsandports: localhost:9025, localhost:9026

com.sun.midp.io.j2me.apdu.satselectedapdu:

00.a4.04.07.a0.00.00.00.62.3.1.7F com.sun.satsa.store_csr_list: true (......)

__________________________________________________________________

Many of the parameters shown above are optional and might not be supported on a specific platform. Setting the following parameters to false allows the SATSA 1.0 Reference Implementation to simulate platforms where those parameters are not supported (that is, to demonstrate the proper exceptions expected when the parameters are not supported by the platform).

6 SATSA Installation Guide • July 2004

Page 14
Image 14
Sun Microsystems manual SATSA 1.0 Configuration Files, The internal.config File, Code Example