EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Remember a Certificate

Posted: 12/08/2006 05:05:25
by ASSOES (Standard support level)
Joined: 12/05/2006
Posts: 2


I want to remember a TElX509Certificate selected by the user (every time the program starts the certificate must be assigned again).

What is the better way to do this ?

Posted: 12/08/2006 05:13:49
by Eugene Mayevski (Team)

If the certificate is in external file, you can remember just a file name.
If the certificate is located in Windows certificate storage or on smart card, then you need to save the certificate's public key hash (use TElX509Certificate.GetHashSHA1() method). In case of smart card (if you access the certificate using TElPKCS11CertStorage class) you also need to save device identifier (see TElPKCS11Module.UniqueID property).

To find the certificate by hash use TElCertificateLookup class.

See SecureBlackbox knowledgebase for details about using lookup class.

Sincerely yours
Eugene Mayevski



Topic viewed 2752 times

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


Back to top

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

Got it!