[xmlsec] rsa keys in a special format

2008-05-06 Thread Rolando Abarca

Hello all,
I'm currently dealing with the following kind of RSA encoded keys:

RSAPK
M.../M
E.../E
/RSAPK

As you might assume, the value of M is the module (base64 encoded of  
the binary stream that represents the number) and E is the exponent  
(in the same format) of the public RSA key, which 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


regards,
--
Rolando Abarca M.

___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec


Re: [xmlsec] rsa keys in a special format

2008-05-06 Thread Aleksey Sanin

How about xlst transform before loading the key? :)

Aleksey

Rolando Abarca wrote:

Hello all,
I'm currently dealing with the following kind of RSA encoded keys:

RSAPK
M.../M
E.../E
/RSAPK

As you might assume, the value of M is the module (base64 encoded of the 
binary stream that represents the number) and E is the exponent (in the 
same format) of the public RSA key, which 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


regards,

___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec