[xmlsec] RSA and DSA
Yeshwanth C
cyeshwanth at gmail.com
Wed Dec 20 07:09:02 PST 2006
Hi,
Does xmlsec not support DSA key pairs. I just tried with DSA key pairs and
it gave an error message as follows:-
func=:file=..\src\xmldsig.c:line=871:obj=unknown:
subj=unknown:
error=45:key is not found: ;
last error=0 (0x00000000);
last error msg=The operation completed successfully.
Regards
Yesh.
On 12/19/06, Aleksey Sanin <aleksey at aleksey.com> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20061220/83fc464d/attachment-0002.htm
More information about the xmlsec
mailing list