fpConfigureRMS()
This function provides a way to set the credentials required to access RMS protected files. After you set these credentials, the
Syntax
KVErrorCode pascal *fpConfigureRMS( void* pContext, KVRMSCredentials* credentials);
Arguments
pContext
|
A pointer returned from |
credentials
|
A pointer to a Set this value to NULL to discard the existing credentials. You can call the function again with new credentials to override the existing configuration. Before you fill out the |
Returns
The return value is an error code. See KVErrorCode.
If the function returns KVERR_General
, you can retrieve the extended error code by using the fpGetKvErrorCodeEx()
function (see
Discussion
-
This function has an effect only when you export or extract documents in-process. KeyView does not currently support exporting or extracting RMS protected documents out-of-process.
-
RMS decryption is licensed as an additional product. If your license does not allow for RMS decryption, this function returns the extended error code
KVError_ReaderUsageDenied
. -
To access the protected content, KeyView must make an HTTP request. The time required to do so means that KeyView processes protected files slower than unprotected files.
-
By default, KeyView uses the system proxy when it makes HTTP requests to obtain the key. You can also specify the proxy manually in the configuration file. See Configure the Proxy for RMS.
-
This function is supported only on Windows 64-bit, Linux 64-bit, Solaris SPARC 64-bit, and Solaris x86 64-bit. On Linux 64-bit, the minimum supported versions of particular distributions are:
-
Red Hat Enterprise Linux (RHEL) 6
-
CentOS 6
-
SuSE Linux Enterprise Server (SLES) 12
-
CAUTION: When