Add X509 functions.