Adds a Certificate to the CertificateList.
a CertificateList
a Certificate
the index of the added Certificate.