docs
api
SSL Certificate Management(USSL)
GetCertificateList

Obtain User Certificate List - GetCertificateList

Overview

Obtain the user certificate list, including purchased certificates and hosted certificates.

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetCertificateList.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
Modestringpurchase-Buy, trust-Hosted, free-FreeYes
StateCodestringStatus CodeNo
BrandstringBrandNo
DomainstringFuzzy Matching Domain NameNo
Sortstring1-Ascending, 2-DescendingNo
PageintPage NumberNo
PageSizeintNumber Per PageNo
CaOrganizationstringCertificate ProviderNo

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
TotalCountintTotal number of certificatesYes
CertificateListarray[CertificateList]Certificate ListYes

Data Model

CertificateList

Field NameTypeDescription InformationRequired
CertificateIDintCertificate IdYes
CertificateSNstringCertificate Resource IDYes
CertificateCatstringCertificate ClassificationYes
ModestringCertificate TypeYes
DomainsstringCertificate Binding Domain NameYes
BrandstringCertificate's Brand OwnerYes
ValidityPeriodintDomain Validity PeriodYes
TypestringCertificate Authority InformationYes
NotBeforeintIssue Date (Millisecond Timestamp)Yes
NotAfterintExpiration Date (Millisecond Timestamp)Yes
AlarmStateintExpiration AlertYes
StateCodestringCertificate Status CodeYes
StatestringCertificate Status DescriptionYes
NamestringCertificate Name in EnglishYes
MaxDomainsCountintMaximum Domain NumberYes
DomainsCountintCurrent Domain QuantityYes
CaChannelstringThird-party Certificate AuthorityYes
CSRAlgorithmsarray[CSRAlgorithmInfo]Optional encryption information for CSRYes
TopOrganizationIDintCompany IDYes
OrganizationIDintProject IDYes
IsFreeintIs it free?Yes
YearOfValidityintAdd Year Number of Multi-Year TermYes
ChannelintChannel InformationYes
CreateTimeintCreation TimeYes
CertificateUrlstringURL for certificate downloadYes

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=GetCertificateList
&Mode=dtohZPCB
&StateCode=yuZLjUmi
&Brand=slEEjSqt
&Domain=mFfakwWg
&Sort=mVcVDzaF
&Limit=1
&Offset=5
&CaOrganization=LrPWfhEg
&Channel=2

Response Example

{
  "Action": "GetCertificateListResponse",
  "CertificateList": [
    {
      "Domains": "www.bestenover.com",
      "Expire": 1515455999,
      "ID": 1,
      "Mode": "purchase",
      "Name": "TestCSROnlineFreeSSL",
      "State": "订单完成",
      "Type": "Synamtic-亚洲诚信(1年)"
    },
    {
      "Domains": "bestenover.com",
      "Expire": 1544918399,
      "ID": 6,
      "Mode": "trust",
      "Name": "TestTrustedCertificate",
      "State": "托管中",
      "Type": "COMODO CA Limited-PositiveSSL(3年)"
    }
  ],
  "RetCode": 0,
  "TotalCount": 2
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved