Project

General

Profile

Actions

SignatureType » History » Revision 3

« Previous | Revision 3/7 (diff) | Next »
Davide Pesavento, 06/18/2020 06:23 PM


SignatureType

The following table defines the currently assigned values for the SignatureType element in NDN Interest and Data packets.

SignatureType Value (dec) Description Reference
DigestSha256 0 Integrity protection using a SHA-256 digest DigestSha256
SignatureSha256WithRsa 1 Integrity and provenance protection using an RSA signature over a SHA-256 digest SignatureSha256WithRsa
(reserved) 2 Reserved for future assignments
SignatureSha256WithEcdsa 3 Integrity and provenance protection using an ECDSA signature over a SHA-256 digest SignatureSha256WithEcdsa
SignatureHmacWithSha256 4 Integrity and provenance protection using a SHA-256 hash-based message authentication code SignatureHmacWithSha256
(reserved) 5-199 Reserved for future assignments
Null 200 Empty signature for testing and experimentation see below

Null Signature

The Null signature type indicates that the packet is not signed and therefore does not offer any sort of integrity protection or authenticity guarantees. This signature type MUST NOT be used except in testing environments or for experimentation purposes.
A KeyLocator element SHOULD NOT be used with this type of signature; if present, it MUST be ignored.

SignatureValue = SIGNATURE-VALUE-TYPE
                 TLV-LENGTH ; == 0

InterestSignatureValue = INTEREST-SIGNATURE-VALUE-TYPE
                         TLV-LENGTH ; == 0

References

https://named-data.net/doc/NDN-packet-spec/current/signature.html#signaturetype

Updated by Davide Pesavento over 4 years ago · 7 revisions