<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Xiaoyan,</p>
I would suggest you read the format specifications about each TLV
block inside the Data structure (<a class="moz-txt-link-freetext"
href="http://named-data.net/doc/NDN-TLV/current/">http://named-data.net/doc/NDN-TLV/current/</a>).
<br>
<br>
For example, here is the specification of the Signature format (<a
class="moz-txt-link-freetext"
href="http://named-data.net/doc/NDN-TLV/current/signature.html">http://named-data.net/doc/NDN-TLV/current/signature.html</a>)<br>
<br>
According to the documentation, several types of signature are
supported, such as SignatureSha256WithRsa. Using
SignatureSha256WithRsa, a producer first calculates SHA256 hash of
the Name, MetaInfo, Content and SignatureInfo, then the producer
signs the SHA256 hash using an RSA private key.<br>
<br>
Teng
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 1/9/18 11:55 PM, Hu, Xiaoyan wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOFaPJowbF82fvs4JbLq7Am6Bg7fBeANOscKMspa6jknuKkaLQ@mail.gmail.com">
<div dir="ltr">Dear all,
<div><br>
</div>
<div>Would you please tell me which fields that the producer of
an NDN data packets signs?</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<pre style="margin-top:0px;margin-bottom:0px;padding:1.5em;box-sizing:border-box;font-size:0.9em;direction:ltr;background-color:rgb(247,247,247);border-width:2px;border-style:solid none;border-color:rgb(198,201,203)"><span class="gmail-n" style="margin:0px;padding:0px;box-sizing:border-box">Data</span> <span class="gmail-p" style="margin:0px;padding:0px;box-sizing:border-box">::</span><span class="gmail-o" style="margin:0px;padding:0px;box-sizing:border-box;color:rgb(102,102,102)">=</span> <span class="gmail-n" style="margin:0px;padding:0px;box-sizing:border-box">DATA</span><span class="gmail-o" style="margin:0px;padding:0px;box-sizing:border-box;color:rgb(102,102,102)">-</span><span class="gmail-n" style="margin:0px;padding:0px;box-sizing:border-box">TLV</span> <span class="gmail-n" style="margin:0px;padding:0px;box-sizing:border-box">TLV</span><span class="gmail-o" style="margin:0px;padding:0px;box-sizing:border-box;color:rgb(102,102,102)">-</span><span class="gmail-n" style="margin:0px;padding:0px;box-sizing:border-box">LENGTH</span>
<span class="gmail-n" style="margin:0px;padding:0px;box-sizing:border-box">Name</span>
<span class="gmail-n" style="margin:0px;padding:0px;box-sizing:border-box">MetaInfo</span>
<span class="gmail-n" style="margin:0px;padding:0px;box-sizing:border-box">Content</span>
<span class="gmail-n" style="margin:0px;padding:0px;box-sizing:border-box">Signature</span></pre>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Best Regards,</div>
<div>Xiaoyan </div>
<div>Southeast University</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ndn-interest mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a>
</pre>
</blockquote>
<br>
</body>
</html>