[xmlsec] rsa keys in a special format

2008-05-06 Thread Rolando Abarca
ich is the same thing that xmlsec outputs in the template xml in the RSAKeyValue node. Is there a simple way to load the key (with xmlsec) using the info above? I need to verify a chunk of xml that was signed in a special format (not xmlsig), and the key is provided in that way... :-S rega

[xmlsec] verifying with key in XML

2008-05-08 Thread Rolando Abarca
xml? like this: ... ... ... ... the xml was built with libxml and signed with xmlsec (using a dinamically created template). regards, -- Rolando Abarca Scio Desarrollos Ltda. http://www.scio.cl - [EMAIL PROTECTED] -- Rolando Abarca M. _

[xmlsec] Re: verifying with key in XML

2008-05-08 Thread Rolando Abarca
quot;Could not read KeyInfo"); } if(xmlSecDSigCtxVerify(dsigCtx, node) < 0) { xmlSecKeyDestroy(dsigCtx->signKey); xmlSecDSigCtxDestroy(dsigCtx); rb_raise(rb_eXMLError, "Failed to verify signature"); } It's working just fine now :-D On May 8, 2

[xmlsec] question about dsigCtx->status

2008-06-20 Thread Rolando Abarca
is so far the only way I've found to preserve the whitespace (is there any other way?) regards -- Rolando Abarca M. ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec

[xmlsec] Re: question about dsigCtx->status

2008-06-20 Thread Rolando Abarca
data. The key_file and cert_file are both the same (it's a PEM file). Any ideas on what could be the problem? thanks a lot for any hint. On Jun 20, 2008, at 12:26 PM, Rolando Abarca wrote: I'm trying to verify a XML I signed (using xmlsec), but I keep getting xmlSecDSigStatusUnkn

Re: [xmlsec] Re: question about dsigCtx->status

2008-06-24 Thread Rolando Abarca
. Aleksey -- Rolando Abarca M. ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec