How can I turn off Keyname lookups? -----Original Message----- From: Aleksey Sanin [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 06. September 2006 17:32 To: Jürgen Heiss Cc: xmlsec@aleksey.com Subject: Re: [xmlsec] (no subject)
Most likely, xmlsec finds the key in the KeyManager by the key name. You can disable KeyName lookups though. Aleksey Jürgen Heiss wrote: > Hi, > > this is a signed file, which has a Keyvalue tag. > When I try to verify this file the datalist is empty. > But the certificate exists in the signed file how can i access the > certificate? Any ideas? > > > > key = dsigCtx.signKey; > size = xmlSecPtrListGetSize(key->dataList); > sdata = (*((dsigCtx).signKey)).dataList; > > tmp = (xmlSecKeyDataPtr)xmlSecPtrListGetItem(key->dataList, pos); > x509 = xmlSecMSCryptoKeyDataX509GetCert(tmp,pos); _______________________________________________ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec