GET API/Cryptography/GetEncryptionAlgorithms

Returns a list of available common key algorithms.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of common key algorithms

Collection of EncryptionAlgorithmViewModel
NameDescriptionTypeAdditional information
EncryptionAlgorithm

Common Key Algorithm

CommonEncryptionAlgorithms

None.

Recommend

Recommend

boolean

None.

Response Formats

application/json

Sample:
[
  {
    "EncryptionAlgorithm": "AES",
    "Recommend": true
  },
  {
    "EncryptionAlgorithm": "AES",
    "Recommend": true
  }
]

text/json

Sample:
[
  {
    "EncryptionAlgorithm": "AES",
    "Recommend": true
  },
  {
    "EncryptionAlgorithm": "AES",
    "Recommend": true
  }
]

application/xml

Sample:
<ArrayOfEncryptionAlgorithmViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.Cryptography">
  <EncryptionAlgorithmViewModel>
    <EncryptionAlgorithm>AES</EncryptionAlgorithm>
    <Recommend>true</Recommend>
  </EncryptionAlgorithmViewModel>
  <EncryptionAlgorithmViewModel>
    <EncryptionAlgorithm>AES</EncryptionAlgorithm>
    <Recommend>true</Recommend>
  </EncryptionAlgorithmViewModel>
</ArrayOfEncryptionAlgorithmViewModel>

text/xml

Sample:
<ArrayOfEncryptionAlgorithmViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.Cryptography">
  <EncryptionAlgorithmViewModel>
    <EncryptionAlgorithm>AES</EncryptionAlgorithm>
    <Recommend>true</Recommend>
  </EncryptionAlgorithmViewModel>
  <EncryptionAlgorithmViewModel>
    <EncryptionAlgorithm>AES</EncryptionAlgorithm>
    <Recommend>true</Recommend>
  </EncryptionAlgorithmViewModel>
</ArrayOfEncryptionAlgorithmViewModel>