[Ndn-interest] Retrieve the identity name from signed interest

Junxiao Shi shijunxiao at email.arizona.edu
Wed Dec 28 19:10:46 PST 2016

Hi Matteo

No, there is no reliable and universal way to infer identity name from

Data packets and signed Interests are signed by a *key*. The private key is
held by the signer, while the public key is published in a *certificate*.
KeyLocator contains the name of that certificate.
*Identity* is a way used by ndn-cxx to organize one's own keys and
certificates. It has no meaning for a relying party.
The trust schema should be defined in terms of keys and certificates, and
should not use identity names.

Yours, Junxiao

On Tue, Dec 27, 2016 at 11:16 Matteo Bertolino <Matteo.Bertolino at eurecom.fr>

> Good morning community,
> I would like to know if, by C++ code, is possible retrieving the
> identity name when I receive a signed interest.
> If yes, how?
> A signed interest has the following fields:
> prefix, timestamp, randomValue, SignatureInfo, SignatureValue.
> The I  think that I could retrieve the resource pointed by the
> KeyLocator, but not the identity name of who signed the interest. Am I
> wrong? Please tell me yes :)
> Bests,
> Matteo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20161229/83a255e4/attachment.html>

More information about the Ndn-interest mailing list