Realize the digital signature of a XML file. The signature is associed to the XML file .
 

1 crypt.dsig.sign

<crypt.dsig.sign encoding='encoding'>
    <keyEntry /> !
</crypt.dsig.sign>

Exceptions

requires 2 arguments

No se han especificado los parámetros de entrada.

Example
Copy
<xsql-script name='string_crypt_decryptsql_sample1'>
    <body>

    <file.chars.write>
        <file type='absolute' name='purchaseorder-signed.xml' />
        <crypt.dsig.sign
            password='changeit'
            keystore='c:\Documents and Settings\user\.keystore'
            keyname='deister-webstudio'
            signature-method='DSA'
        >
        <!-- Load of the keys warehouse located in 'c:\Documents and Settings\user\.keystore' -->
        <!-- The key with 'changeit' password obtains the access with 'mypass' password.      -->
        <java.security.KeyStore.getEntry name='deister-webstudio' password='mypass'>
            <java.security.KeyStore.load password='changeit' >
                <java.security.KeyStore.getInstance type='JKS'/>
                <file type='absolute' name='c:\Documents and Settings\user\.keystore' />
            </java.security.KeyStore.load>
        </java.security.KeyStore.getEntry>
        <file type='absolute' name='purchaseorder.xml' />
        </crypt.dsig.sign>
    </file.chars.write>

    </body>
</xsql-script>