Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype TlsCertificate = TlsCertificate (ForeignPtr TlsCertificate)
- class GObject o => TlsCertificateK o
- toTlsCertificate :: TlsCertificateK o => o -> IO TlsCertificate
- noTlsCertificate :: Maybe TlsCertificate
- data TlsCertificateGetIssuerMethodInfo
- tlsCertificateGetIssuer :: (MonadIO m, TlsCertificateK a) => a -> m TlsCertificate
- data TlsCertificateIsSameMethodInfo
- tlsCertificateIsSame :: (MonadIO m, TlsCertificateK a, TlsCertificateK b) => a -> b -> m Bool
- tlsCertificateListNewFromFile :: MonadIO m => Text -> m [TlsCertificate]
- tlsCertificateNewFromFile :: MonadIO m => Text -> m TlsCertificate
- tlsCertificateNewFromFiles :: MonadIO m => Text -> Text -> m TlsCertificate
- tlsCertificateNewFromPem :: MonadIO m => Text -> Int64 -> m TlsCertificate
- data TlsCertificateVerifyMethodInfo
- tlsCertificateVerify :: (MonadIO m, TlsCertificateK a, SocketConnectableK b, TlsCertificateK c) => a -> Maybe b -> Maybe c -> m [TlsCertificateFlags]
- data TlsCertificateCertificatePropertyInfo
- constructTlsCertificateCertificate :: ByteString -> IO ([Char], GValue)
- getTlsCertificateCertificate :: (MonadIO m, TlsCertificateK o) => o -> m (Maybe ByteString)
- tlsCertificateCertificate :: AttrLabelProxy "certificate"
- data TlsCertificateCertificatePemPropertyInfo
- constructTlsCertificateCertificatePem :: Text -> IO ([Char], GValue)
- getTlsCertificateCertificatePem :: (MonadIO m, TlsCertificateK o) => o -> m (Maybe Text)
- tlsCertificateCertificatePem :: AttrLabelProxy "certificatePem"
- data TlsCertificateIssuerPropertyInfo
- constructTlsCertificateIssuer :: TlsCertificateK a => a -> IO ([Char], GValue)
- getTlsCertificateIssuer :: (MonadIO m, TlsCertificateK o) => o -> m TlsCertificate
- tlsCertificateIssuer :: AttrLabelProxy "issuer"
- data TlsCertificatePrivateKeyPropertyInfo
- constructTlsCertificatePrivateKey :: ByteString -> IO ([Char], GValue)
- tlsCertificatePrivateKey :: AttrLabelProxy "privateKey"
- data TlsCertificatePrivateKeyPemPropertyInfo
- constructTlsCertificatePrivateKeyPem :: Text -> IO ([Char], GValue)
- tlsCertificatePrivateKeyPem :: AttrLabelProxy "privateKeyPem"
Exported types
newtype TlsCertificate Source
GObject TlsCertificate | |
((~) * info (ResolveTlsCertificateMethod t TlsCertificate), MethodInfo * info TlsCertificate p) => IsLabelProxy t (TlsCertificate -> p) | |
type ParentTypes TlsCertificate | |
type AttributeList TlsCertificate | |
type SignalList TlsCertificate |
class GObject o => TlsCertificateK o Source
(GObject o, IsDescendantOf TlsCertificate o) => TlsCertificateK o |
toTlsCertificate :: TlsCertificateK o => o -> IO TlsCertificate Source
Methods
tlsCertificateGetIssuer
data TlsCertificateGetIssuerMethodInfo Source
((~) * signature (m TlsCertificate), MonadIO m, TlsCertificateK a) => MethodInfo * TlsCertificateGetIssuerMethodInfo a signature |
tlsCertificateGetIssuer :: (MonadIO m, TlsCertificateK a) => a -> m TlsCertificate Source
tlsCertificateIsSame
data TlsCertificateIsSameMethodInfo Source
((~) * signature (b -> m Bool), MonadIO m, TlsCertificateK a, TlsCertificateK b) => MethodInfo * TlsCertificateIsSameMethodInfo a signature |
tlsCertificateIsSame :: (MonadIO m, TlsCertificateK a, TlsCertificateK b) => a -> b -> m Bool Source
tlsCertificateListNewFromFile
tlsCertificateListNewFromFile :: MonadIO m => Text -> m [TlsCertificate] Source
tlsCertificateNewFromFile
tlsCertificateNewFromFile :: MonadIO m => Text -> m TlsCertificate Source
tlsCertificateNewFromFiles
tlsCertificateNewFromFiles :: MonadIO m => Text -> Text -> m TlsCertificate Source
tlsCertificateNewFromPem
tlsCertificateNewFromPem :: MonadIO m => Text -> Int64 -> m TlsCertificate Source
tlsCertificateVerify
data TlsCertificateVerifyMethodInfo Source
((~) * signature (Maybe b -> Maybe c -> m [TlsCertificateFlags]), MonadIO m, TlsCertificateK a, SocketConnectableK b, TlsCertificateK c) => MethodInfo * TlsCertificateVerifyMethodInfo a signature |
tlsCertificateVerify :: (MonadIO m, TlsCertificateK a, SocketConnectableK b, TlsCertificateK c) => a -> Maybe b -> Maybe c -> m [TlsCertificateFlags] Source
Properties
Certificate
data TlsCertificateCertificatePropertyInfo Source
constructTlsCertificateCertificate :: ByteString -> IO ([Char], GValue) Source
getTlsCertificateCertificate :: (MonadIO m, TlsCertificateK o) => o -> m (Maybe ByteString) Source
tlsCertificateCertificate :: AttrLabelProxy "certificate" Source
CertificatePem
data TlsCertificateCertificatePemPropertyInfo Source
getTlsCertificateCertificatePem :: (MonadIO m, TlsCertificateK o) => o -> m (Maybe Text) Source
tlsCertificateCertificatePem :: AttrLabelProxy "certificatePem" Source
Issuer
data TlsCertificateIssuerPropertyInfo Source
constructTlsCertificateIssuer :: TlsCertificateK a => a -> IO ([Char], GValue) Source
getTlsCertificateIssuer :: (MonadIO m, TlsCertificateK o) => o -> m TlsCertificate Source
tlsCertificateIssuer :: AttrLabelProxy "issuer" Source
PrivateKey
data TlsCertificatePrivateKeyPropertyInfo Source
constructTlsCertificatePrivateKey :: ByteString -> IO ([Char], GValue) Source
tlsCertificatePrivateKey :: AttrLabelProxy "privateKey" Source
PrivateKeyPem
data TlsCertificatePrivateKeyPemPropertyInfo Source
tlsCertificatePrivateKeyPem :: AttrLabelProxy "privateKeyPem" Source