|
DataProtectionApi::ProtectDataForHost |
( |
wstring |
szwHostId, |
|
|
binary |
pData, |
|
|
[out] binary |
pDataProtected |
|
) |
| |
Protects sensitive data to store in SettingsStorage or local task.
- Parameters:
-
szwHostId | (wstring) [in] host name |
pData | (binary) [in] pointer to data |
pDataProtected | (binary) [out] pointer to protected data block. |
- Exceptions:
-
KLSTD::STDE_NOTPERM | host has no public key (possibly it doesn't support data protection or nagent isn't installed there or host belongs to other virtual server) |
KLSTD::STDE_NOFUNC | server doesn't support data protection |
* | |
|