Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7
typeflat

Generate a

...

4096 bits RSA key pair

N/A

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

“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

}