Host Protocols Direct Protocol ATCRYPTO class GET PUBLIC KEY
April 13, 2023 at 2:39 AMGET PUBLIC KEY instruction
Role
This instruction allows to export the public key corresponding to one of the ECC private keys stored in the ATECC Secure Element.
Access condition
Depending on the configuration-defined access conditions and on the type of host interface (Local / Remote), this instruction may either be freely usable or restricted to authenticated communications.
Command
Field | Value |
---|---|
CLA | 59 (ATCRYPTO) |
INS | 43 |
Data byte 0 | Key index (00 to 0D ) |
Response
Field | Value |
---|---|
CLA | 59 (ATCRYPTO) |
STA | 00 |
Data bytes 0..63 | Public Key X and Y coordinates (2 x 32 = 64 bytes) |