[xmlsec] Encrypt RSA Key with a symetric key

Mike Stone mstone at sqldata.com
Wed Dec 18 06:29:46 PST 2002


Aleksey,

I want to encrypt an RSA key using a generated session key but it always fails because the readBin and writeBin function pointers are NULL for RSA keys (xmlsecRsaKeyId) but required by the xmlSecKeyWriteBin in order to fill in the EncryptedKey element.

Is there a way to encrypt RSA keys?

Thanks, 
MS




More information about the xmlsec mailing list