Docs
api
SSL Certificate Management(USSL)
GetCertificateDetailInfo

Get Certificate Details - GetCertificateDetailInfo

Overview

Get details of purchased certificates or hosted certificates

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetCertificateDetailInfo.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 NumberYes

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
CertificateInfoCertificateInfoCertificate InformationYes
ApplicantInfoApplicantInfoApplicant information, this information is only available for purchased certificatesNo
CompanyInfoCompanyInfoCompany information, only available when the certificate is purchasedNo
OrderInfoarray[OrderInfo]Order information, only available when the certificate is purchased.No

Data Model

CertificateInfo

Field NameTypeDescription InformationRequired
TypestringCertificate TypeYes
CertificateIDintCertificate IDYes
CertificateTypestringCertificate TypeYes
CaOrganizationstringCertificate AuthorityYes
AlgorithmstringCertificate Signing AlgorithmYes
ValidityPeriodintFixed term of several yearsYes
StatestringCertificate StatusYes
StateCodestringYes
NamestringCertificate NameYes
BrandstringCertificate BrandYes
DomainsstringBind DomainYes
DomainsCountintNumber of DomainsYes
ModestringCertificate Type (Purchase, Trust, Free)Yes
CSROnlineintGenerate CSR online?Yes
CSRstringYes
CSRKeyParameterstringGenerate CSR parameters onlineYes
CSREncryptAlgostringOnline generation of CSR algorithmYes
IssuedDateintRelease Timestamp (seconds)Yes
ExpiredDateintExpiration timestamp (seconds)Yes

ApplicantInfo

Field NameTypeDescription InformationRequired
NamestringApplicant NameYes
PhonestringApplicant’s PhoneYes
EmailstringApplicant’s EmailYes

CompanyInfo

Field NameTypeDescription InformationRequired
NamestringCompany NameYes
DivisionstringDepartmentYes
PhonestringTelephoneYes
AddressstringContact AddressYes
CitystringProvince/CityYes
PostalCodestringPostal CodeYes

OrderInfo

Field NameTypeDescription InformationRequired
ResourceIDstringResource IDYes
DomainsCountintNumber of DomainsYes
PurchaseTimeintPurchase TimeYes

Example

Request Example

https://api.dezai.com/?Action=GetCertificateDetailInfo
&CertificateMode=purchase
&CertificateID=7

Response Example

{
  "Action": "GetCertificateDetailInfoResponse",
  "ApplicantInfo": [
    "LrzNadXe",
    "BQJRVJxy",
    "ClffevkI",
    "ZwjaZITz",
    "oYagollE",
    "JIElzmgO"
  ],
  "CertificateInfo": [
    "TdmUzaEH",
    "zUQjWBQr",
    "NxjVlyUz",
    "iDFxLWwR",
    "agdrDiDq",
    "ULgIbciT",
    "OBrRuztS",
    "ztPyBlnr"
  ],
  "CompanyInfo": "WsUvPcYh",
  "OrderInfo": [
    "kbrFPjha",
    "fzakPjID",
    "AznNhMdG",
    "LQtKEHdw",
    "FjPEnuyL",
    "AcfKpFit",
    "eevTUVBD"
  ],
  "RetCode": 0
}