EldoS | Feel safer!

Software components for data protection, secure storage and transfer

I need help.

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#1436
Posted: 10/12/2006 17:03:26
by Stanko Milošev (Standard support level)
Joined: 10/08/2006
Posts: 37

Hello,

company to which we should sent our signed documents request nodes to be exactly in schema as they gave to us. For example, if SignedInfo node is moved little left, signature will not be correct, so my first question, is there any function which udates existing nodes?

Second, when I create signature using xmlEnc library, I get two X509Certificate nodes but with SBB I get only one? Why?

I attached example I created with SBB (eul00059-sbb.xml), and company which check our signatures claim that it is wrong, and second one (eul00059-s.xml), which I created with xmlEnc library, and which have two X509Certificate nodes, for which that company said it is good.

It is VCL edition, and I created this XML document with sample I get from SecureBlackBox.

Thank you,
Stanko.


[ Download ]
#1439
Posted: 10/13/2006 04:58:23
by Stanko Milošev (Standard support level)
Joined: 10/08/2006
Posts: 37

I have one more question,

how can I instead of:

<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">

Generate just:

<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">?

Thank you, once again,
Stanko.
#1440
Posted: 10/13/2006 05:11:39
by Eugene Mayevski (EldoS Corp.)

Quote
Stanko Milošev wrote:
For example, if SignedInfo node is moved little left, signature will not be correct, so my first question, is there any function which udates existing nodes?


Please explain what you mean by this. How can the node be moved "a little left"?

Quote
Stanko Milošev wrote:
Second, when I create signature using xmlEnc library, I get two X509Certificate nodes but with SBB I get only one? Why?


SecureBlackbox included only the end-entity certificate, while the other tool included the CA certificate for this end-entity certificate.



Sincerely yours
Eugene Mayevski
#1441
Posted: 10/13/2006 05:21:28
by Stanko Milošev (Standard support level)
Joined: 10/08/2006
Posts: 37

Quote

Please explain what you mean by this. How can the node be moved "a little left"?


Well I moved it by "hand", in notepad.

Quote

SecureBlackbox included only the end-entity certificate, while the other tool included the CA certificate for this end-entity certificate.


I understand this, I am sorry for being so stuped, and for taking your time.

All I need now is my second question, how to get rid of
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"?

Thank you for your help, and making great components!
#1442
Posted: 10/13/2006 05:25:21
by Eugene Mayevski (EldoS Corp.)

Quote
Stanko Milošev wrote:
Well I moved it by "hand", in notepad.


XML doesn't depend on spaces between tags. This should not be the source of your problem. If the target system relies on formatting, then this is not XML-compliant system and we can't help here.

The developer will answer the second question.


Sincerely yours
Eugene Mayevski
#1447
Posted: 10/13/2006 14:17:33
by Dmytro Bogatskyy (EldoS Corp.)

Quote
All I need now is my second question, how to get rid of
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"?

Sorry, at the moment it couldn't be done without midification of SBB source code. I'll add a property for this for next build.
#4360
Posted: 11/21/2007 08:07:22
by Mel K (Basic support level)
Joined: 11/21/2007
Posts: 8

Hi

Have already the property to get rid of
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"?

My problem is that the element signaturevalue is generating incorrecting. I think because xmlns:ds="http://www.w3.org/2000/09/xmldsig#, I don´t need this sentence in xml signature.

Best regards
Mel
#4371
Posted: 11/21/2007 12:59:52
by Dmytro Bogatskyy (EldoS Corp.)

Quote
Have already the property to get rid of
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"?

Yes, after ElXMLSigner.Sign method insert following line:
ElXMLSigner.Signature.SignaturePrefix := '#default'
the default value is: '#default ds'
Quote
My problem is that the element signaturevalue is generating incorrecting. I think because xmlns:ds="http://www.w3.org/2000/09/xmldsig#, I don´t need this sentence in xml signature.

This is should not be a problem, it is logically the same, but have different look and signature value.
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

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