EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to decrypt a file using TElX509Certificate in C#

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#1159
Posted: 09/08/2006 17:30:54
by rsm  (Basic support level)
Joined: 04/18/2006
Posts: 14

Hi,

I have a pfx cert file a.pfx used to encrypt a file say b.txt. I want to load a.pfx in TElX509Certificate and decrypt file b.txt programatically.

What method of TElX509Certificate do I need to use?

Thanks,
rsm
-----
#1160
Posted: 09/08/2006 17:44:02
by Ken Ivanov (EldoS Corp.)

It depends on format used to store the encrypted data. For encrypted messages stored in PKCS#7 format, please consider using TElMessageDecryptor class (see MessagesDemo sample for details).

Reply

Statistics

Topic viewed 4561 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!