Tag
DiME, the open and trust-based data format building secure Application-based Public-Key Infrastructures (APKIs) in a breeze.
The DiME tag item is specifically used to linking external items for the use of proving different application-specific aspects. These aspects may be proof of verification or processing.
Since much of the time DiME envelopes and items are signed and thus protected from modification it is problematic to simply prove processing of those items. This is what the Tag item is used for.
An entity may create a Tag, add links to other items and sign the Tag item. Then it would be possible to add the Tag item to an unsigned envelope containing those other integrity protected items.
The following is an example of a DiME tag item:
The header of a DiME tag item is always 'TAG' as seen in the above example following the colon (':') after the envelope header ('Di').
Components
A DiME tag item consists of several components. Each component is separated by a dot (‘.’), which is referred to as a component separator.
The following components make up a data item:
Header - always 'TAG'
Claims - required
Signature - required
Claims
Claims are information or data related to the tag item. For tag items the linked items ('lnk') is specifically used, and required.
Example of a decoded claims component:
As any other DiME items, Tag may use many different claims. For general information about claims refer to Claims.
Linked items
The linked items ('lnk') claim is used to hold links to other DiME items. These links are used to direclty associate this item with those items, where it is later possible to verify the integrity. This makes it possible to prove the handling of those linked items.
For format and encoding information refer to Item links.
Signature
The final component in a tag item is always the signature. Any tag item that is missing a signature component must always be discarded. The tag item must also be discarded if the signature verification fails.
For additional details around the format of signature see Signature encoding.
Last updated