|
KeyService::EncryptDataForHost |
( |
wstring |
wstrHostId, |
|
|
binary |
pData, |
|
|
[out] binary |
pEncryptedData |
|
) |
| |
Method creates a crypto container for chosen host. Data may be decrypted only locally on host.
- Parameters:
-
wstrHostId | [in] (wstring) Host id. |
pData | [in] (binary) Data to encrypt (Max size is 512 KB). |
pEncryptedData | [out] (binary) Encrypted data. |
- Exceptions:
-
KLSTD::STDE_NOTFOUND | May be thrown if managed host is not synced and key not found in db. You should wait a period of synchronization. |
|