GET API/Cryptography/GetPublicKey

Returns the public key associated with a system ID fetched from an access token.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Public key

PublicKeyViewModel
NameDescriptionTypeAdditional information
Exponent

RSA algorithm exponent parameter (Base64)

string

None.

Modulus

RSA algorithm modulus parameter (Base64)

string

None.

EncryptionAlgorithm

Encryption algorithm: Fixed value "RSA-OAEP"

string

None.

Response Formats

application/json

Sample:
{
  "Exponent": "sample string 1",
  "Modulus": "sample string 2",
  "EncryptionAlgorithm": "RSA-OAEP"
}

text/json

Sample:
{
  "Exponent": "sample string 1",
  "Modulus": "sample string 2",
  "EncryptionAlgorithm": "RSA-OAEP"
}

application/xml

Sample:
<PublicKeyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.Cryptography">
  <Exponent>sample string 1</Exponent>
  <Modulus>sample string 2</Modulus>
</PublicKeyViewModel>

text/xml

Sample:
<PublicKeyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.Cryptography">
  <Exponent>sample string 1</Exponent>
  <Modulus>sample string 2</Modulus>
</PublicKeyViewModel>