TlsInteraction.requestCertificateFinish
gio.types.TlsInteractionResult requestCertificateFinish(gio.async_result.AsyncResult result)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.
Parameters
result | the result passed to the callback |
Returns
The status of the request certificate interaction.
Throws
[ErrorWrap]