SENA Serial_IPTM Redirector 4.3 User Manual

Page 60

Advertising
background image

Encryption Protocol (AT+SPROTO)

This command allows the application to query and set what encryption protocol is to be used, currently either
TCP (i.e., no encryption) or TLS. The following example sets encryption to TLS then turns it back off:

AT+SPROTO=TLS

OK
AT+SPROTO=TCP

OK

The application may also query the current protocol in effect, for example:

AT+SPROTO?

TLS

The application may also query the list of currently supported protocols, for example:

AT+SPROTO=?

TCP,TLS

OK

AT+SPROTO=?

RC4-MD5(128)

OK

Cipher Set (AT+SCS)

This command allows the application to query and set the list of ciphers to be used in the next SSL/TLS
negotiation. It is of the format:

AT+SCS=<min-key-length>,<max-key-length>,

<cipher1>,<cipher2>,...,<ciphern>

The parameters accepted are as follows:

min-key-length: minimum cipher key strength to be negotiated. Values are 40, 56, 64, 128, or
168.

max-key-length: maximum cipher key strength to be negotiated. Values are 40, 56, 64, 128,
168, or zero. Zero denotes no upper limit.

cipher1-n: the list of cipher families to be negotiated. Only those ciphers specified will be
included in the cipher set. Ciphers supported are: RC2, RC4, DES, 3DES, and AES.

For example, to specify that 56-128 bit ciphers from RC4 and DES may be negotiated, the application sends the

Advertising