Add X509 class for convenience