|Applies To||RSA Key Manager C Client|
RSA Key Manager C# Client
|Issue||RKM C/C# Client: Resolve error code 4780001 (KMS_INVALID_ARGUMENT) or 10002 (R_KM_ERROR_IO)|
RKM C/C# Client returns error 4780001 or 10002
RKM C# Client returns
Error: Unexpected RKMException with error code :
10002: Generic IO error occurred. This error is also returned if the cache password is not correct for an existing persistant cache file.
|Cause||The cache password does not match the one used for an existing persistent cache file|
The configuration directive "persistentCacheFile" points to a file that does not exist
KMSDecrypt() is called with the allocated size for the output data buffer less than the output length parameter
|Resolution||Make sure that the cache password specified matches the one used for the existing persistent cache file (or delete the cache file)|
Make sure that the configuration directive "persistentCacheFile" points to a file that exists and is readable.
Make sure that the output data buffer is large enough to hold the decrypted data
|Legacy Article ID||a50131|