TlsInteraction.requestCertificateAsync

Run asynchronous interaction to ask the user for a certificate to use with the connection. In general, TlsInteraction.invokeRequestCertificate should be used instead of this function.

Derived subclasses usually implement a certificate selector, although they may also choose to provide a certificate from elsewhere. callback will be called when the operation completes. Alternatively the user may abort this certificate request, which will usually abort the TLS connection.

Parameters

connection TlsConnection
flags GTlsCertificateRequestFlags

flags providing more information about the request

cancellable Cancellable

an optional gio.Cancellable cancellation object

callback GAsyncReadyCallback

will be called when the interaction completes

userData void*

data to pass to the callback

Meta

Since

2.40