On Wed, 2004-09-29 at 12:55, Monica Lau wrote:
> Hi,
>  
> I'm a newbie on XML signatures.  I've been reading up on it, and I
> have two questions below that I hope Xerces/XML folks can help me out
> with:
>  
> (1) In the DOM creation, does Xerces support creating the <signature>
> element?  Is there special API to create this element or is this
> treated as regular element creations using the standard
> "createElement()" API?
>  
> (2) This is probably a stupid question, but I really need to ask: Do
> we invoke the signature generation algorithms manually (ie, DSA,
> SHA-1, etc.) to generate the signature or does Xerces automatically
> invoke these algorithms in the DOM creation?  I don't believe Xerces
> or any other XML parser automatically invoke the algorithms to
> generate the signatures, right?  The <... Algorithm> elements (ie,
> <SignatureMethod Algorithm="..." />) are essentially used to tell the
> recipient what algorithms were used to generate the signature (hence,
> describing the data).

I'm not aware of Xerces providing any xml signature support.
I'm pretty sure you have to implement this yourself, then add the
signature info to the document using standard createElement() calls.

Regards,

Simon


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to