Hoogle Search

Within LTS Haskell 24.25 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. newtype TlsInteraction

    gi-gio GI.Gio.Objects.TlsInteraction

    Memory-managed wrapper type.

  2. TlsInteraction :: ManagedPtr TlsInteraction -> TlsInteraction

    gi-gio GI.Gio.Objects.TlsInteraction

    No documentation available.

  3. tlsInteractionAskPassword :: (HasCallStack, MonadIO m, IsTlsInteraction a, IsTlsPassword b, IsCancellable c) => a -> b -> Maybe c -> m TlsInteractionResult

    gi-gio GI.Gio.Objects.TlsInteraction

    Run synchronous interaction to ask the user for a password. In general, tlsInteractionInvokeAskPassword should be used instead of this function. Derived subclasses usually implement a password prompt, although they may also choose to provide a password from elsewhere. The password value will be filled in and then callback will be called. Alternatively the user may abort this password request, which will usually abort the TLS connection. If the interaction is cancelled by the cancellation object, or by the user then TlsInteractionResultFailed will be returned with an error that contains a IOErrorEnumCancelled error code. Certain implementations may not support immediate cancellation. Since: 2.30

  4. tlsInteractionAskPasswordAsync :: (HasCallStack, MonadIO m, IsTlsInteraction a, IsTlsPassword b, IsCancellable c) => a -> b -> Maybe c -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.TlsInteraction

    Run asynchronous interaction to ask the user for a password. In general, tlsInteractionInvokeAskPassword should be used instead of this function. Derived subclasses usually implement a password prompt, although they may also choose to provide a password from elsewhere. The password value will be filled in and then callback will be called. Alternatively the user may abort this password request, which will usually abort the TLS connection. If the interaction is cancelled by the cancellation object, or by the user then TlsInteractionResultFailed will be returned with an error that contains a IOErrorEnumCancelled error code. Certain implementations may not support immediate cancellation. Certain implementations may not support immediate cancellation. Since: 2.30

  5. tlsInteractionAskPasswordFinish :: (HasCallStack, MonadIO m, IsTlsInteraction a, IsAsyncResult b) => a -> b -> m TlsInteractionResult

    gi-gio GI.Gio.Objects.TlsInteraction

    Complete an ask password user interaction request. This should be once the tlsInteractionAskPasswordAsync completion callback is called. If TlsInteractionResultHandled is returned, then the TlsPassword passed to tlsInteractionAskPassword will have its password filled in. If the interaction is cancelled by the cancellation object, or by the user then TlsInteractionResultFailed will be returned with an error that contains a IOErrorEnumCancelled error code. Since: 2.30

  6. tlsInteractionInvokeAskPassword :: (HasCallStack, MonadIO m, IsTlsInteraction a, IsTlsPassword b, IsCancellable c) => a -> b -> Maybe c -> m TlsInteractionResult

    gi-gio GI.Gio.Objects.TlsInteraction

    Invoke the interaction to ask the user for a password. It invokes this interaction in the main loop, specifically the MainContext returned by mainContextGetThreadDefault when the interaction is created. This is called by called by TlsConnection or TlsDatabase to ask the user for a password. Derived subclasses usually implement a password prompt, although they may also choose to provide a password from elsewhere. The password value will be filled in and then callback will be called. Alternatively the user may abort this password request, which will usually abort the TLS connection. The implementation can either be a synchronous (eg: modal dialog) or an asynchronous one (eg: modeless dialog). This function will take care of calling which ever one correctly. If the interaction is cancelled by the cancellation object, or by the user then TlsInteractionResultFailed will be returned with an error that contains a IOErrorEnumCancelled error code. Certain implementations may not support immediate cancellation. Since: 2.30

  7. tlsInteractionInvokeRequestCertificate :: (HasCallStack, MonadIO m, IsTlsInteraction a, IsTlsConnection b, IsCancellable c) => a -> b -> TlsCertificateRequestFlags -> Maybe c -> m TlsInteractionResult

    gi-gio GI.Gio.Objects.TlsInteraction

    Invoke the interaction to ask the user to choose a certificate to use with the connection. It invokes this interaction in the main loop, specifically the MainContext returned by mainContextGetThreadDefault when the interaction is created. This is called by called by TlsConnection when the peer requests a certificate during the handshake. Derived subclasses usually implement a certificate selector, although they may also choose to provide a certificate from elsewhere. Alternatively the user may abort this certificate request, which may or may not abort the TLS connection. The implementation can either be a synchronous (eg: modal dialog) or an asynchronous one (eg: modeless dialog). This function will take care of calling which ever one correctly. If the interaction is cancelled by the cancellation object, or by the user then TlsInteractionResultFailed will be returned with an error that contains a IOErrorEnumCancelled error code. Certain implementations may not support immediate cancellation. Since: 2.40

  8. tlsInteractionRequestCertificate :: (HasCallStack, MonadIO m, IsTlsInteraction a, IsTlsConnection b, IsCancellable c) => a -> b -> TlsCertificateRequestFlags -> Maybe c -> m TlsInteractionResult

    gi-gio GI.Gio.Objects.TlsInteraction

    Run synchronous interaction to ask the user to choose a certificate to use with the connection. In general, tlsInteractionInvokeRequestCertificate 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. Alternatively the user may abort this certificate request, which will usually abort the TLS connection. If TlsInteractionResultHandled is returned, then the TlsConnection passed to tlsInteractionRequestCertificate will have had its TlsConnection:certificate filled in. If the interaction is cancelled by the cancellation object, or by the user then TlsInteractionResultFailed will be returned with an error that contains a IOErrorEnumCancelled error code. Certain implementations may not support immediate cancellation. Since: 2.40

  9. tlsInteractionRequestCertificateAsync :: (HasCallStack, MonadIO m, IsTlsInteraction a, IsTlsConnection b, IsCancellable c) => a -> b -> TlsCertificateRequestFlags -> Maybe c -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.TlsInteraction

    Run asynchronous interaction to ask the user for a certificate to use with the connection. In general, tlsInteractionInvokeRequestCertificate 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. Since: 2.40

  10. tlsInteractionRequestCertificateFinish :: (HasCallStack, MonadIO m, IsTlsInteraction a, IsAsyncResult b) => a -> b -> m TlsInteractionResult

    gi-gio GI.Gio.Objects.TlsInteraction

    Complete a request certificate user interaction request. This should be once the tlsInteractionRequestCertificateAsync completion callback is called. If TlsInteractionResultHandled is returned, then the TlsConnection passed to tlsInteractionRequestCertificateAsync will have had its TlsConnection:certificate filled in. If the interaction is cancelled by the cancellation object, or by the user then TlsInteractionResultFailed will be returned with an error that contains a IOErrorEnumCancelled error code. Since: 2.40

Page 22 of many | Previous | Next