AMPXI:Sign

AMPXI:Sign

Request #

Index WordDescription
0Header code [0x00390146]
10x3C (Signature output size)
20x180 (Certificate output size)
3-4u64, Title id
5Data input size
6(Input size << 8) | 0x6
7Data input pointer
8(0x3C << 8) | 0x14
9Signature output pointer
10(0x180 << 8) | 0x24
11Certificate output pointer

Response #

Index WordDescription
0Header code
1Result code
2AM internal error value (? Treated like an error value by NIM)

Description #

Signs given data with ECC, returning generated signature and certificate.

Certificate is signed with ECDSA with SHA256 and holds an ECC public key. Signed with the device certificate. ECC public key on certificate appears to be randomly generated on call(?).

Used by NIM to sign a message that’s not sent over SOAP, however the device certificate, output signature and output certificate of the message are.