An example SSL certificate authority written in Java using BouncyCastle crypto library