[xmlsec] (no subject)

Jürgen Heiss jheiss at Mesonic.com
Wed Sep 6 23:57:12 PDT 2006

How can I turn off Keyname lookups? 

-----Original Message-----
From: Aleksey Sanin [mailto:aleksey at aleksey.com] 
Sent: Mittwoch, 06. September 2006 17:32
To: Jürgen Heiss
Cc: xmlsec at 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.


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