The tag <security.make.keys> allows to generate pais of public and private keys. For this, it uses the class java.security.KeyPairGenerator. It generates each one of the keys in the file which is passed as argument.

1 security.make.keys

<security.make.keys
    algorithm='algorithm'
    key-size='key-size'
>
    <private-key /> *
    <public-key /> *
</security.make.keys>
Example

Generate a pair of keys through a private key and a public one.

Copy
<xsql-script name='push_test'>
    <body>
        <security.make.keys algorithm='RSA' key-size='1024'>
            <file type='absolute' name='private.der' />
            <file type='absolute' name='public.der' />
        </security.make.keys>
        <println>HASH:<hash /></println>
    </body>
</xsql-script>