[xmlsec] (no subject)

Aleksey Sanin aleksey at aleksey.com
Wed Sep 6 08:31:52 PDT 2006


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);




More information about the xmlsec mailing list