Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Generate a
...
4096 bits RSA key pair
Verb | POST | |
Resource | /api/cryptoprovider/v1/key/rsakey | |
Content type | application/json | |
Body | N/A{ “domain”: “<security domain>”, “terminalid”: “<terminal ID>” } |
Where:
Field | Description |
---|---|
domain |
|
terminalid | ID of the terminal the key pair is to be created for |
The response data is a JSON object with the following structure:
{ | Field | Description | |
“value”: ”<random byte string>” | 32 bytes HSM generated, Base64 encoded, random byte string.“keyid”: ”<key pair id>”, | ID of the generated key pair | |
“publickey”:”<public key>” | Base64 encoded public key in PKCS#1 format | ||
} |