DSL Editor

   We designed a DSL editor to help a user write DSL documents. Figure 1 illustrates the operation of our DSL editor. The end goals of the XML, XSLT, and DSL editors are the same: to provide the user with convenient tools. However, the operation and structure of a DSL editor are more complicated than for XML and XSLT editors. Basically, a DSL editor first reads an XML document to obtain the tree structure of the target XML document. It also communicates with the algorithm container and key manager to determine which algorithms and keys are available. The user sets up the security pattern for the elements and attributes in the editor’s graphical interface. The user can generate a security pattern by selecting the available keys and algorithms, or input the related information of keys and algorithms manually.

   The function of our DSL editor is self-evident from the associated graphical user interface: Figure 2 -6 show the pages of the DSL editor which define the key, algorithm, security pattern, transformation description, and digital signature, respectively.

 

Figure 1: The operation of a DSL editor

Figure 2: DSL editor: key definition page

Figure 3: DSL editor: algorithm definition page

Figure 4: DSL editor: security pattern definition page

Figure 5: DSL editor: transformation description  definition page

Figure 6: DSL editor: digital signature definition page