CertificateRequest() Parent topic

Description

Obtain the public key from the SecureCloud server.

Interface

https://[SecureCloudService]/broker/API.svc/v3.5/PublicCertificate/
Method: GET

Response

Expected HTTP response code: 200 (OK)
Parameter
Data Type
Description
Required?
certificate.level
Integer
The certificate level.
Valid value: 0
Yes
certificate.encoding
Enumeration
The type of encoding.
Valid values:
  • Base64: the data uses a Base64 encoding scheme.
  • Hex: the data uses a hexadecimal encoding scheme.
  • None: the data does not use an encoding scheme.
Yes
certificate
String
The encoded public key.
Yes

Example Request URL

[GET]
https://ms.sample.securecloud.com/broker/API.svc/v3.5/user/

Example Response

<certifcateResponse>
    <certificateList>
        <certificate level="0" encoding="base64">
            MIICCgKCAgEAzs6JeIFvHprqdwd9PiM...==
        </certifcate>
    </certificateList>
</certifcateResponse>