Send java security command to the module, 3 send java security command to the module – Siemens TC65 User Manual

Page 79

Advertising
background image

TC65 JAVA User's Guide
Strictly confidential / Released

s

TC65 JAVA User's Guide_V05

Page 79 of 90

26.09.2005

11.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 security.

Response

^SJSEC:<state>[,<HTTPS state>,<OBEX state>,<certificate content>

]

<state> java security mode

0

security mode not active, no information follows

1

security mode active, further information follows
<OBEX state>,<HTTPS state>,<certificate information>

<HTTPS state>

0

the HTTPS connection or Secure Connection is possible if
the server certificate (or certificate chain) is valid

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

Certificate Information:

Issuer:

SerialNumber:

Subject:

Signature

algorithm:

Thumbprint

algoritm:

Thumbprint:

Advertising