|
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
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" | encrupted by "CPassword" |
"CPKCS12" | (paramBinary) | certificate | PFX 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 name | encrupted |
|
|