<div>hi,</div>
<div>I am using the following node for <KeyInfo/> under <Signature/></div>
<div><KeyInfo><wsse:SecurityTokenReference><wsse:Reference URI="#binarytoken"/></wsse:SecurityTokenReference></KeyInfo></div>
<div> </div>
<div>When I verify it, of cause not like <X509Data/>, the above <KeyInfo/> can not be loaded by xmlsec library automatically. So how can I load it?</div>
<div>I try to parser the pubkey out from the binarytoken by using:</div>
<div>xmlSecOpenSSLAppKeyFromCertLoadBIO(bio, certformat);</div>
<div>and then load the key into keymanager:</div>
<div>xmlSecCryptoAppDefaultKeysMngrAdoptKey(keysmanager, key);</div>
<div> </div>
<div>I also loaded the trusted ca certificate by using:</div>
<div>xmlSecCryptoAppKeysMngrCertLoad(...);</div>
<div> </div>
<div>But it seem is the loaded trusted certificate does not effect at all. Becase even if I comment the line "xmlSecCryptoAppKeysMngrCertLoad", the verification also works.</div>
<div> </div>
<div>SO I think the trust chain has not been checked.</div>
<div> </div>
<div>Could you tell me how can I load the non-standard <KeyInfo/>, and make the trusted chain checkin work as well.</div>
<div> </div>
<div>Thanks in advance.</div>
<div> </div>
<div>Weizhong Qiang</div>
<div> </div>