But if I try this, I cannot load the key too:
printf("%s", cRsaKey2048Private_Base64); // Prints the key in Base64 to stdout.
oKey = xmlSecKeyReadMemory(xmlSecKeyDataRsaId,
BAD_CAST cRsaKey2048Private_Base64,
strlen(cRsaKey2048Private_Base64));
If I uses this instead:
xmlSecCryptoAppKeyLoad(sPathToRsaKey2048Priv, xmlSecKeyDataFormatPem, 0, 0, 0);
All worked finde, so the key is valid.
-------- Original-Nachricht --------
Datum: Fri, 17 Aug 2007 08:25:27 -0700
Von: Aleksey Sanin <[EMAIL PROTECTED]>
An: Martin Salo <[EMAIL PROTECTED]>
CC: [email protected]
Betreff: Re: [xmlsec] How load RSA key from RAM?
> > // Convert key into binary:
>
> I don't think you need to do this step.
>
> Aleksey
>
> _______________________________________________
> xmlsec mailing list
> [email protected]
> http://www.aleksey.com/mailman/listinfo/xmlsec
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec