KSC Open API  13.1
Kaspersky Security Center API description
Certificate status SRView

View name:CertStatusSrvViewName


NameTypeDescription
cs_nIdparamIntCertificate ID
cs_nTypeparamIntType of certificate:
  • 0 Unknown
  • 1 User
  • 2 Mail
  • 3 VPN
cs_nPurposeparamIntPurpose of certificate:
  • 0 Unknown
  • 1 KES
  • 2 IOS
cs_nStatusparamIntCertificate status:
  • 0 Not acquired yet
  • 1 Acquired by device, but no status reported yet
  • 2 Certificate installation/creation failure
  • 9 OK status
cs_nSubStatusparamIntCertificate sub-status:
  • 0x0 Default sub-status state
  • 0x0001 Renewing certificate, not acquired yet
  • 0x0002 Internal use certificate ready for use by internal subsystems (like to SSP)
  • 0x0100 Renew required status
  • 0x0200 Renewed status
  • 0x0400 Certificate expired status
  • 0x0800 Certificate published (package published)
  • 0x1000 Certificate installed (package installed on device)
  • 0x00010000 Device did not report status, but closed the session
  • 0x00020000 Failed to notify user
  • 0x00040000 Password expired
  • 0x00080000 Could not generate certificate
  • 0x00100000 Account type is not supported (group or local account)
  • 0x00200000 One-time password expired
  • 0x00400000 Renew failed
  • 0x00800000 Access denied
  • 0x01000000 Failed to create profile/package
cs_nCumulativeStatusparamIntCertificate cumulative status: (cs_nStatus * 2 ^ 32 + cs_nSubStatus)
cs_nCaTypeparamIntCertificate source:
  • 0 Unknown
  • 1 Own
  • 2 PKI
cs_binCertSha1HashparamBinary

Certificate sha1 hash

cs_tmCertExpirationparamDateTimeCertificate expiration date
cs_bAutorenewalDisabledparamBoolThe parameter accepts true if certificate autorenewal was disabled for this certificate (it is always true for CaType = Unknown)
cs_tmStatusChangedparamDateTimeTime when status was set
cs_nRequestIdparamIntCertificate installation request ID
cs_tmRequestAddedparamDateTimeTime when certificate installation request was added
cs_binOwnerIdparamBinaryUser account ID
cs_wstrOwnerDisplayNameparamStringUser display name
cs_strDeviceNameparamStringUnique device name
cs_strDeviceDisplayNameparamStringDevice display name
cs_wstrCertTagparamStringCertificate tag
cs_nPkgTypeparamIntCertificate package type:
  • 0 Non-package
  • 1 UMDM package
  • 2 UMDM configuration string
cs_wstrErrorDescparamStringCertificate error description


See also: