#GMimeCertificateList or %-1 if it is not contained within the #GMimeCertificateList.
CertificateList.indexOf
int indexOf(gmime.certificate.Certificate cert)Gets the index of the specified #GMimeCertificate inside the #GMimeCertificateList.
Parameters
cert | a #GMimeCertificate |
Returns
the index of the requested #GMimeCertificate within the