Amadis

Crypto Backend - APIs - RSA key pairs

Generate a 4096 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

Field

Description

domain

  • “PIN” for PIN block encryption

  • “PAN” for card data encryption

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

}