locked
SafeFileApiNativeMethods.IpcfEncryptFileStream Invalid pointer HRESULT: 0x80004003 RRS feed

  • Question

  • Hi, I'm trying to run the RMS SDK 2.1 locally to encrypt a byte stream. I can run SafeFileApiNativeMethods.IpcfEncryptFile without issue, but whenever I try to run SafeFileApiNativeMethods.IpcfEncryptFileStream it gives me an error of "Invalid pointer".

    I'm just using MemoryStream based Streams. I've attached the RMS trace.

    Does anyone know what could be causing the Invalid pointer?

    https://github.com/Azure-Samples/active-directory-dotnet-rms/files/88121/trace.txt

    https://github.com/Azure-Samples/active-directory-dotnet-rms/files/88130/code.cs.txt

    Thanks

    Rob

    Tuesday, January 12, 2016 11:16 PM

All replies

  • Hi Rob,

    I understand this is quite old now; but did you find any fix for this?

    Thanks,
    Christopher

    Thursday, September 22, 2016 9:15 AM