Gio.TlsDatabase::verify_chain_async
function vfunc_verify_chain_async(chain: Gio.TlsCertificate, purpose: String, identity: Gio.SocketConnectable, interaction: Gio.TlsInteraction, flags: Gio.TlsDatabaseVerifyFlags, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { }
Asynchronously verify's a certificate chain after looking up and adding any missing certificates to the chain. See Gio.TlsDatabase.prototype.verify_chain for more information.
Since 2.30
- chain
a Gio.TlsCertificate chain
- purpose
the purpose that this certificate chain will be used for.
- identity
the expected peer identity
- interaction
used to interact with the user if necessary
- flags
additional verify flags
- cancellable
a Gio.Cancellable, or null
- callback
callback to call when the operation completes