KSC Open API  13.1
Kaspersky Security Center API description
ServerTransportSettings::SetOrCreateDefaultCertificate ( wstring  szwCertType,
params  pSettings 
)

SetOrCreateDefaultCertificate. It sets or recreates default certificate.

Parameters:
szwCertTypeCertificate type (can be "CERT_TYPE_MOBILE", "CERT_TYPE_EMBEDDED")
pSettingsCertificate creation settings. May contain:
                "CERT_CHANGE_TIMEOUT"       [paramInt], optional, seconds, certificate change timeout for reserve certificates. It should be set for reserve certificate only.
                "TRSP_SETTINGS_CERT_DATA"   [paramParams], optional. Params with certificate settings to create new certificate, may contain:
                    "TRSP_SETTINGS_FQDN"    [paramString], optional, certificates's FQDN, if absent, then current (Administration Server) host's FQDN will be used instead.
                "TRSP_SETTINGS_CERT"        [paramParams], optional. Params with certificate data (see Common format for certificate params).