docs
api
SSL Certificate Management(USSL)
ListCertificateCommodity

Query Product List - ListCertificateCommodity

Overview

Query Product List

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListCertificateCommodity.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
Recommendedarray[CertificateCommodity]Recommended ProductsYes
Allarray[CertificateCommodity]All ProductsYes

Data Model

CertificateCommodity

Field NameTypeDescription InformationRequired
IDintIDNo
CertificateNamestringNameNo
CertificateBrandstringBrandNo
CertificateCatstringClassificationNo
ProductIDintProduct IDNo
DomainMaxLimitintMaximum Purchase QuantityNo
DomainMinLimitintMinimum Purchase QuantityNo
Channelstringca ChannelNo
CertificateCnNamestringCertificate NameNo
CSRAlgorithmsarray[CSRAlgorithmInfo]AlgorithmNo

CSRAlgorithmInfo

Field NameTypeDescription InformationRequired
AlgorithmstringAlgorithm.

Supports RSA, ECDSA, SM2 three values.
No
AlgorithmOptionarray[string]The length of the algorithm key.
1. RSA supports 2048,3072,4096
2. ECDSA supports p256,p384,p512
3. SM2 supports p256
No

Example

Request Example

https://api.surfercloud.com/?Action=ListCertificateCommodity
&Channel=1

Response Example

{
  "Action": "ListCertificateCommodityResponse",
  "All": [
    {
      "Brand": "",
      "TypeSet": [
        {
          "CommoditySet": {
            "CSRAlgorithms": "",
            "CertificateBrand": "",
            "CertificateCat": "",
            "CertificateCnName": "",
            "CertificateName": "",
            "Channel": "",
            "DomainMaxLimit": "",
            "DomainMinLimit": "",
            "ID": "",
            "ProductID": ""
          },
          "Type": ""
        }
      ]
    }
  ],
  "Recommended": [
    {
      "Brand": "",
      "TypeSet": [
        {
          "CommoditySet": {
            "CSRAlgorithms": "",
            "CertificateBrand": "",
            "CertificateCat": "",
            "CertificateCnName": "",
            "CertificateName": "",
            "Channel": "",
            "DomainMaxLimit": "",
            "DomainMinLimit": "",
            "ID": "",
            "ProductID": ""
          },
          "Type": ""
        }
      ]
    }
  ],
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved