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

Yeshwanth C cyeshwanth at gmail.com
Tue Dec 19 06:17:41 PST 2006


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20061219/32570fd0/attachment-0002.htm


More information about the xmlsec mailing list