Hi,

Can you please remove me from the distribution list ?

Thanks and regards
Nils

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 29. März 2006 09:50
To: [email protected]
Subject: Signing only a few nodes, not the whole document





Hi all,

I'm a newbie and I don't have much knowledge about xml-security yet....

I want to sign only some nodes in my document.
As I understand it, this can be made with an id-attribute.
This is not really the way I want to do it.
If I got it right, it should be possible to do something like this if I want
to sign all creditCardNo nodes:

DSIGReference* ref =
sig->createReference(MAKE_UNICODE_STRING("#xpointer(//creditCardNo)"));

which now results in the following error:
=> Message: Unsupported Xpointer expression found

or

DSIGReference* ref =
sig->createReference(MAKE_UNICODE_STRING("//creditCardNo"));
=> Exception message:The URL used an unsupported protocol

None of my approaches work. Did I do wrong, or is this feature not
implemented?

Now, is this the same problem as Berin discusses in his post from
2005-07-14?
(See below.)

If anyone has a code samles with signing only a few nodes in a document I
would appreciate if I could get such an example.


Moreover, On my wish list for the 1.3 release is a few more samples that are
a bit more advanced in the distro.


Best regards and thanks a lot for all good work done so far!
Peter



                                                                           
             Berin Lautenbach                                              
             <[EMAIL PROTECTED]                                             
             mes.org>                                                   To 
                                       [email protected]         
             2005-07-04 14:34                                           cc 
                                                                           
                                                                   Subject 
             Please respond to         Use of URIs rather than enums in    
             [EMAIL PROTECTED]         C++ library                         
                apache.org                                                 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Peoples,

I have done some work to implement an algorithm mapper for the signature and
digest algorithms in the C++ library.  As part of this, I have implemented
new methods that allow callers to create new signatures or
references using URIs rather than the current enumerated type.   This is
for two reasons

....

             Berin





*******************Internet Email Confidentiality Footer*******************
The contents of this e-mail message (including any attachments hereto) are
confidential to and are intended to be conveyed for the use of the recipient
to whom it is addressed only. If you receive this transmission in error,
please notify the sender of this immediately and delete the message from
your system. Any distribution, reproduction or use of this message by
someone other than recipient is not authorized and may be unlawful.


--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express 
written permission of the sender. If you are not the intended recipient, please 
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender. 
--------------------------------------------------------------------------------

Reply via email to