Thoth RSA Research on using openssl to generate public/private keys which a Java application can use. See blog for all details: https://mjremijan.blogspot.com/2020/04/encrypt-with-openssl-decrypt-with-java.html