Generate Keys

Description

Generates a public/private key pair, using the RSA algorithm, and 2048 bit encryption.

Keys are returned in privacy enhanced mail (PEM) format.

This is a very simple service. It requires no authorisation, and it returns no errors.

Input

<GenerateKeys/>

Output

<GenerateKeys>
<errorNumber>0</errorNumber>
<privateKey>...</privateKey>
<publicKey>...</publicKey>
</GenerateKeys>

Errors

None

Class

com.metrici.xerula.GenerateKeysService