Hi Matteo<div><br></div><div>No, there is no reliable and universal way to infer identity name from KeyLocator.</div><div><br></div><div>Data packets and signed Interests are signed by a <b>key</b>. The private key is held by the signer, while the public key is published in a <b>certificate</b>. KeyLocator contains the name of that certificate.</div><div><b>Identity</b> is a way used by ndn-cxx to organize one's own keys and certificates. It has no meaning for a relying party.</div><div>The trust schema should be defined in terms of keys and certificates, and should not use identity names.</div><div><br></div><div>Yours, Junxiao</div><div><br><div class="gmail_quote"><div>On Tue, Dec 27, 2016 at 11:16 Matteo Bertolino <<a href="mailto:Matteo.Bertolino@eurecom.fr">Matteo.Bertolino@eurecom.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good morning community,<br class="gmail_msg"><br>I would like to know if, by C++ code, is possible retrieving the<br class="gmail_msg"><br>identity name when I receive a signed interest.<br class="gmail_msg"><br>If yes, how?<br class="gmail_msg"><br>A signed interest has the following fields:<br class="gmail_msg"><br>prefix, timestamp, randomValue, SignatureInfo, SignatureValue.<br class="gmail_msg"><br>The I  think that I could retrieve the resource pointed by the<br class="gmail_msg"><br>KeyLocator, but not the identity name of who signed the interest. Am I<br class="gmail_msg"><br>wrong? Please tell me yes :)<br class="gmail_msg"><br>Bests,<br class="gmail_msg"><br>Matteo<br class="gmail_msg"><br></blockquote></div></div>