[vbox-dev] Check for disk encryption
klaus.espenlaub at oracle.com
Tue May 3 11:19:31 UTC 2016
should IMedium.getProperty("CRYPT/KeyStore", val.asOutParam()) (using
C++ish pseudocode) work, i.e. leave val as empty when the medium is not
encrypted and return some non-empty string if it is encrypted?
Sounds like it's a lot cheaper than getting all properties and fishing
out what one wants...
On 30.04.2016 05:47, Ian Chapman wrote:
> Hi Alexander,
> Perfect, exactly what I need, thanks.
>> you can check whether the „CRYPT/KeyStore“ medium property exists by
>> all properties with IMedium::getProperties.
>>> On 28.04.2016 12:52, Ian Chapman <packages at amiga-hardware.com> wrote:
>>> Is it possible with the current API to check wether an IMedium is
>>> encrypted or not _without_ VirtualBox returning an error if it isn't?
>>> Ian Chapman.
More information about the vbox-dev