More methods for reading certs.