Project

General

Profile

SignatureType » History » Version 9

Junxiao Shi, 04/16/2026 08:35 PM
https://github.com/Quarmire/ndn-rs/commit/ce9000c1d48433690095ae1b13ec1138c349bef4

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 9 Junxiao Shi
Blake3                |  6          | Integrity protection using a BLAKE3 digest | [DigestBlake3](https://quarmire.github.io/ndn-rs/wiki/reference/blake3-signature-spec.html#1-digestblake3)
14
Blake3Keyed           |  7          | Integrity and provenance protection using a BLAKE3 digest with 32-byte shared secret | [SignatureBlake3Keyed](https://quarmire.github.io/ndn-rs/wiki/reference/blake3-signature-spec.html#2-signatureblake3keyed)
15 8 Junxiao Shi
*(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