[xmlsec] verify a signed xml with a public key string

Aleksey Sanin aleksey at aleksey.com
Tue Dec 19 07:28:28 PST 2006


Again, what is the format in the memory buffer? :)

Aleksey

Yeshwanth C wrote:
> Hi,
>  
> I want to verify a signed xml with the following public key that I have 
> in a file.
>   char pubkey[2048] = "30 81 89 02 81 81 00 cf 68 aa 15 49 ad 19 06 e0 
> 36 dc d6 72 e1 a4 d5 87 d5 7e 3e 53 8e 64 b5 cf a4 64 3e 87 ea 01 be 17 
> f2 e6 a8 0d 98 11 98 02 28 9a 96 ce 32 c6 f0 c5 78 cb ff 2b d1 70 e6 39 
> f0 9c ff a8 bb e5 af e1 db 31 69 86 ee 5f 6a 49 7b 85 9f ce b2 10 cb 1e 
> 07 ef 92 be 2d 88 8a a3 f0 91 39 13 a5 99 cc 50 91 ab 86 de 2f 3a ec 76 
> 01 bf 14 47 8f e8 f5 a8 09 da 87 57 31 c2 01 7f 1c ee 1d 74 42 fa 85 02 
> 03 01 00 01";
> How can I do it?
>  
> Can I use xmlSecCryptoAppKeyLoadMemory() to do it?
> What type of format should be specified?
> Regards,
> Yesh.
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec



More information about the xmlsec mailing list