<html><head><style type="text/css"><!-- DIV {margin:0px} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>Sure, agree. But the KeyName means something specific in the mscrypto world as xmlsec is interpretting it as the MS "friendly" cert name in the crypto store. I would contend that priority should be given to any included X509Certificate when verifying. This is one of the reasons signers attempt to make things as easy as possible for the verifier by including such things. Even CRLs and issuer certs make verification almost totally independent of external dependencies.</DIV>
<DIV> </DIV>
<DIV>Does it not make sense to check X509Certificate first ? Or must we consciously remove KeyName to avoid problems in the mscrypto world where the chances of actually having the public verification certificate in the verifiers mscrypto store is remote at best ?</DIV>
<DIV> </DIV>
<DIV>Ed <BR><BR>----- Original Message ----<BR>From: Aleksey Sanin <aleksey@aleksey.com><BR>To: ed.shallow@rogers.com<BR>Cc: Jürgen Heiss <jheiss@Mesonic.com>; xmlsec@aleksey.com<BR>Sent: Wednesday, May 31, 2006 11:54:26 AM<BR>Subject: Re: [xmlsec] RE: Need urgent help for verify<BR><BR></DIV>
<DIV>> I would wager, but Alexsey is the expert, that it might be a good idea <BR>> to ignore the KeyName if an X509Certificate is present when Verifying. <BR>> After all the reason it got there in the first place is that it was used <BR>> to select the cert/key when you originally signed it with xmlsec and is <BR>> left over from the sign operation. It will verify fine if you manually <BR>> remove the KeyName. Comments Alexsey ? <BR><BR>Well, when you verify a signature, you have to find a key. If both<BR>KeyName and Certificate are present then you have to try both since<BR>you don't know which one will work....<BR><BR><BR>Aleksey<BR><BR><BR>_______________________________________________<BR>xmlsec mailing list<BR>xmlsec@aleksey.com<BR><A href="http://www.aleksey.com/mailman/listinfo/xmlsec" target=_blank>http://www.aleksey.com/mailman/listinfo/xmlsec</A></DIV></DIV></div></body></html>