Sample code for 30+ languages & platforms
Xojo Plugin

Transition from Email.FindIssuer to Cert.GetIssuer

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

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim success As Boolean
success = False

Dim email As New Chilkat.Email
Dim cert As New Chilkat.Cert

// ...
// ...

// ------------------------------------------------------------------------
// The FindIssuer method is deprecated:

Dim certObj As Chilkat.Cert
certObj = email.FindIssuer(cert)
If (email.LastMethodSuccess = False) Then
    System.DebugLog(email.LastErrorText)
    Return
End If

// ...
// ...

// ------------------------------------------------------------------------
// 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.

Dim issuerCert As New Chilkat.Cert
success = cert.GetIssuer(issuerCert)
If (success = False) Then
    System.DebugLog(email.LastErrorText)
    Return
End If