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 3 Current »

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

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

}


  • No labels