[xmlsec] XML Encryption with session key

Yann Le Bars ylebar at ifrance.com
Wed Nov 5 05:48:46 PST 2003


I get the following error when running the encrypt3 example
(http://www.aleksey.com/xmlsec/api/xmlsec-encrypt-with-session-key.html)

func=xmlSecOpenSSLRsaOaepProcess:file=..\src\openssl\kt_rsa.c:line=725:o
bj=rsa-oaep-mgf1p:subj=RSA_public_encrypt(RSA_PKCS1_OAEP_PADDING):error=
4:crypto library function failed:
func=xmlSecOpenSSLRsaOaepExecute:file=..\src\openssl\kt_rsa.c:line=637:o
bj=rsa-oaep-mgf1p:subj=xmlSecOpenSSLRsaOaepProcess:error=1:xmlsec
library function failed:
func=xmlSecTransformDefaultPushBin:file=..\src\transforms.c:line=2173:ob
j=rsa-oaep-mgf1p:subj=xmlSecTransformExecute:error=1:xmlsec library
function failed:final=1
func=xmlSecTransformCtxBinaryExecute:file=..\src\transforms.c:line=1089:
obj=unknown:subj=xmlSecTransformCtxPushBin:error=1:xmlsec library
function failed:dataSize=24
func=xmlSecEncCtxBinaryEncrypt:file=..\src\xmlenc.c:line=322:obj=unknown
:subj=xmlSecTransformCtxBinaryExecute:error=1:xmlsec library function
failed:dataSize=24
func=xmlSecKeyDataEncryptedKeyXmlWrite:file=..\src\keyinfo.c:line=1541:o
bj=enc-key:subj=xmlSecEncCtxBinaryEncrypt:error=1:xmlsec library
function failed:
func=xmlSecKeyInfoNodeWrite:file=..\src\keyinfo.c:line=181:obj=enc-key:s
ubj=xmlSecKeyDataXmlWrite:error=1:xmlsec library function
failed:node=EncryptedKey
func=xmlSecEncCtxEncDataNodeWrite:file=..\src\xmlenc.c:line=948:obj=unkn
own:subj=xmlSecKeyInfoNodeWrite:error=1:xmlsec library function failed:
func=xmlSecEncCtxXmlEncrypt:file=..\src\xmlenc.c:line=443:obj=unknown:su
bj=xmlSecEncCtxEncDataNodeWrite:error=1:xmlsec library function failed:

(I use openssl and windows)

_____________________________________________________________________
Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en temps
réel avec MSN Messenger! C'est gratuit!   http://ifrance.com/_reloc/m

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France




More information about the xmlsec mailing list