Oure requirement is to have a license plugin for java. So that java based application can validate with license module of Blesta.
Is there anyone out there who have already done it. Or have some knowledge about the details of the license manager.
I had a go and found a few confusing bits in the license manager.
Especially with the signRsa function. It appears that the sign is done with the public_key. Normally its signing with private and verify with private.
Or is it a typo.
The private key is the rsa private key that is saved on the server side. They are just doing something strange by signing with the public key in the client. I'm hoping someone on the Blesta end can shed some light onto why it is done this way as most libraries won't let you do this.
This is the stackexchange post I found about signing with a public key for whatever, if anything, it is worth https://crypto.stackexchange.com/questions/2768/signing-with-public-key