xmldsig enveloped-signature xpath transform question

Discussion in 'XML' started by Geir S Eidissen, Dec 27, 2004.

  1. Task: Removing the Signature element from an enveloped-signature xml file.

    The signed xml file is like this (SP=space, LF=line feed (ascii 10)),
    signature contents is not shown here

    <doc>LF
    SPSP<data>this is the data</data>LF
    SPSP<Signature>...
    SPSP</Signature>LF
    </doc>LF

    When removing the signature element according to the XMLDSIG-spec, is it
    correct that the result would be:

    <doc>LF
    SPSP<data>this is the data</data>LF
    SPSP</doc>LF

    Note that the two spaces indenting the <Signature> start tag is kept, and
    placed in front of the </doc> end tag.

    Thankful for any comments on this
    Geir S. Eidissen
     
    Geir S Eidissen, Dec 27, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JJBW
    Replies:
    1
    Views:
    10,333
    Joerg Jooss
    Apr 24, 2004
  2. FET

    Enveloped Encryption

    FET, Aug 26, 2004, in forum: Java
    Replies:
    2
    Views:
    396
  3. kk
    Replies:
    1
    Views:
    575
  4. Gustavo Narea
    Replies:
    14
    Views:
    876
    Gustavo Narea
    Feb 16, 2009
  5. snacktime
    Replies:
    0
    Views:
    190
    snacktime
    Aug 30, 2006
Loading...

Share This Page