Thanks, now it works. :)

// Place the file into the string. Dont forget to replace every newline by '\n'!
const char *cRsaKey2048Private ="-----BEGIN RSA PRIVATE KEY-----\nMIIA01 ... 
\n-----END RSA PRIVATE KEY-----"

oKey = xmlSecCryptoAppKeyLoadMemory(
        BAD_CAST cRsaKey2048Private,
        strlen(cRsaKey2048Private),
        xmlSecKeyDataFormatPem,
        0, 0, 0);

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
_______________________________________________
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to