EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PDF signing - sha256RSA certificate

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#12674
Posted: 03/03/2010 09:22:48
by Dušan Pernický (Basic support level)
Joined: 03/03/2010
Posts: 4

My application could not sign PDF document by certificate with sha256RSA algorithm on Windows 7. There is no problem on Windows XP or with sha1 on Windows 7.

Error: No signing signing certificate found

I used code from sample application Delphi - PDFBlackBox - Signer

Is it posible to make changes in this sample application to work on Windows 7 with sha256RSA algorithm certificate?
#12676
Posted: 03/03/2010 10:09:21
by Dmytro Bogatskyy (EldoS Corp.)

Quote
Error: No signing signing certificate found

This error indicates that PublicKeyHandler.CertStorage is empty or neither certificate in PublicKeyHandler.CertStorage contain a private key. Please recheck this.
#12677
Posted: 03/03/2010 10:28:06
by Dušan Pernický (Basic support level)
Joined: 03/03/2010
Posts: 4

TElX509Certificate.PrivateKeyExists returns false.

What can I do? I import PFX file the same way on Win7 and WinXP.
#12678
Posted: 03/03/2010 10:43:28
by Dušan Pernický (Basic support level)
Joined: 03/03/2010
Posts: 4

I load certificates from TElWinCertStorage - StorageType: stSystem.
This certificate with sha256RSA does not contains private key.
#12679
Posted: 03/03/2010 11:00:05
by Santiago CastaƱo (Standard support level)
Joined: 04/16/2006
Posts: 155

Do you use lastest SBB builds? I've found in the past an error on Seven that prevented to use certificates larger than 1024 bits to work correctly on CryptoAPI, or just load the certificate from PFX and test it...
#12681
Posted: 03/03/2010 11:32:28
by Dušan Pernický (Basic support level)
Joined: 03/03/2010
Posts: 4

I did not use last version. It was the reason.

Thank you Santiago
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

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