9.24.1.1 +ECCRDCERT

This command is used to read certificate from ECC device.

Security – Default Security for the command is: GGGG

Table 9-261. Command Syntax

Command

Description

Security

AT+ECCRDCERT=<CERTIFICATE>,<LENGTH>Certificate ReadGGGG
Table 9-262. Command Parameter Syntax

Parameter Name

Type

Description

<CERTIFICATE>Integer

The certificate type:

  1. Device
  2. Signer
  3. Root
<LENGTH>IntegerThe number of bytes the DTE wishes to read
Table 9-263. Response Syntax

Response

Description

+ECCRDCERT:<TOTLENGTH>,<LENGTH>,<DATA>

Certificate read response

Table 9-264. Response Element Syntax

Element Name

Type

Description

<TOTLENGTH>IntegerTotal number of bytes
<LENGTH>IntegerNumber of remaining bytes
<DATA>Byte ArrayThe certificate in PEM format (root cert is read in DER format)