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
security-dev@xml.apache.org
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.