Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. socketConnectionFactoryLookupType :: (HasCallStack, MonadIO m) => SocketFamily -> SocketType -> Int32 -> m GType

    gi-gio GI.Gio.Objects.SocketConnection

    Looks up the GType to be used when creating socket connections on sockets with the specified family, type and protocolId. If no type is registered, the SocketConnection base type is returned. Since: 2.22

  2. tlsDatabaseLookupCertificateForHandle :: (HasCallStack, MonadIO m, IsTlsDatabase a, IsTlsInteraction b, IsCancellable c) => a -> Text -> Maybe b -> TlsDatabaseLookupFlags -> Maybe c -> m (Maybe TlsCertificate)

    gi-gio GI.Gio.Objects.TlsDatabase

    Look up a certificate by its handle. The handle should have been created by calling tlsDatabaseCreateCertificateHandle on a TlsDatabase object of the same TLS backend. The handle is designed to remain valid across instantiations of the database. If the handle is no longer valid, or does not point to a certificate in this database, then Nothing will be returned. This function can block, use tlsDatabaseLookupCertificateForHandleAsync to perform the lookup operation asynchronously. Since: 2.30

  3. tlsDatabaseLookupCertificateForHandleAsync :: (HasCallStack, MonadIO m, IsTlsDatabase a, IsTlsInteraction b, IsCancellable c) => a -> Text -> Maybe b -> TlsDatabaseLookupFlags -> Maybe c -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.TlsDatabase

    Asynchronously look up a certificate by its handle in the database. See tlsDatabaseLookupCertificateForHandle for more information. Since: 2.30

  4. tlsDatabaseLookupCertificateForHandleFinish :: (HasCallStack, MonadIO m, IsTlsDatabase a, IsAsyncResult b) => a -> b -> m TlsCertificate

    gi-gio GI.Gio.Objects.TlsDatabase

    Finish an asynchronous lookup of a certificate by its handle. See tlsDatabaseLookupCertificateForHandle for more information. If the handle is no longer valid, or does not point to a certificate in this database, then Nothing will be returned. Since: 2.30

  5. tlsDatabaseLookupCertificateIssuer :: (HasCallStack, MonadIO m, IsTlsDatabase a, IsTlsCertificate b, IsTlsInteraction c, IsCancellable d) => a -> b -> Maybe c -> TlsDatabaseLookupFlags -> Maybe d -> m TlsCertificate

    gi-gio GI.Gio.Objects.TlsDatabase

    Look up the issuer of certificate in the database. The TlsCertificate:issuer property of certificate is not modified, and the two certificates are not hooked into a chain. This function can block. Use tlsDatabaseLookupCertificateIssuerAsync to perform the lookup operation asynchronously. Beware this function cannot be used to build certification paths. The issuer certificate returned by this function may not be the same as the certificate that would actually be used to construct a valid certification path during certificate verification. RFC 4158 explains why an issuer certificate cannot be naively assumed to be part of the the certification path (though GLib's TLS backends may not follow the path building strategies outlined in this RFC). Due to the complexity of certification path building, GLib does not provide any way to know which certification path will actually be used when verifying a TLS certificate. Accordingly, this function cannot be used to make security-related decisions. Only GLib itself should make security decisions about TLS certificates. Since: 2.30

  6. tlsDatabaseLookupCertificateIssuerAsync :: (HasCallStack, MonadIO m, IsTlsDatabase a, IsTlsCertificate b, IsTlsInteraction c, IsCancellable d) => a -> b -> Maybe c -> TlsDatabaseLookupFlags -> Maybe d -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.TlsDatabase

    Asynchronously look up the issuer of certificate in the database. See tlsDatabaseLookupCertificateIssuer for more information. Since: 2.30

  7. tlsDatabaseLookupCertificateIssuerFinish :: (HasCallStack, MonadIO m, IsTlsDatabase a, IsAsyncResult b) => a -> b -> m TlsCertificate

    gi-gio GI.Gio.Objects.TlsDatabase

    Finish an asynchronous lookup issuer operation. See tlsDatabaseLookupCertificateIssuer for more information. Since: 2.30

  8. tlsDatabaseLookupCertificatesIssuedBy :: (HasCallStack, MonadIO m, IsTlsDatabase a, IsTlsInteraction b, IsCancellable c) => a -> ByteString -> Maybe b -> TlsDatabaseLookupFlags -> Maybe c -> m [TlsCertificate]

    gi-gio GI.Gio.Objects.TlsDatabase

    Look up certificates issued by this issuer in the database. This function can block, use tlsDatabaseLookupCertificatesIssuedByAsync to perform the lookup operation asynchronously. Since: 2.30

  9. tlsDatabaseLookupCertificatesIssuedByAsync :: (HasCallStack, MonadIO m, IsTlsDatabase a, IsTlsInteraction b, IsCancellable c) => a -> ByteString -> Maybe b -> TlsDatabaseLookupFlags -> Maybe c -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.TlsDatabase

    Asynchronously look up certificates issued by this issuer in the database. See tlsDatabaseLookupCertificatesIssuedBy for more information. The database may choose to hold a reference to the issuer byte array for the duration of this asynchronous operation. The byte array should not be modified during this time. Since: 2.30

  10. tlsDatabaseLookupCertificatesIssuedByFinish :: (HasCallStack, MonadIO m, IsTlsDatabase a, IsAsyncResult b) => a -> b -> m [TlsCertificate]

    gi-gio GI.Gio.Objects.TlsDatabase

    Finish an asynchronous lookup of certificates. See tlsDatabaseLookupCertificatesIssuedBy for more information. Since: 2.30

Page 145 of many | Previous | Next