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