KSC Open API
Kaspersky Security Center API description
DpeKeyService::GetDeviceKeys3 ( wstring  wstrDeviceId,
[out] array  pKeyInfos 
)

Returns information about host and key for chosen encrypted device.

Parameters:
wstrDeviceId[in] (wstring) Device id
pKeyInfos[out] (array) Array of params with key info. See Srvview encrypted devices on hosts. The difference is that the key is decrypted.