SignatureList.indexOf

Gets the index of the specified #GMimeSignature inside the #GMimeSignatureList.

class SignatureList
int
indexOf

Parameters

sig gmime.signature.Signature

a #GMimeSignature

Return Value

Type: int

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