SSE4E

Home

GPError
GPSystem
ByteString
ByteBuffer
TLV
TLVList
Card
Atr
Key
Crypto
Application GPApplication GPSecDomain

ASN1
CardFile
IsoSecureChannel
ApplFactory
GPXML
JsScript
CardSim

X509
CRL
KeyStore
CMSSignedData
CMSGenerator
XMLSignature
OCSPQuery
LDAP
SOAP
URLConnection

PKCS11Provider
PKCS11Session
PKCS11Object

OutlineNode

OpenSCDP

Persistent Configuration Settings

Persistent configuration informations are available to scripts as properties of the _scsh3 object. This object is instantiated in the default CONFIG.JS file and filled with values from the SETTINGS.JS file.

Persistent settings can be set and saved to disk using the _scsh3.putProperty() method. This method accepts a key and a value and saves the updated configuration into a new SETTINGS.JS file. The SETTINGS.JS file is placed in the workspace directory by default.

Example: To use a specific card terminal in a new card object, you could use

    var card = new Card(_scsh3.reader);

Pre-defined configuration fields

The following configuration elements are available

Key Value
reader1 Name of the first card reader selected in Options/Reader Configuration
reader2 Name of the second card reader selected in Options/Reader Configuration
reader Name of the first card reader selected in Options/Reader Configuration. Maintained for backwards compatibility