I get the following error log:
...\Visual Studio 2005\Projects\Sign1cpp\debug>sign1cpp.exe sign1-mpl.xml 
rsakey.pem
func=:file=..\src\xmldsig.c:line=465:obj=unknown:subj=dsigCtx->c14nMethod == 
NULL:error=100:assertion:
func=:file=..\src\xmldsig.c:line=303:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec
 library function failed:
Error: signature failed

Looks like the signature template does not have correct C14N method.



Or:
...\Visual Studio 2005\Projects\Enc1\debug>Enc2.exe encrypt2-doc.xml deskey.bin
func=:file=..\src\xmlenc.c:line=885:obj=unknown:subj=unknown:error=45:key is 
not found:
func=:file=..\src\xmlenc.c:line=375:obj=unknown:subj=xmlSecEncCtxEncDataNodeRead:error=1:xmlsec
 library function failed:
Error: encryption failed

Looks like the key could not be found (keyname/keytype mismatch).

Aleksey

_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to