Generate a 2048 bits RSA key pair
Verb | POST |
Resource | /api/cryptoprovider/v1/key/rsakey |
Content type | application/json |
Body | { “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 |
“keyid”: ”<key pair id>”, | ID of the generated key pair | |
“publickey”:”<public key>” | Base64 encoded public key in PKCS#1 format | |
} |