Project

General

Profile

SignatureType » History » Revision 8

Revision 7 (Davide Pesavento, 05/28/2022 02:32 PM) → Revision 8/9 (Junxiao Shi, 04/13/2026 08:47 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 
 ----------------------|-------------|-------------|---------- 
 Sha256                  |    0            | Integrity protection using a SHA-256 digest | [DigestSha256](https://named-data.net/doc/NDN-packet-spec/current/signature.html#digestsha256) 
 Sha256WithRsa           |    1            | Integrity and provenance protection using an RSA signature over a SHA-256 digest | [SignatureSha256WithRsa](https://named-data.net/doc/NDN-packet-spec/current/signature.html#signaturesha256withrsa) 
 *(reserved)*            |    2            | Reserved for future assignments | 
 Sha256WithEcdsa         |    3            | Integrity and provenance protection using an ECDSA signature over a SHA-256 digest | [SignatureSha256WithEcdsa](https://named-data.net/doc/NDN-packet-spec/current/signature.html#signaturesha256withecdsa) 
 HmacSha256              |    4            | Integrity and provenance protection using a SHA-256 hash-based message authentication code | [SignatureHmacWithSha256](https://named-data.net/doc/NDN-packet-spec/current/signature.html#signaturehmacwithsha256) 
 Ed25519                 |    5            | Integrity and provenance protection using an Ed25519 signature | [SignatureEd25519](https://named-data.net/doc/NDN-packet-spec/current/signature.html#signatureed25519) 
 Blake3                  |    6            | Integrity protection using a BLAKE3 digest | [Plain BLAKE3 digest](https://quarmire.github.io/ndn-rs/wiki/reference/spec-compliance.html#security) 
 Blake3Keyed             |    7            | Integrity and provenance protection using a BLAKE3 digest with 32-byte shared secret | [Keyed BLAKE3](https://quarmire.github.io/ndn-rs/wiki/reference/spec-compliance.html#security) 
 *(reserved)*            | 8-199 6-199         | Reserved for future assignments | 
 Null                    |    200          | Empty signature for testing and experimentation | [[NullSignature]] 

 ## References 

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