EldoS | Feel safer!

Software components for data protection, secure storage and transfer

missing contentype, messagedigest attribute

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#37146
Posted: 07/02/2016 20:07:19
by danilo quargnolo (Basic support level)
Joined: 07/02/2016
Posts: 1

Hi, i'mtesting secure blackbox.net
using the example in
..SecureBlackbox.NET\Samples\VB.NET\PKIBlackbox\Desktop\CertTokenDemo
i get certificate from smart card and all is ok
i sign the file and all is ok
but when i verify signed file with third-party-software (DIKE) or (FirmaOK )
there is an error message "sign doesn't have signed attribute contenttype"
"sign doesn't have signed attribute mesagedigest"
How can i resolve it?
Thanks and sorry for my bad english
#37147
Posted: 07/04/2016 04:43:12
by Ken Ivanov (EldoS Corp.)

Hi Danilo,

The above attributes can be switched on by tuning up the TElMessageSigner.SigningOptions property. The sample doesn't do it, so please add the following line of code anywhere before calling the TElMessageSigner.Sign() method:

Signer.SigningOptions = Signer.SigningOptions Or SBMessages.Unit.soInsertMessageDigests;

Ken
#37551
Posted: 08/24/2016 05:43:02
by Creatore Aziendali (Basic support level)
Joined: 08/24/2016
Posts: 2

Hi,
I put in the code
Signer.SigningOptions = Signer.SigningOptions Or SBMessages.Unit.soInsertMessageDigests before calling sign() method
but the problem remain...
maybe i've to set signer contenttype and signer messagedigest, if yes which values...
Thank Ken
#37553
Posted: 08/24/2016 09:28:44
by Eugene Mayevski (EldoS Corp.)

Quote
Creatore Aziendali wrote:
Signer.SigningOptions = Signer.SigningOptions Or SBMessages.Unit.soInsertMessageDigests before calling sign() method but the problem remain...


Could you please clarify, what problem are you having?


Sincerely yours
Eugene Mayevski
#37554
Posted: 08/24/2016 18:28:54
by Creatore Aziendali (Basic support level)
Joined: 08/24/2016
Posts: 2

Hi, everything seems ok but verifying signed files i get an error..
(look at the attached file)

Regards
Danilo


#37567
Posted: 08/25/2016 19:27:46
by Eugene Mayevski (EldoS Corp.)

I have moved your screenshot to the HelpDesk for checking, but this will happen only on Monday.


Sincerely yours
Eugene Mayevski
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages

Reply

Statistics

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