Amadis

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Compute the HMAC-SHA256 of a byte string.

Verb

POST

Resource

/api/cryptoprovider/v1/checksum

Content type

application/json

Body

{

“terminalid”: “<terminal ID>”,

“keyid”: “<key ID>”,

“data”: “<data>”

}

Where:

Field

Description

terminalid

ID of the terminal the key is to be created for.

keyid

ID of the key to be used for computing the checksum

data

Base64 encoded data to be hashed.

The response data is a JSON object with the following structure:

{

Field

Description

“checksum”:”<checksum>”

Base64 encoded HMAC-SHA256 checksum

}

  • No labels