KSC Open API  13.1
Kaspersky Security Center API description
MdmCertCtrlApi::RenewCertificate ( int  nCertId,
params  pCertificate 
)

Renew certificate.

Renew's certificate, in case if certificate was used in iOS MDM profile then profile will be renewed also.

Parameters:
nCertId(int) certificate id to renew
pCertificate(params) certificate parameters
AttributeTypeDescriptionAdditional information
Certificate: (optional, see Common format for certificate params), if omitted it will be generated:
"CPublic"(paramBinary)certificatePEM format
"CPrivate"(paramBinary)private key for "CPublic"encrypted by "CPassword"
"CPKCS12"(paramBinary)certificatePFX format, used if "CPublic" and "CPrivate" are not specified
"CPassword"(paramBinary)password for "CPrivate" or "CPKCS12"encrypted
Other parameters:
"CExpiryPeriod"(paramInt)certificate validity expiry period in days
"CBits"(paramInt)key length
"CPKITemplate"(paramString)PKI template nameencrypted