Structure of the java security commands, 1 structure of the java security commands – Siemens TC65 User Manual
Page 77
TC65 JAVA User's Guide
Strictly confidential / Released
s
TC65 JAVA User's Guide_V05
Page 77 of 90
26.09.2005
11.4.1
Structure of the Java Security Commands
UINT16
cmd
total len
UINT16
UINT16
parameter unit
signature unit
...
General structure
Set Customer Root Certificate
total len
0x0001
0x0003
param unit IMEI
param unit signature
param num
UINT16
signature
List of parameters
param id
param len
description
0x0001
D
content of *.der file
0x0002
0x0005
param data
certificate data
0x00 or 0x01
on/off switch, 0x00 = off, 0x01 = on
0x0004
D
signature data
SHA-1signature the of command, base64 coded (zero terminated string)
0x0003
0x0014
IMEI
numeric numbers in ASCII format (zero terminated string)
D - depend from the length of parameter
List of commands
cmd id
description
0x0001
0x0002
0x0004
0x0003
UINT16
Set Customer Root Certificate
Del Customer Root Certificate
Switch on/off Certificate Verification for HTTPS Connections
Switch on/off OBEX Functionality
parameter unit
param id
param data
UINT16
UINT16
...
param unit certificate
Del Customer Root Certificate
total len
0x0002
0x0002
param unit IMEI
param unit signature
Switch on/off Certificate Verification for HTTPS Connections
total len
0x0003
0x0003
param unit IMEI
param unit signature
param unit switch
Switch on/off OBEX Functionality
total len
0x0004
0x0003
param unit IMEI
param unit signature
param unit switch
param len
param len = all bytes of the parameter structure (including size of "param len")
total len = all bytes of the command structure (including size of "total len")
part of the cmd structure for the creation of the signature