Re: [xmlsec] XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN flag

2012-05-10 Thread Aleksey Sanin
Hm, I think this is exactly what "--enabled-key-data" xmlsec1 command line option does (see enabledKeyData member of KeyInfo). Aleksey On 5/10/12 2:07 AM, Frank Gross wrote: > Hi, actually with that flag I want the xmlSecKeysMngrGetKey() to > restrict the key lookup to the name only. For instance

Re: [xmlsec] XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN flag

2012-05-10 Thread Frank Gross
Hi, actually with that flag I want the xmlSecKeysMngrGetKey() to restrict the key lookup to the name only. For instance, I may have several keys of same type and key size in the key store but for different purpose. Without that flag, the manager tries to find a key that matches the key type and

Re: [xmlsec] XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN flag

2012-04-27 Thread Aleksey Sanin
Sorry, I am not sure I understand what you are trying to do with this patch. The xmlSecKeysMngrGetKey() already stops if the key is not found. Aleksey On 4/27/12 1:45 AM, Frank Gross wrote: > Hi, I modified the library to support that flag as following. It is > working for me, but I don't know if

Re: [xmlsec] XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN flag

2012-04-27 Thread Frank Gross
Hi, I modified the library to support that flag as following. It is working for me, but I don't know if it is ok. Could you have a look and tell me what you think ,thanks ? Modified: gws/branches/gws-ext-libs-2.50/lib-aleksey-xmlsec1/src/src/keys.c ==

Re: [xmlsec] XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN flag

2012-04-26 Thread Aleksey Sanin
Probably not. Aleksey On 4/26/12 8:13 AM, Frank Gross wrote: > Hi, > > I would like to use the flag called > XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN, but it doesn't seem to > work. It is defined in keyinfo.h but nowhere else. Is this flag active ? > > Regards, > > Frank > __

[xmlsec] XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN flag

2012-04-26 Thread Frank Gross
Hi, I would like to use the flag called XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN, but it doesn't seem to work. It is defined in keyinfo.h but nowhere else. Is this flag active ? Regards, Frank -- Frank GROSS Software Engineer - Web Services Four J's Development Tools - http://www.4js.c