CertificateList.indexOf

int indexOf(gmime.certificate.Certificate cert) nothrow

Gets the index of the specified #GMimeCertificate inside the #GMimeCertificateList.

Parameters

certa #GMimeCertificate

Returns

the index of the requested #GMimeCertificate within the

#GMimeCertificateList or %-1 if it is not contained within the #GMimeCertificateList.