KSC Open API  13.0
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(paramLong) certificate id to renew
pCertificate(paramParams) 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"encrupted by "CPassword"
"CPKCS12"(paramBinary)certificatePFX format, used if "CPublic" and "CPrivate" are not specified
"CPassword"(paramBinary)password for "CPrivate" or "CPKCS12"encrupted
Other parameters:
"CExpiryPeriod"(paramInt)certificate validity expiry period in days
"CBits"(paramInt)key length
"CPKITemplate"(paramString)PKI template nameencrupted