|
MdmCertCtrlApi::GeneratePackageAsync2 |
( |
params |
pPackageInfo, |
|
|
params |
pCertificate, |
|
|
params |
pRecipients, |
|
|
params |
pNotification, |
|
|
[out] wstring |
wstrRequestId |
|
) |
| |
Publishes installation packages for the users.
- Parameters:
-
| pPackageInfo | (params) contains protocol-specific package information if required, it may be passed in 2 forms.
|
| 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 |
|
| pRecipients | (array) array of notification recipients (paramParams)
Attribute | Type | Description | Additional information |
"ul_binId" | (paramBinary) | universal user id | mandatory |
At least one of the fields below should be set: |
"ul_wstrMail" | (paramString) | EMail address | optional |
"ul_wstrMailExtra" | (paramString) | additional EMail address | optional |
"User_wstrMailAlt" | (paramString) | alternative email | optional |
"ul_wstrTelephoneNumber" | (paramString) | phone number | optional |
"ul_wstrTelephoneExtra" | (paramString) | additional phone number | optional |
"ul_wstrMobile" | (paramString) | mobile phone number | optional |
"User_wstrMobileAlt" | (paramString) | alternative mobile | optional |
|
| pNotification | (params) method of notifying the user
Attribute | Type | Description | Additional information |
Only one of the following must be present (value does not matter): |
"NMwstrNotification" | (paramString) | Notification text for mail | may contain URL% and/or PASS% template |
"NMwstrNotificationSubject" | (paramString) | Notification subject for mail | |
"NMwstrNotificationSimple" | (paramString) | Notification message for SMS | must contain URL% and/or PASS% template |
|
[out] | wstrRequestId | (wstring) identity of asynchronous operation:
- to cancel operation call MdmCertCtrlApi::CancelGeneratePackage;
- to get status body use AsyncActionStateChecker::CheckActionState, lStateCode "1" means OK and "0" means fail;
- to get result use AsyncActionStateChecker::CheckActionState, pStateData contains:
Attribute | Type | Description | Additional information |
"AKLWNGTMDM_GenPkgAsyncResult_Url" | (paramString) | MDM Package Type | if success, for 'File Url' and 'Config Url' package types (see MDM Package Type) |
"AKLWNGTMDM_GenPkgAsyncResult_Pwd" | (paramString) | Password | if success, for 'File Url' package type only |
"AKLWNGTMDM_GenPkgAsyncResult_ErrorDesc" | (paramString) | description of package generation error | if it occurred |
|
Device Operating System Type
Certificate type | Description |
1 | IOS |
2 | Android |
MDM Protocol Type
Certificate type | Description |
1 | IOSMDM |
2 | KES (Mobile) |
4 | EAS (Exchange ActiveSync) |
MDM Package Type
Certificate type | Description |
1 | File Url |
2 | Config Url |
|