verifyChainAsync
open fun verifyChainAsync(chain: TlsCertificate, purpose: String, identity: SocketConnectable? = null, interaction: TlsInteraction? = null, flags: TlsDatabaseVerifyFlags, cancellable: Cancellable? = null, callback: AsyncReadyCallback?)
Asynchronously determines the validity of 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
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