|
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
Attribute | Type | Description | Additional information |
Certificate: (optional, see Common format for certificate params), if omitted it will be generated: |
"CPublic" | (paramBinary) | certificate | PEM format |
"CPrivate" | (paramBinary) | private key for "CPublic" | encrypted by "CPassword" |
"CPKCS12" | (paramBinary) | certificate | PFX 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 name | encrypted |
|
|