title: How to send and receive a DSA public/private signed message in Java
body: <p>I cannot find any good (complete) documentation on how to exchange a public/private key signed message in Java.</p>
  <p>I have yet to find a concise document on the minimum steps needed to generate a public key and private key using DSA, sign a byte[], and verify it.</p>
  <p>The <a href="https://docs.oracle.com/javase/tutorial/security/apisign/step1.html" rel="nofollow noreferrer">documentation</a> from Oracle is too broken up and requires running across multiple JVMs.</p>