EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Sign a PKCS12 document

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#5007
Posted: 02/15/2008 02:03:39
by Kunte Lin (Basic support level)
Joined: 01/16/2008
Posts: 7

Hi,
I am a delphi programer.
I have a .PFX file.
If I want to use the PFX file to sign a document(using SHA1-RSA).
What component should I use and how to do it?

Sincerely yours,
Kunte Lin.
#5009
Posted: 02/15/2008 02:23:00
by Eugene Mayevski (EldoS Corp.)

The right approach is to use PKCS#7 signing. This is done using ElMessageSigner component.
You will need to load the certifcate(s) from PKCS#12 file into the instance of ElMemoryCertStorage class, then use this storage with ElMessageSigner.


Sincerely yours
Eugene Mayevski
#5010
Posted: 02/15/2008 02:23:17
by Eugene Mayevski (EldoS Corp.)

There's MessagesDemo included that does what you need.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 1292 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!