> 21.4 | AT^SJSEC Write Binary Java Security Data

> To configure the Java security environment special Java security commands and a mobile-specific security certificate must be transferred to the module in binary format. This is done with the help of AT^SJSEC. The AT^SJSEC execute command activates the binary data mode which allows to send binary data from the host application to the ME. The AT^SJSEC read command requests the current status of the Java security environment.
> A detailed description of how to create the binary files and configure the Java security environment can be found in [4].
> Syntax

> Read Command AT^SJSEC?
> Response(s)
> ^SJSEC:<mode>, <HTTPS state>, <OBEX state>, <untrusted domain>[, <Certificate content>]
> OK

> Exec Command AT^SJSEC
> Response(s)
> CONNECT
> JSEC READY: SEND COMMAND ...
> (Indicates that the ME entered the binary data mode. The host application can start to send the binary data.)
> OK
> OK

> Reference(s) |  | PIN |  | ASC0 | ASC1 | USB | MUX1 | MUX2 | MUX3 |  |  | Charge | Q | Last
> SIEMENS |  | - |  | + | + | + | + | + | + |  |  | - | + | +

> Parameter Description

> <mode>(num)

> Java security mode
> 0(D)
> Unsecured mode, i.e. security mode not active.
> 1
> Secured mode, i.e. security mode active.

> <HTTPS state>(num)

> 0(D)
> HTTPS connection or Secure Connection is possible if the server certificate (or the certificate chain) is valid.
> 1
> HTTPS connection or Secure Connection is possible only if the server certificate is signed by the customer (owner of the root certificate in device).

> <OBEX state>(num)

> 0
> Start of Module Exchange Suite is not permitted.
> 1(D)
> Start of Module Exchange Suite is permitted.

> <untrusted domain>(num)

> 0(D)
> Untrusted domain does not exist, MIDlets must be signed.
> 1
> Untrusted domain exists, MIDlets have limited rights of access to the Java API.

> <Certificate content>(str)

> Some information of the root certificate is listed:
> Issuer:
> Serial number:
> Subject:
> Signature algorithm:
> Thumbprint algorithm:
> Thumbprint: