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. Since 2.30

Parameters

chain TlsCertificate

a GTlsCertificate chain

purpose string

the purpose that this certificate chain will be used for.

identity SocketConnectableIF

the expected peer identity. [allow-none]

interaction TlsInteraction

used to interact with the user if necessary. [allow-none]

flags GTlsDatabaseVerifyFlags

additional verify flags

cancellable Cancellable

a GCancellable, or NULL. [allow-none]

callback GAsyncReadyCallback

callback to call when the operation completes

userData void*

the data to pass to the callback function

Meta