Docs
api
SSL Certificate Management(USSL)
GetCertificateCommodity

Get the product information corresponding to the certificate - GetCertificateCommodity

Overview

Get the product information corresponding to the certificate

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetCertificateCommodity.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
CertificateIDintCertificate IDYes

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
CommodityCertificateCommodityProduct InformationNo

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.dezai.com/?Action=GetCertificateCommodity
&CertificateID=tnTpaeWH
&Type=8

Response Example

{
  "Action": "GetCertificateCommodityResponse",
  "Commodity": {},
  "RetCode": 0
}