TlsInteraction.requestCertificateFinish

Complete a request certificate user interaction request. This should be once the gio.tls_interaction.TlsInteraction.requestCertificateAsync completion callback is called.

If gio.types.TlsInteractionResult.Handled is returned, then the #GTlsConnection passed to gio.tls_interaction.TlsInteraction.requestCertificateAsync will have had its #GTlsConnection:certificate filled in.

If the interaction is cancelled by the cancellation object, or by the user then gio.types.TlsInteractionResult.Failed will be returned with an error that contains a gio.types.IOErrorEnum.Cancelled error code.

class TlsInteraction
requestCertificateFinish

Parameters

result gio.async_result.AsyncResult

the result passed to the callback

Return Value

Type: gio.types.TlsInteractionResult

The status of the request certificate interaction.