Siemens AC65 Manuel D’Utilisation

Page de 123
Java User’s Guide
12.4 Structure and Description of the Java Security Commands
112
s
wm_java_usersguide_v12
Page 109 of 123
2008-02-25
Confidential / Released
12.4.3
Send Java Security Command to the Module
Use a terminal program. Enter:
AT^SJSEC
Wait for the answer:
CONNECT
JSEC READY: SEND COMMAND ...
Now you can send the binary data of the command (for example: from a file with the binary data
of the command).
The module’s answer depends on the result of the operation.
The read command, AT^SJSEC?, can be used to request the current Java security status. 
Read command
AT^SJSEC?
The read command can be used to request the current status of java secu-
rity. 
Response
^SJSEC:<state>,<HTTPS state>,<OBEX state>,<untrusted domain>
[<certificate content>]
<state> Java security mode
0 Unsecured mode, i.e. security mode not active (default)
1 Secured mode, i.e. security mode active
<HTTPS state>
0 The HTTPS connection or Secure Connection is possible if the
server certificate (or certificate chain) is valid (default)
1 The HTTPS Connection or Secure Connection is possible only
if the server certificate is signed by the customer (owner of root
certificate in device)
<OBEX state>
0 Start of Module Exchange Suite is not permitted
1 Start of Module Exchange Suite is permitted (default)
<untrusted domain>
0 Untrusted domain does not exist, MIDlets must be signed
(default)
1 Untrusted domain does exist, unsigned MIDlets have limited
rights of access to the Java-API
Certificate Information: (default no certificate)
Issuer:
SerialNumber:
Subject:
Signature algorithm:
Thumbprint algoritm:
Thumbprint: