Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Generate a HMAC-SHA256 256 bits key
Verb | POST |
Resource | /api/cryptoprovider/v1/key/hmackey |
Content type | application/json |
Body | { “terminalid”: “<terminal ID>”, “clientPubKey”: “<client public key>”, “domain”:”<domain>” } |
Where:
Field | Description |
---|---|
terminalid | ID of the terminal the key is to be created for. |
clientPubKey | Base64 encoded P-521 ECDH public key in X9.63 format (uncompressed). |
domain | Security domain (PIN or PAN or SAM) |
The response data is a JSON object with the following structure:
...
The following figure describes the HMAC key generation and wrapping flow.
...
HMAC key generation and wrapping
...