TlsDatabase.verifyChainAsync
void verifyChainAsync(gio.tls_certificate.TlsCertificate chain, string purpose, gio.socket_connectable.SocketConnectable identity, gio.tls_interaction.TlsInteraction interaction, gio.types.TlsDatabaseVerifyFlags flags, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)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 | a #GTlsCertificate 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 #GCancellable, or null |
callback | callback to call when the operation completes |