EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Certificates from my certificate store

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 02/05/2009 09:23:36
by Szymon Piskula (Basic support level)
Joined: 02/05/2009
Posts: 17

The piece of code (provided by your examples)
            for (int i = 0; i < SystemStore.Count; i++)

returns, in case of my computer, 2 certificates, therefore 2 of them are available for signing.

But when i chceck my private certificates at internet explorer->tool->internet options ->content ->certificates -> Personal Tab, there is onlu ONE cert present.

why is that? shouldn the code present only certs available in the windwo i am looking into IE ? what can i do to list only certs present in IE ?
Posted: 02/05/2009 09:32:07
by Ken Ivanov (Team)

I am not sure if IE shows you all the available certificates. Please use MMC to view the actual contents of the store:
1) Go to Start->Run, type "mmc" and click "OK",
2) On the MMC window that appears, go to File->Add/Remove snap-in menu,
3) Click "Add". Select the "Certificates" item in the list and then click another "Add" button,
4) Select "My user account" radio button and click "Finish",
5) Close the "Add standalone snap-in" dialog and click OK on the "Add/Remove snap-in" dialog,
6) Expand the "Certificates->Personal->Certificates" node in the tree at the left. The list at the right will show you the correct contents of your MY store.
Posted: 02/05/2009 10:18:36
by Szymon Piskula (Basic support level)
Joined: 02/05/2009
Posts: 17

Ok now i can see those certs. I thoutght it would be a sollution to my problem but it isn't.

When i choose certificate that is visible in IE, signing of PDF goes well. When i choose one visible only in MMC, during signing in your sample app TinySIgner throws an exception at line


with message No signing certificates found. Why could it be? Type of certificate is somehow incopatible with expected? If so, how to check what conditions must be met to sign a pdf with chosen certificate ?
Posted: 02/05/2009 10:27:25
by Ken Ivanov (Team)

It is likely that the certificate does not have a corresponding private key, which is required for signing. Please open the certificate by double-clicking on it and check if the corresponding private key is available (please see the attached screen shot).



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