EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Signing XML with PKCS11 API

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#25379
Posted: 06/21/2013 06:26:50
by Popeye  (Basic support level)
Joined: 10/22/2010
Posts: 10

Hi,
We are using secureblacbox components for signing xml with XAdES.
We have a problem,

If using Crypto API output XML like this
Code
<ds:RSAKeyValue>
  <ds:Modulus>
  ...
  </ds:Modulus>
  <ds:Exponent>AQAB</ds:Exponent>
</ds:RSAKeyValue>


But if using PKCS11 Api like this
Code
<ds:RSAKeyValue>
  <ds:Modulus>
  ...
  </ds:Modulus>
  <ds:Exponent/>
</ds:RSAKeyValue>


Why the Exponent tag has empty value when using PKCS11.

thanks for help
#25380
Posted: 06/21/2013 06:32:03
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Could you please clarify what exact version and edition of SecureBlackbox do you use.

Also if you have a license, please link the license ticket to your user account. The ticket itself and the procedure of its use are specified in the registration e-mail that was sent to you upon license purchase. If you don't have the license ticket, please contact the person from which you have obtained the license key (the one in your source code) for a license ticket.
#26286
Posted: 09/04/2013 01:39:32
by Namık Özgür Aydın (Standard support level)
Joined: 06/26/2013
Posts: 2

Hi,

We have experienced the problem stated above. When we use PKCS11 API while signing, the exponent node value is "AA==". We want it to be "AQAB". How can we get exponent value as "AQAB" when PKCS11 API is used?

Thanks for your help.
#26287
Posted: 09/04/2013 02:07:40
by Vsevolod Ievgiienko (EldoS Corp.)

Hello.

The problem is in your token that erroneously report public exponent as a single zero byte. Do you use the latest version of SecureBlackbox? Please try it. I see that a workaround is already implemented in our code.
#26292
Posted: 09/04/2013 06:12:53
by Namık Özgür Aydın (Standard support level)
Joined: 06/26/2013
Posts: 2

Hi,

When we use latest version of SecureBlackbox, the exponent value is "AQAB".

Thank you for answering our questions as soon as possible.
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.

Reply

Statistics

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