Project

General

Profile

SignatureType » History » Version 8

Junxiao Shi, 04/13/2026 08:47 PM
https://github.com/Quarmire/ndn-rs/commit/b02553636a75114c591d89cadce394ec4e86ef01

1 1 Davide Pesavento
# SignatureType
2
3
The following table defines the currently assigned values for the SignatureType element in NDN Interest and Data packets.
4
5 6 Davide Pesavento
SignatureType         | Value (dec) | Description | Reference
6
----------------------|-------------|-------------|----------
7
Sha256                |  0          | Integrity protection using a SHA-256 digest | [DigestSha256](https://named-data.net/doc/NDN-packet-spec/current/signature.html#digestsha256)
8
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)
9
*(reserved)*          |  2          | Reserved for future assignments |
10
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)
11
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)
12 7 Davide Pesavento
Ed25519               |  5          | Integrity and provenance protection using an Ed25519 signature | [SignatureEd25519](https://named-data.net/doc/NDN-packet-spec/current/signature.html#signatureed25519)
13 8 Junxiao Shi
Blake3                |  6          | Integrity protection using a BLAKE3 digest | [Plain BLAKE3 digest](https://quarmire.github.io/ndn-rs/wiki/reference/spec-compliance.html#security)
14
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)
15
*(reserved)*          | 8-199       | Reserved for future assignments |
16 6 Davide Pesavento
Null                  |  200        | Empty signature for testing and experimentation | [[NullSignature]]
17 1 Davide Pesavento
18
## References
19
20
https://named-data.net/doc/NDN-packet-spec/current/signature.html#signaturetype