Yes you are right. What I hoped you could confirm is that I have the right
call sequence.
I have simplified it further below. What I was not sure of is whether I need
to issue an explicit xmlSecKeysMngrGetKey or is that already implied given I
am using a template. Either way seems to result in a key not found. Am I
missing a call somewhere ?
Thanks
xmlSecInit()
xmlSecCryptoDLInit()
xmlSecCryptoDLLoadLibrary('mscrypto')
xmlsec.xmlSecCryptoAppInit()
xmlSecCryptoInit()
xmlSecParseFile(filename)
xmlDocGetRootElement(parsedDoc)
xmlSecKeysMngrCreate()
xmlsec.xmlSecCryptoAppDefaultKeysMngrInit(keysMngr)
xmlsec.xmlSecDSigCtxCreate(keysMngr)
xmlSecDSigCtxSign(dsigCtx, sigNode)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Aleksey Sanin
Sent: October 13, 2005 9:42 PM
To: [EMAIL PROTECTED]
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] Can't find key using mscrpto
I have successfully wrapped most of libxml2 using Python and ctypes
and was then moving onto xmlsec. Got stalled at the GetKey.
Sorry, can't help you with Python :( May be you should ask on python xmlsec
mailing list?
Aleksey
___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec
___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec