1 security.sign.hash

<security.sign.hash
    algorithm='algorithm'
    hash-size='hash-size'
>
    <private-key /> *
    <public-key /> *
    <message /> *
</security.sign.hash>

Exceptions

hash length expected was [hash-size] while found [real-size]

Example

Generate a hash for a private key and a public one from a message.

Copy
<xsql-script name='push_test'>
    <body>
        <set name='hash'>
            <security.sign.hash algorithm='SHA1withRSA' hash-size='172'>
                <file type='absolute' name='private.der' />
                <file type='absolute' name='public.der' />
                <message />
            </security.sign.hash>
        </set>
    </body>
</xsql-script>