SmartCode ViewerX

IScVxUltraSecurity_MSRC4::KeyDataAsHexStr Property


Sets MSRC4 RC4 key in form of HEX string. Each byte must be represented by two hexadecimal characters. If the byte value can be represented by a single hex character it must be padded with zero value. For example, 0F

Syntax

HRESULT IScVxUltraSecurity_MSRC4::put_KeyDataAsHexStr(BSTR strDsmKeyData);

Parameters

strKeyPath
BSTR that holds absolute path to encryption key file. The path can be an absolute path or a relative one.

Remarks

In order for ViewerX to read RC4 key from a memory buffer, you must set IScVxUltraSecurity_MSRC4::KeyStorage property value to DKS_MEMORY.

Return Value

Returns S_OK if successful, or an error value otherwise.otherwise.