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

chain gio.tls_certificate.TlsCertificate

a #GTlsCertificate chain

purpose string

the purpose that this certificate chain will be used for.

identity gio.socket_connectable.SocketConnectable

the expected peer identity

interaction gio.tls_interaction.TlsInteraction

used to interact with the user if necessary

flags gio.types.TlsDatabaseVerifyFlags

additional verify flags

cancellable gio.cancellable.Cancellable

a #GCancellable, or null

callback gio.types.AsyncReadyCallback

callback to call when the operation completes