CreaSign

CreaDoc Documents

The XML signature standard specifies the format of the XML signature, but it does not specify how the XML document containing the signature should be structured. In addition to the low-level CreaSign:XmlSignature class, CreaSign also helps you with structuring electronic documents by providing a simple, yet powerful CreaDoc format that supports XML data, visualisations, attachments and multiple signatures.

The document in the CreaDoc format consists of the following parts:

The following figure shows the schema of the document's root node:

The document is represented by the CreaDoc class.

Data

The <cd:Data>, <cd:Visualisations> and <cd:Attachments> nodes contain data with the following structure:

The <cd:DataFormat> node describes the format of data:

The <cd:DataFormat> node can be used by the receiver of the document to select the appropriate viewer for displaying the data to the user. The node is represented by the DataFormat class.

The <cd:Description> node contains a human readable description of the data (for example: "The photography of Alice's house").

The <cd:Content> node contains either the data itself (<cd:EmbeddedData>) or the reference to the data <cd:ReferencedData>. The reference to the data is defined by:

The reference to the data is represented by the ReferencedData class.

*Requirements: Requires CreaSign Pro (not supported in CreaSign Lite).

Signatures

Digital signatures are stored inside the <cd:Signatures> node. The detached signatures are used. Each of the signatures should either sign another signature or be a root signature (see Signature types). Each root signature must sign the following:

CreaSign takes care to verify whether all of the important data in the document is signed. If a signature does not cover all of the data specified above, the Verify method reports an error.

*Requirements: Requires CreaSign Pro (not supported by CreaSign Lite).


Send comments on this topic.

(c) Crea 2002-2006