TlsDatabase.verifyChainAsync

Asynchronously determines the validity of a certificate chain after looking up and adding any missing certificates to the chain. See [gio.tls_database.TlsDatabase.verifyChain] for more information.

Parameters

chaina #GTlsCertificate chain
purposethe purpose that this certificate chain will be used for.
identitythe expected peer identity
interactionused to interact with the user if necessary
flagsadditional verify flags
cancellablea #GCancellable, or null
callbackcallback to call when the operation completes