Add various bits useful when generating X509 certs
Merge pull request #1510 from public/more-x509

Add various bits useful when generating X509 certs