TlsDatabase.verifyChainAsync

Asynchronously verify's a certificate chain after looking up and adding any missing certificates to the chain. See g_tls_database_verify_chain() for more information.

Parameters

chain TlsCertificate

a #GTlsCertificate chain

purpose string

the purpose that this certificate chain will be used for.

identity SocketConnectableIF

the expected peer identity

interaction TlsInteraction

used to interact with the user if necessary

flags GTlsDatabaseVerifyFlags

additional verify flags

cancellable Cancellable

a #GCancellable, or %NULL

callback GAsyncReadyCallback

callback to call when the operation completes

userData void*

the data to pass to the callback function

Meta

Since

2.30