title: How to get the RSA public-key from private-key Object in Java
body: <p>How to get the related public-key object <code>java.security.PublicKey</code> out of a private-key Object <code>java.security.PrivateKey</code> in the RSA cryptosystem.</p>