Revert "Use pointers to pass around CertificateInfo"
This reverts commit 0b0d699534027208500b20855288fad021a88bdd.