Sample code for 30+ languages & platforms
CkPython

Transition from Email.FindIssuer to Cert.GetIssuer

Provides instructions for replacing deprecated FindIssuer method calls with Cert.GetIssuer.

Chilkat CkPython Downloads

CkPython
import sys
import chilkat

success = False

email = chilkat.CkEmail()
cert = chilkat.CkCert()

# ...
# ...

# ------------------------------------------------------------------------
# The FindIssuer method is deprecated:

# certObj is a CkCert
certObj = email.FindIssuer(cert)
if (email.get_LastMethodSuccess() == False):
    print(email.lastErrorText())
    sys.exit()

# ...
# ...

# ------------------------------------------------------------------------
# Do the equivalent using Cert.GetIssuer.
# Your application creates a new, empty Cert object which is passed 
# in the last argument and filled upon success.

issuerCert = chilkat.CkCert()
success = cert.GetIssuer(issuerCert)
if (success == False):
    print(email.lastErrorText())
    sys.exit()