<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<div>Hi Matteo,</div>
<div><br>
</div>
<div>Usually the reason to sign an interest is to make a command interest. Have you looked at the example?</div>
<div><a href="https://github.com/named-data/ndn-js/blob/master/examples/node/test-encode-decode-interest.js#L231">https://github.com/named-data/ndn-js/blob/master/examples/node/test-encode-decode-interest.js#L231</a> </div>
<div><br>
</div>
<div>Here’s the API for makeCommandInterest:</div>
<div><a href="http://named-data.net/doc/ndn-ccl-api/face.html#face-makecommandinterest-method">http://named-data.net/doc/ndn-ccl-api/face.html#face-makecommandinterest-method</a> </div>
<div><br>
</div>
<div>Thanks,</div>
<div>- Jeff T</div>
<div><br>
</div>
<div>On 2017/2/10, 10:18:08, "Ndn-interest on behalf of Matteo Bertolino" <<a href="mailto:ndn-interest-bounces@lists.cs.ucla.edu">ndn-interest-bounces@lists.cs.ucla.edu</a> on behalf of
<a href="mailto:Matteo.Bertolino@eurecom.fr">Matteo.Bertolino@eurecom.fr</a>> wrote:</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>Good morning all,</div>
<div>I wrote:</div>
<div><br>
</div>
<div>var k = new KeyChain();</div>
<div>k.prototype.sign(interest, '/root/site1');</div>
<div>   or</div>
<div>k.prototype.signWithSha256(interest');</div>
<div><br>
</div>
<div>But... nothing happens.</div>
<div><br>
</div>
<div>Any idea ?</div>
<div><br>
</div>
<div>-------------------------------------------------------------------------------</div>
<div>This message was sent using EURECOM Webmail: <a href="http://webmail.eurecom.fr">
http://webmail.eurecom.fr</a></div>
<div><br>
</div>
<div>_______________________________________________</div>
<div>Ndn-interest mailing list</div>
<div><a href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a></div>
<div><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a></div>
<div><br>
</div>
</blockquote>
</body>
</html>