Node API Fingerprints

Fingerprints of Node API objects always start with a string designating the type of the object. Version of a fingerprint defines a concrete revision of the fingerprint structure, if it was changed in backward-incompatible way. The fingerprint version (also known as "signature version") must be returned from Node API call together with the signature.

Carte, version 1

Type Field Comment
String objectType CARTE
String ownerName
InetAddress address IP address of the client
timestamp beginning timestamp of the beginning of the carte's life
timestamp deadline timestamp of the end of the carte's life
String nodeName if set, the carte is valid for authentication on the specified node only
byte permissions 0 (reserved for future use)
byte[] salt 8 random bytes

Carte, version 0

Type Field Comment
String objectType CARTE
String ownerName
InetAddress address IP address of the client
timestamp beginning timestamp of the beginning of the carte's life
timestamp deadline timestamp of the end of the carte's life
byte permissions 0 (reserved for future use)
byte[] salt 8 random bytes

Comment, version 0

Type Field Comment
String objectType COMMENT
String ownerName
hash of Posting fingerprint postingFingerprint
hash of Comment fingerprint repliedToFingerprint
byte[] bodySrcHash hash of bodySrc field
String bodySrcFormat
String body
String bodyFormat
timestamp createdAt of the current revision
byte permissions 0 (reserved for future use)
byte attachments 0 (reserved for future use)

NotificationPacket, version 1

Type Field Comment
String objectType NOTIFICATION_PACKET
String id
String nodeName
String fullName
timestamp createdAt
String type
String notification

NotificationPacket, version 0

Type Field Comment
String objectType NOTIFICATION_PACKET
String id
String nodeName
timestamp createdAt
String type
String notification

Posting, version 0

Type Field Comment
String objectType POSTING
String receiverName
String ownerName
byte[] bodySrcHash hash of bodySrc field
String bodySrcFormat
String body
String bodyFormat
timestamp createdAt of the current revision
byte permissions 0 (reserved for future use)
byte attachments 0 (reserved for future use)

Reaction, version 0

Type Field Comment
String objectType REACTION
String ownerName
byte[] entryFingerprint hash of Posting or Comment fingerprint
boolean negative
int emoji