CertificateList.indexOf

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

class CertificateList
int
indexOf

Parameters

cert gmime.certificate.Certificate

a #GMimeCertificate

Return Value

Type: int

the index of the requested #GMimeCertificate within the #GMimeCertificateList or %-1 if it is not contained within the #GMimeCertificateList.