title: Persisting an X509 Certificate to MySQL database, using Java
body: <p>I am writing a dynamic web service using the Java Cryptography API, and MySQL.</p>
  
  <p>The project I am working on requires that RSA certificates can be saved to database, or shared with other users over the internet.</p>
  
  <p>Specifically, does anyone know the best method for persisting an X509Certificate object to a MySQL database?</p>
  
  <p>Thank you.</p>