Function : Note

NSFNoteSign - Appends a digital signature to a note.
----------------------------------------------------------------------------------------------------------

#include <nsfnote.h>

STATUS LNPUBLIC NSFNoteSign(
NOTEHANDLE hNote);

Description :

This function signs a document by creating a unique electronic signature and appending this signature to the note. A signature constitutes proof of the user's identity and serves to assure the reader that the user was the real author of the document.

The signature is derived from the User ID. A signature item has data type TYPE_SIGNATURE and item flags ITEM_SEAL. The data value of the signature item is a digest of the data stored in items in the note, signed with the user's private key.

NSFNoteSign signs entire document. It creates a digest of all the items in the note, and appends a signature item with field name $Signature (ITEM_NAME_NOTE_SIGNATURE). Use NSFNoteSignExt() to sign a section of a note.
Parameters :

See Also :

NSFNoteSignExt
----------------------------------------------------------------------------------------------------------