Get the product information corresponding to the certificate - GetCertificateCommodity
Overview
Get the product information corresponding to the certificate
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is GetCertificateCommodity . | Yes |
PublicKey | string | The user's public key can be obtained from Console (opens in a new tab) | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
CertificateID | int | Certificate ID | Yes |
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
Commodity | CertificateCommodity | Product Information | No |
Data Model
CertificateCommodity
Field Name | Type | Description Information | Required |
---|---|---|---|
ID | int | ID | No |
CertificateName | string | Name | No |
CertificateBrand | string | Brand | No |
CertificateCat | string | Classification | No |
ProductID | int | Product ID | No |
DomainMaxLimit | int | Maximum Purchase Quantity | No |
DomainMinLimit | int | Minimum Purchase Quantity | No |
Channel | string | ca Channel | No |
CertificateCnName | string | Certificate Name | No |
CSRAlgorithms | array[CSRAlgorithmInfo] | Algorithm | No |
CSRAlgorithmInfo
Field Name | Type | Description Information | Required |
---|---|---|---|
Algorithm | string | Algorithm. Supports RSA, ECDSA, SM2 three values. | No |
AlgorithmOption | array[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=GetCertificateCommodity
&CertificateID=tnTpaeWH
&Type=8
Response Example
{
"Action": "GetCertificateCommodityResponse",
"Commodity": {},
"RetCode": 0
}