Attempting to encrypt the file results in an error: Unhandled exception. Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: Cannot find the requested object.