The CRYPT package that allows to create and encrypt a string of characters for the use of Axional Studio passwords and of databases.

1 Firma de documentos

This section shows the functions that allows to sign a document XML. The signature is included to the own document. The functions of the Java security package are used to manage the keys. The following example obtains the XML file that has to be signed and uses the Java security functions to load from the keys warehouse, the entry with which the document must be signed. In the Java section is explained how to create a keys warestore. In the example is obtained the keys warehouse of the file 'c:\Documents and Settings\user\.keystore', the warehouse has a password 'changeit' and the signature is realized with the entry (the warehouse will contain several entries) that has 'mypass' password. Following this section, the functions used will be specified.


        <file type='absolute' name='purchaseorder-signed.xml' />
            keystore='c:\Documents and Settings\user\.keystore'
        <!-- Load of the keys warehouse located in  'c:\Documents and Settings\user\.keystore' -->
        <!-- the key with 'changeit' password obtains the entry with 'mypass' password.      -->
        < name='deister-webstudio' password='mypass'>
            < password='changeit' >
                < type='JKS'/>
                <file type='absolute' name='c:\Documents and Settings\user\.keystore' />
        <file type='absolute' name='purchaseorder.xml' />

            <file type='absolute' name='purchaseorder-signed.xml' />

        Verification of signature is:
            <file type='absolute' name='purchaseorder-signed.xml' />