Project

General

Profile

SignatureType » History » Revision 7

Revision 6 (Davide Pesavento, 05/07/2022 01:06 PM) → Revision 7/9 (Davide Pesavento, 05/28/2022 02:32 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 TBD | [SignatureEd25519](https://named-data.net/doc/NDN-packet-spec/current/signature.html#signatureed25519) #4901 
 *(reserved)*            | 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