Added basic X509 certificate (v1) generation.