Aha, what the hell did my mind. Get it now.

Thanks,
Andrew

Aleksey Sanin wrote:

Not true. First time we search the trusted store for "Subject" of
current certificate and the second time we search for "Issuer".
We need to do both to catch two different situations:
 - trusted self-signed cert
 - trusted cert signs our cert

Aleksey


Andrew Fan wrote:

Why double get the same cert from the trusted store before and after the self-singed cert checking? Otherwise, looks good, and much more better than mine coding style. :-P

-Andrew


_______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to