Encryption
These functions enable the encryption, decryption, querying, and modification of encrypted data volumes.
Functions
HSDCError HSDCAPI HSDCEncryptedVolumeGetStatus (const wchar_t *path, char **pJstr)
Retrieves information, including the encrypted volume identifier, of an encrypted volume.
HSDCError HSDCAPI HSDCEncryptedVolumeEncrypt (const wchar_t *path, const char *jstr)
Starts a volume encryption. This is an asynchronous operation, and feedback is delivered through the callback registered with HSDCRegisterNotificationProcessor.
HSDCError HSDCAPI HSDCEncryptedVolumeUpgrade (const wchar_t *path, const char *jstr)
Starts an encrypted volume upgrade. This is an asynchronous operation, and feedback is delivered through the callback registered with HSDCRegisterNotificationProcessor.
HSDCError HSDCAPI HSDCEncryptedVolumeChangePassword (const wchar_t *path, const char *jstr)
Changes the password of an encrypted volume.
HSDCError HSDCAPI HSDCEncryptedVolumeDecrypt (const wchar_t *path, const char *jstr)
Decrypts a volume previously encrypted by Device Control.
HSDCError HSDCAPI HSDCEncryptedVolumeImport (const wchar_t *path, const char *jstr)
Unlocks an encrypted volume.
HSDCError HSDCAPI HSDCEncryptedVolumeExport (const wchar_t *path, const char *jstr, const wchar_t *folder)
Exports encrypted volume access into either the metadata area of the volume or a password protected file.
Function Documentation
HSDCEncryptedVolumeGetStatus()
HSDCError HSDCAPI HSDCEncryptedVolumeGetStatus HSDCError HSDCAPI HSDCEncryptedVolumeGetStatus
Retrieves information, including the encrypted volume identifier, of an encrypted volume.
Parameters
path |
Unicode string identifying the volume. |
pJstr |
[out] Returns a JSON string containing the following information: Copy
|
HSDCEncryptedVolumeEncrypt()
HSDCError HSDCAPI HSDCEncryptedVolumeEncrypt ( const wchar_t * path, const char * jstr )
Starts a volume encryption. This is an asynchronous operation, and feedback is delivered through the callback registered with HSDCRegisterNotificationProcessor.
Parameters
path |
Unicode string identifying the volume. |
jstr |
Copy
|
HSDCEncryptedVolumeUpgrade()
HSDCError HSDCAPI HSDCEncryptedVolumeUpgrade ( const wchar_t * path, const char * jstr )
Starts an encrypted volume upgrade. This is an asynchronous operation, and feedback is delivered through the callback registered with HSDCRegisterNotificationProcessor.
Parameters
path |
Unicode string identifying the volume. |
jstr |
JSON string containing the input information. Copy
|
HSDCEncryptedVolumeChangePassword()
HSDCError HSDCAPI HSDCEncryptedVolumeChangePassword ( const wchar_t * path, const char * jstr )
Changes the password of an encrypted volume.
Parameters
path |
Unicode string identifying the volume. |
jstr |
JSON string containing the input information. Copy
|
HSDCEncryptedVolumeDecrypt()
HSDCError HSDCAPI HSDCEncryptedVolumeDecrypt ( const wchar_t * path, const char * jstr )
Decrypts a volume previously encrypted by Device Control.
Parameters
path |
Unicode string identifying the volume. |
jstr |
JSON string containing the input information. Not used, but may not be Copy
|
HSDCEncryptedVolumeImport()
HSDCError HSDCAPI HSDCEncryptedVolumeImport ( const wchar_t * path, const char * jstr )
Unlocks an encrypted volume.
Parameters
path |
Unicode string identifying the volume. |
jstr |
JSON string containing the input information. An optional folder can be provided if the export has been done in a file, local can be set to true to restrict local access checks (that is, not trying central encryption policies). Copy
|
HSDCEncryptedVolumeExport()
HSDCError HSDCAPI HSDCEncryptedVolumeExport ( const wchar_t * path, const char * jstr, const wchar_t * folder )
Exports encrypted volume access into either the metadata area of the volume or a password protected file.
Parameters
path |
Unicode string identifying the volume. |
jstr |
Copy
|
folder |
(Optional) Unicode string containing an export folder. The filename is dictated by the encrypted volume id. |