Decrypting PKCS#7 encrypted data in C#

Posted by Johnny Egeland on Stack Overflow See other posts from Stack Overflow or by Johnny Egeland
Published on 2009-10-01T13:29:26Z Indexed on 2010/03/08 5:51 UTC
Read the original article Hit count: 302

Filed under:
|
|
|

I am working on a solution that needs to decrypt PKCS#7 encrypted data, preferably in C#. As far as I can see, the .NET api has support for this through the System.Security.Cryptography.Pkcs namespace. However it seems that the implementation can only work on byte arrays. So what do I do when I have a large encrypted file that does not fit into the memory?

Am I missing something here, or is there another way to do this on a Stream level instead of using bytearrays?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET