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 |
- Exported types
- Methods
- close
- closeAsync
- closeFinish
- emitAcceptCertificate
- getCertificate
- getDatabase
- getInteraction
- getPeerCertificate
- getPeerCertificateErrors
- getRehandshakeMode
- getRequireCloseNotify
- handshake
- handshakeAsync
- handshakeFinish
- setCertificate
- setDatabase
- setInteraction
- setRehandshakeMode
- setRequireCloseNotify
- shutdown
- shutdownAsync
- shutdownFinish
- Properties
- Signals
- newtype DtlsConnection = DtlsConnection (ManagedPtr DtlsConnection)
- noDtlsConnection :: Maybe DtlsConnection
- class GObject o => IsDtlsConnection o
- toDtlsConnection :: IsDtlsConnection o => o -> IO DtlsConnection
- data DtlsConnectionCloseMethodInfo
- dtlsConnectionClose :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Maybe b -> m ()
- data DtlsConnectionCloseAsyncMethodInfo
- dtlsConnectionCloseAsync :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data DtlsConnectionCloseFinishMethodInfo
- dtlsConnectionCloseFinish :: (MonadIO m, IsDtlsConnection a, IsAsyncResult b) => a -> b -> m ()
- data DtlsConnectionEmitAcceptCertificateMethodInfo
- dtlsConnectionEmitAcceptCertificate :: (MonadIO m, IsDtlsConnection a, IsTlsCertificate b) => a -> b -> [TlsCertificateFlags] -> m Bool
- data DtlsConnectionGetCertificateMethodInfo
- dtlsConnectionGetCertificate :: (MonadIO m, IsDtlsConnection a) => a -> m TlsCertificate
- data DtlsConnectionGetDatabaseMethodInfo
- dtlsConnectionGetDatabase :: (MonadIO m, IsDtlsConnection a) => a -> m TlsDatabase
- data DtlsConnectionGetInteractionMethodInfo
- dtlsConnectionGetInteraction :: (MonadIO m, IsDtlsConnection a) => a -> m TlsInteraction
- data DtlsConnectionGetPeerCertificateMethodInfo
- dtlsConnectionGetPeerCertificate :: (MonadIO m, IsDtlsConnection a) => a -> m TlsCertificate
- data DtlsConnectionGetPeerCertificateErrorsMethodInfo
- dtlsConnectionGetPeerCertificateErrors :: (MonadIO m, IsDtlsConnection a) => a -> m [TlsCertificateFlags]
- data DtlsConnectionGetRehandshakeModeMethodInfo
- dtlsConnectionGetRehandshakeMode :: (MonadIO m, IsDtlsConnection a) => a -> m TlsRehandshakeMode
- data DtlsConnectionGetRequireCloseNotifyMethodInfo
- dtlsConnectionGetRequireCloseNotify :: (MonadIO m, IsDtlsConnection a) => a -> m Bool
- data DtlsConnectionHandshakeMethodInfo
- dtlsConnectionHandshake :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Maybe b -> m ()
- data DtlsConnectionHandshakeAsyncMethodInfo
- dtlsConnectionHandshakeAsync :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data DtlsConnectionHandshakeFinishMethodInfo
- dtlsConnectionHandshakeFinish :: (MonadIO m, IsDtlsConnection a, IsAsyncResult b) => a -> b -> m ()
- data DtlsConnectionSetCertificateMethodInfo
- dtlsConnectionSetCertificate :: (MonadIO m, IsDtlsConnection a, IsTlsCertificate b) => a -> b -> m ()
- data DtlsConnectionSetDatabaseMethodInfo
- dtlsConnectionSetDatabase :: (MonadIO m, IsDtlsConnection a, IsTlsDatabase b) => a -> b -> m ()
- data DtlsConnectionSetInteractionMethodInfo
- dtlsConnectionSetInteraction :: (MonadIO m, IsDtlsConnection a, IsTlsInteraction b) => a -> Maybe b -> m ()
- data DtlsConnectionSetRehandshakeModeMethodInfo
- dtlsConnectionSetRehandshakeMode :: (MonadIO m, IsDtlsConnection a) => a -> TlsRehandshakeMode -> m ()
- data DtlsConnectionSetRequireCloseNotifyMethodInfo
- dtlsConnectionSetRequireCloseNotify :: (MonadIO m, IsDtlsConnection a) => a -> Bool -> m ()
- data DtlsConnectionShutdownMethodInfo
- dtlsConnectionShutdown :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Bool -> Bool -> Maybe b -> m ()
- data DtlsConnectionShutdownAsyncMethodInfo
- dtlsConnectionShutdownAsync :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Bool -> Bool -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data DtlsConnectionShutdownFinishMethodInfo
- dtlsConnectionShutdownFinish :: (MonadIO m, IsDtlsConnection a, IsAsyncResult b) => a -> b -> m ()
- data DtlsConnectionBaseSocketPropertyInfo
- constructDtlsConnectionBaseSocket :: (IsDtlsConnection o, IsDatagramBased a) => a -> IO (GValueConstruct o)
- dtlsConnectionBaseSocket :: AttrLabelProxy "baseSocket"
- getDtlsConnectionBaseSocket :: (MonadIO m, IsDtlsConnection o) => o -> m (Maybe DatagramBased)
- data DtlsConnectionCertificatePropertyInfo
- constructDtlsConnectionCertificate :: (IsDtlsConnection o, IsTlsCertificate a) => a -> IO (GValueConstruct o)
- dtlsConnectionCertificate :: AttrLabelProxy "certificate"
- getDtlsConnectionCertificate :: (MonadIO m, IsDtlsConnection o) => o -> m TlsCertificate
- setDtlsConnectionCertificate :: (MonadIO m, IsDtlsConnection o, IsTlsCertificate a) => o -> a -> m ()
- data DtlsConnectionDatabasePropertyInfo
- constructDtlsConnectionDatabase :: (IsDtlsConnection o, IsTlsDatabase a) => a -> IO (GValueConstruct o)
- dtlsConnectionDatabase :: AttrLabelProxy "database"
- getDtlsConnectionDatabase :: (MonadIO m, IsDtlsConnection o) => o -> m TlsDatabase
- setDtlsConnectionDatabase :: (MonadIO m, IsDtlsConnection o, IsTlsDatabase a) => o -> a -> m ()
- data DtlsConnectionInteractionPropertyInfo
- clearDtlsConnectionInteraction :: (MonadIO m, IsDtlsConnection o) => o -> m ()
- constructDtlsConnectionInteraction :: (IsDtlsConnection o, IsTlsInteraction a) => a -> IO (GValueConstruct o)
- dtlsConnectionInteraction :: AttrLabelProxy "interaction"
- getDtlsConnectionInteraction :: (MonadIO m, IsDtlsConnection o) => o -> m TlsInteraction
- setDtlsConnectionInteraction :: (MonadIO m, IsDtlsConnection o, IsTlsInteraction a) => o -> a -> m ()
- data DtlsConnectionPeerCertificatePropertyInfo
- dtlsConnectionPeerCertificate :: AttrLabelProxy "peerCertificate"
- getDtlsConnectionPeerCertificate :: (MonadIO m, IsDtlsConnection o) => o -> m TlsCertificate
- data DtlsConnectionPeerCertificateErrorsPropertyInfo
- dtlsConnectionPeerCertificateErrors :: AttrLabelProxy "peerCertificateErrors"
- getDtlsConnectionPeerCertificateErrors :: (MonadIO m, IsDtlsConnection o) => o -> m [TlsCertificateFlags]
- data DtlsConnectionRehandshakeModePropertyInfo
- constructDtlsConnectionRehandshakeMode :: IsDtlsConnection o => TlsRehandshakeMode -> IO (GValueConstruct o)
- dtlsConnectionRehandshakeMode :: AttrLabelProxy "rehandshakeMode"
- getDtlsConnectionRehandshakeMode :: (MonadIO m, IsDtlsConnection o) => o -> m TlsRehandshakeMode
- setDtlsConnectionRehandshakeMode :: (MonadIO m, IsDtlsConnection o) => o -> TlsRehandshakeMode -> m ()
- data DtlsConnectionRequireCloseNotifyPropertyInfo
- constructDtlsConnectionRequireCloseNotify :: IsDtlsConnection o => Bool -> IO (GValueConstruct o)
- dtlsConnectionRequireCloseNotify :: AttrLabelProxy "requireCloseNotify"
- getDtlsConnectionRequireCloseNotify :: (MonadIO m, IsDtlsConnection o) => o -> m Bool
- setDtlsConnectionRequireCloseNotify :: (MonadIO m, IsDtlsConnection o) => o -> Bool -> m ()
- type C_DtlsConnectionAcceptCertificateCallback = Ptr () -> Ptr TlsCertificate -> CUInt -> Ptr () -> IO CInt
- type DtlsConnectionAcceptCertificateCallback = TlsCertificate -> [TlsCertificateFlags] -> IO Bool
- data DtlsConnectionAcceptCertificateSignalInfo
- afterDtlsConnectionAcceptCertificate :: (GObject a, MonadIO m) => a -> DtlsConnectionAcceptCertificateCallback -> m SignalHandlerId
- genClosure_DtlsConnectionAcceptCertificate :: DtlsConnectionAcceptCertificateCallback -> IO Closure
- mk_DtlsConnectionAcceptCertificateCallback :: C_DtlsConnectionAcceptCertificateCallback -> IO (FunPtr C_DtlsConnectionAcceptCertificateCallback)
- noDtlsConnectionAcceptCertificateCallback :: Maybe DtlsConnectionAcceptCertificateCallback
- onDtlsConnectionAcceptCertificate :: (GObject a, MonadIO m) => a -> DtlsConnectionAcceptCertificateCallback -> m SignalHandlerId
- wrap_DtlsConnectionAcceptCertificateCallback :: DtlsConnectionAcceptCertificateCallback -> Ptr () -> Ptr TlsCertificate -> CUInt -> Ptr () -> IO CInt
Exported types
newtype DtlsConnection Source #
DtlsConnection (ManagedPtr DtlsConnection) |
GObject DtlsConnection Source # | |
IsObject DtlsConnection Source # | |
IsDtlsConnection DtlsConnection Source # | |
IsDatagramBased DtlsConnection Source # | |
((~) * info (ResolveDtlsConnectionMethod t DtlsConnection), MethodInfo * info DtlsConnection p) => IsLabel t (DtlsConnection -> p) Source # | |
((~) * info (ResolveDtlsConnectionMethod t DtlsConnection), MethodInfo * info DtlsConnection p) => IsLabelProxy t (DtlsConnection -> p) Source # | |
HasAttributeList * DtlsConnection Source # | |
type SignalList DtlsConnection Source # | |
type AttributeList DtlsConnection Source # | |
class GObject o => IsDtlsConnection o Source #
(GObject a, UnknownAncestorError Constraint DtlsConnection a) => IsDtlsConnection a Source # | |
IsDtlsConnection DtlsConnection Source # | |
IsDtlsConnection DtlsClientConnection Source # | |
IsDtlsConnection DtlsServerConnection Source # | |
toDtlsConnection :: IsDtlsConnection o => o -> IO DtlsConnection Source #
Methods
close
data DtlsConnectionCloseMethodInfo Source #
((~) * signature (Maybe b -> m ()), MonadIO m, IsDtlsConnection a, IsCancellable b) => MethodInfo * DtlsConnectionCloseMethodInfo a signature Source # | |
dtlsConnectionClose :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Maybe b -> m () Source #
closeAsync
data DtlsConnectionCloseAsyncMethodInfo Source #
((~) * signature (Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsDtlsConnection a, IsCancellable b) => MethodInfo * DtlsConnectionCloseAsyncMethodInfo a signature Source # | |
dtlsConnectionCloseAsync :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m () Source #
closeFinish
data DtlsConnectionCloseFinishMethodInfo Source #
((~) * signature (b -> m ()), MonadIO m, IsDtlsConnection a, IsAsyncResult b) => MethodInfo * DtlsConnectionCloseFinishMethodInfo a signature Source # | |
dtlsConnectionCloseFinish :: (MonadIO m, IsDtlsConnection a, IsAsyncResult b) => a -> b -> m () Source #
emitAcceptCertificate
data DtlsConnectionEmitAcceptCertificateMethodInfo Source #
((~) * signature (b -> [TlsCertificateFlags] -> m Bool), MonadIO m, IsDtlsConnection a, IsTlsCertificate b) => MethodInfo * DtlsConnectionEmitAcceptCertificateMethodInfo a signature Source # | |
dtlsConnectionEmitAcceptCertificate :: (MonadIO m, IsDtlsConnection a, IsTlsCertificate b) => a -> b -> [TlsCertificateFlags] -> m Bool Source #
getCertificate
data DtlsConnectionGetCertificateMethodInfo Source #
((~) * signature (m TlsCertificate), MonadIO m, IsDtlsConnection a) => MethodInfo * DtlsConnectionGetCertificateMethodInfo a signature Source # | |
dtlsConnectionGetCertificate :: (MonadIO m, IsDtlsConnection a) => a -> m TlsCertificate Source #
getDatabase
data DtlsConnectionGetDatabaseMethodInfo Source #
((~) * signature (m TlsDatabase), MonadIO m, IsDtlsConnection a) => MethodInfo * DtlsConnectionGetDatabaseMethodInfo a signature Source # | |
dtlsConnectionGetDatabase :: (MonadIO m, IsDtlsConnection a) => a -> m TlsDatabase Source #
getInteraction
data DtlsConnectionGetInteractionMethodInfo Source #
((~) * signature (m TlsInteraction), MonadIO m, IsDtlsConnection a) => MethodInfo * DtlsConnectionGetInteractionMethodInfo a signature Source # | |
dtlsConnectionGetInteraction :: (MonadIO m, IsDtlsConnection a) => a -> m TlsInteraction Source #
getPeerCertificate
data DtlsConnectionGetPeerCertificateMethodInfo Source #
((~) * signature (m TlsCertificate), MonadIO m, IsDtlsConnection a) => MethodInfo * DtlsConnectionGetPeerCertificateMethodInfo a signature Source # | |
dtlsConnectionGetPeerCertificate :: (MonadIO m, IsDtlsConnection a) => a -> m TlsCertificate Source #
getPeerCertificateErrors
data DtlsConnectionGetPeerCertificateErrorsMethodInfo Source #
((~) * signature (m [TlsCertificateFlags]), MonadIO m, IsDtlsConnection a) => MethodInfo * DtlsConnectionGetPeerCertificateErrorsMethodInfo a signature Source # | |
dtlsConnectionGetPeerCertificateErrors :: (MonadIO m, IsDtlsConnection a) => a -> m [TlsCertificateFlags] Source #
getRehandshakeMode
data DtlsConnectionGetRehandshakeModeMethodInfo Source #
((~) * signature (m TlsRehandshakeMode), MonadIO m, IsDtlsConnection a) => MethodInfo * DtlsConnectionGetRehandshakeModeMethodInfo a signature Source # | |
dtlsConnectionGetRehandshakeMode :: (MonadIO m, IsDtlsConnection a) => a -> m TlsRehandshakeMode Source #
getRequireCloseNotify
data DtlsConnectionGetRequireCloseNotifyMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsDtlsConnection a) => MethodInfo * DtlsConnectionGetRequireCloseNotifyMethodInfo a signature Source # | |
dtlsConnectionGetRequireCloseNotify :: (MonadIO m, IsDtlsConnection a) => a -> m Bool Source #
handshake
data DtlsConnectionHandshakeMethodInfo Source #
((~) * signature (Maybe b -> m ()), MonadIO m, IsDtlsConnection a, IsCancellable b) => MethodInfo * DtlsConnectionHandshakeMethodInfo a signature Source # | |
dtlsConnectionHandshake :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Maybe b -> m () Source #
handshakeAsync
data DtlsConnectionHandshakeAsyncMethodInfo Source #
((~) * signature (Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsDtlsConnection a, IsCancellable b) => MethodInfo * DtlsConnectionHandshakeAsyncMethodInfo a signature Source # | |
dtlsConnectionHandshakeAsync :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m () Source #
handshakeFinish
data DtlsConnectionHandshakeFinishMethodInfo Source #
((~) * signature (b -> m ()), MonadIO m, IsDtlsConnection a, IsAsyncResult b) => MethodInfo * DtlsConnectionHandshakeFinishMethodInfo a signature Source # | |
dtlsConnectionHandshakeFinish :: (MonadIO m, IsDtlsConnection a, IsAsyncResult b) => a -> b -> m () Source #
setCertificate
data DtlsConnectionSetCertificateMethodInfo Source #
((~) * signature (b -> m ()), MonadIO m, IsDtlsConnection a, IsTlsCertificate b) => MethodInfo * DtlsConnectionSetCertificateMethodInfo a signature Source # | |
dtlsConnectionSetCertificate :: (MonadIO m, IsDtlsConnection a, IsTlsCertificate b) => a -> b -> m () Source #
setDatabase
data DtlsConnectionSetDatabaseMethodInfo Source #
((~) * signature (b -> m ()), MonadIO m, IsDtlsConnection a, IsTlsDatabase b) => MethodInfo * DtlsConnectionSetDatabaseMethodInfo a signature Source # | |
dtlsConnectionSetDatabase :: (MonadIO m, IsDtlsConnection a, IsTlsDatabase b) => a -> b -> m () Source #
setInteraction
data DtlsConnectionSetInteractionMethodInfo Source #
((~) * signature (Maybe b -> m ()), MonadIO m, IsDtlsConnection a, IsTlsInteraction b) => MethodInfo * DtlsConnectionSetInteractionMethodInfo a signature Source # | |
dtlsConnectionSetInteraction :: (MonadIO m, IsDtlsConnection a, IsTlsInteraction b) => a -> Maybe b -> m () Source #
setRehandshakeMode
data DtlsConnectionSetRehandshakeModeMethodInfo Source #
((~) * signature (TlsRehandshakeMode -> m ()), MonadIO m, IsDtlsConnection a) => MethodInfo * DtlsConnectionSetRehandshakeModeMethodInfo a signature Source # | |
dtlsConnectionSetRehandshakeMode :: (MonadIO m, IsDtlsConnection a) => a -> TlsRehandshakeMode -> m () Source #
setRequireCloseNotify
data DtlsConnectionSetRequireCloseNotifyMethodInfo Source #
((~) * signature (Bool -> m ()), MonadIO m, IsDtlsConnection a) => MethodInfo * DtlsConnectionSetRequireCloseNotifyMethodInfo a signature Source # | |
dtlsConnectionSetRequireCloseNotify :: (MonadIO m, IsDtlsConnection a) => a -> Bool -> m () Source #
shutdown
data DtlsConnectionShutdownMethodInfo Source #
((~) * signature (Bool -> Bool -> Maybe b -> m ()), MonadIO m, IsDtlsConnection a, IsCancellable b) => MethodInfo * DtlsConnectionShutdownMethodInfo a signature Source # | |
dtlsConnectionShutdown :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Bool -> Bool -> Maybe b -> m () Source #
shutdownAsync
data DtlsConnectionShutdownAsyncMethodInfo Source #
((~) * signature (Bool -> Bool -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsDtlsConnection a, IsCancellable b) => MethodInfo * DtlsConnectionShutdownAsyncMethodInfo a signature Source # | |
dtlsConnectionShutdownAsync :: (MonadIO m, IsDtlsConnection a, IsCancellable b) => a -> Bool -> Bool -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m () Source #
shutdownFinish
data DtlsConnectionShutdownFinishMethodInfo Source #
((~) * signature (b -> m ()), MonadIO m, IsDtlsConnection a, IsAsyncResult b) => MethodInfo * DtlsConnectionShutdownFinishMethodInfo a signature Source # | |
dtlsConnectionShutdownFinish :: (MonadIO m, IsDtlsConnection a, IsAsyncResult b) => a -> b -> m () Source #
Properties
baseSocket
data DtlsConnectionBaseSocketPropertyInfo Source #
AttrInfo DtlsConnectionBaseSocketPropertyInfo Source # | |
type AttrSetTypeConstraint DtlsConnectionBaseSocketPropertyInfo Source # | |
type AttrOrigin DtlsConnectionBaseSocketPropertyInfo Source # | |
type AttrLabel DtlsConnectionBaseSocketPropertyInfo Source # | |
type AttrGetType DtlsConnectionBaseSocketPropertyInfo Source # | |
type AttrBaseTypeConstraint DtlsConnectionBaseSocketPropertyInfo Source # | |
type AttrAllowedOps DtlsConnectionBaseSocketPropertyInfo Source # | |
constructDtlsConnectionBaseSocket :: (IsDtlsConnection o, IsDatagramBased a) => a -> IO (GValueConstruct o) Source #
dtlsConnectionBaseSocket :: AttrLabelProxy "baseSocket" Source #
getDtlsConnectionBaseSocket :: (MonadIO m, IsDtlsConnection o) => o -> m (Maybe DatagramBased) Source #
certificate
data DtlsConnectionCertificatePropertyInfo Source #
AttrInfo DtlsConnectionCertificatePropertyInfo Source # | |
type AttrSetTypeConstraint DtlsConnectionCertificatePropertyInfo Source # | |
type AttrOrigin DtlsConnectionCertificatePropertyInfo Source # | |
type AttrLabel DtlsConnectionCertificatePropertyInfo Source # | |
type AttrGetType DtlsConnectionCertificatePropertyInfo Source # | |
type AttrBaseTypeConstraint DtlsConnectionCertificatePropertyInfo Source # | |
type AttrAllowedOps DtlsConnectionCertificatePropertyInfo Source # | |
constructDtlsConnectionCertificate :: (IsDtlsConnection o, IsTlsCertificate a) => a -> IO (GValueConstruct o) Source #
dtlsConnectionCertificate :: AttrLabelProxy "certificate" Source #
getDtlsConnectionCertificate :: (MonadIO m, IsDtlsConnection o) => o -> m TlsCertificate Source #
setDtlsConnectionCertificate :: (MonadIO m, IsDtlsConnection o, IsTlsCertificate a) => o -> a -> m () Source #
database
data DtlsConnectionDatabasePropertyInfo Source #
AttrInfo DtlsConnectionDatabasePropertyInfo Source # | |
type AttrSetTypeConstraint DtlsConnectionDatabasePropertyInfo Source # | |
type AttrOrigin DtlsConnectionDatabasePropertyInfo Source # | |
type AttrLabel DtlsConnectionDatabasePropertyInfo Source # | |
type AttrGetType DtlsConnectionDatabasePropertyInfo Source # | |
type AttrBaseTypeConstraint DtlsConnectionDatabasePropertyInfo Source # | |
type AttrAllowedOps DtlsConnectionDatabasePropertyInfo Source # | |
constructDtlsConnectionDatabase :: (IsDtlsConnection o, IsTlsDatabase a) => a -> IO (GValueConstruct o) Source #
dtlsConnectionDatabase :: AttrLabelProxy "database" Source #
getDtlsConnectionDatabase :: (MonadIO m, IsDtlsConnection o) => o -> m TlsDatabase Source #
setDtlsConnectionDatabase :: (MonadIO m, IsDtlsConnection o, IsTlsDatabase a) => o -> a -> m () Source #
interaction
data DtlsConnectionInteractionPropertyInfo Source #
AttrInfo DtlsConnectionInteractionPropertyInfo Source # | |
type AttrSetTypeConstraint DtlsConnectionInteractionPropertyInfo Source # | |
type AttrOrigin DtlsConnectionInteractionPropertyInfo Source # | |
type AttrLabel DtlsConnectionInteractionPropertyInfo Source # | |
type AttrGetType DtlsConnectionInteractionPropertyInfo Source # | |
type AttrBaseTypeConstraint DtlsConnectionInteractionPropertyInfo Source # | |
type AttrAllowedOps DtlsConnectionInteractionPropertyInfo Source # | |
clearDtlsConnectionInteraction :: (MonadIO m, IsDtlsConnection o) => o -> m () Source #
constructDtlsConnectionInteraction :: (IsDtlsConnection o, IsTlsInteraction a) => a -> IO (GValueConstruct o) Source #
dtlsConnectionInteraction :: AttrLabelProxy "interaction" Source #
getDtlsConnectionInteraction :: (MonadIO m, IsDtlsConnection o) => o -> m TlsInteraction Source #
setDtlsConnectionInteraction :: (MonadIO m, IsDtlsConnection o, IsTlsInteraction a) => o -> a -> m () Source #
peerCertificate
data DtlsConnectionPeerCertificatePropertyInfo Source #
AttrInfo DtlsConnectionPeerCertificatePropertyInfo Source # | |
type AttrSetTypeConstraint DtlsConnectionPeerCertificatePropertyInfo Source # | |
type AttrOrigin DtlsConnectionPeerCertificatePropertyInfo Source # | |
type AttrLabel DtlsConnectionPeerCertificatePropertyInfo Source # | |
type AttrGetType DtlsConnectionPeerCertificatePropertyInfo Source # | |
type AttrBaseTypeConstraint DtlsConnectionPeerCertificatePropertyInfo Source # | |
type AttrAllowedOps DtlsConnectionPeerCertificatePropertyInfo Source # | |
dtlsConnectionPeerCertificate :: AttrLabelProxy "peerCertificate" Source #
getDtlsConnectionPeerCertificate :: (MonadIO m, IsDtlsConnection o) => o -> m TlsCertificate Source #
peerCertificateErrors
data DtlsConnectionPeerCertificateErrorsPropertyInfo Source #
AttrInfo DtlsConnectionPeerCertificateErrorsPropertyInfo Source # | |
type AttrSetTypeConstraint DtlsConnectionPeerCertificateErrorsPropertyInfo Source # | |
type AttrOrigin DtlsConnectionPeerCertificateErrorsPropertyInfo Source # | |
type AttrLabel DtlsConnectionPeerCertificateErrorsPropertyInfo Source # | |
type AttrGetType DtlsConnectionPeerCertificateErrorsPropertyInfo Source # | |
type AttrBaseTypeConstraint DtlsConnectionPeerCertificateErrorsPropertyInfo Source # | |
type AttrAllowedOps DtlsConnectionPeerCertificateErrorsPropertyInfo Source # | |
dtlsConnectionPeerCertificateErrors :: AttrLabelProxy "peerCertificateErrors" Source #
getDtlsConnectionPeerCertificateErrors :: (MonadIO m, IsDtlsConnection o) => o -> m [TlsCertificateFlags] Source #
rehandshakeMode
data DtlsConnectionRehandshakeModePropertyInfo Source #
AttrInfo DtlsConnectionRehandshakeModePropertyInfo Source # | |
type AttrSetTypeConstraint DtlsConnectionRehandshakeModePropertyInfo Source # | |
type AttrOrigin DtlsConnectionRehandshakeModePropertyInfo Source # | |
type AttrLabel DtlsConnectionRehandshakeModePropertyInfo Source # | |
type AttrGetType DtlsConnectionRehandshakeModePropertyInfo Source # | |
type AttrBaseTypeConstraint DtlsConnectionRehandshakeModePropertyInfo Source # | |
type AttrAllowedOps DtlsConnectionRehandshakeModePropertyInfo Source # | |
constructDtlsConnectionRehandshakeMode :: IsDtlsConnection o => TlsRehandshakeMode -> IO (GValueConstruct o) Source #
dtlsConnectionRehandshakeMode :: AttrLabelProxy "rehandshakeMode" Source #
getDtlsConnectionRehandshakeMode :: (MonadIO m, IsDtlsConnection o) => o -> m TlsRehandshakeMode Source #
setDtlsConnectionRehandshakeMode :: (MonadIO m, IsDtlsConnection o) => o -> TlsRehandshakeMode -> m () Source #
requireCloseNotify
data DtlsConnectionRequireCloseNotifyPropertyInfo Source #
AttrInfo DtlsConnectionRequireCloseNotifyPropertyInfo Source # | |
type AttrSetTypeConstraint DtlsConnectionRequireCloseNotifyPropertyInfo Source # | |
type AttrOrigin DtlsConnectionRequireCloseNotifyPropertyInfo Source # | |
type AttrLabel DtlsConnectionRequireCloseNotifyPropertyInfo Source # | |
type AttrGetType DtlsConnectionRequireCloseNotifyPropertyInfo Source # | |
type AttrBaseTypeConstraint DtlsConnectionRequireCloseNotifyPropertyInfo Source # | |
type AttrAllowedOps DtlsConnectionRequireCloseNotifyPropertyInfo Source # | |
constructDtlsConnectionRequireCloseNotify :: IsDtlsConnection o => Bool -> IO (GValueConstruct o) Source #
dtlsConnectionRequireCloseNotify :: AttrLabelProxy "requireCloseNotify" Source #
getDtlsConnectionRequireCloseNotify :: (MonadIO m, IsDtlsConnection o) => o -> m Bool Source #
setDtlsConnectionRequireCloseNotify :: (MonadIO m, IsDtlsConnection o) => o -> Bool -> m () Source #
Signals
acceptCertificate
type C_DtlsConnectionAcceptCertificateCallback = Ptr () -> Ptr TlsCertificate -> CUInt -> Ptr () -> IO CInt Source #
type DtlsConnectionAcceptCertificateCallback = TlsCertificate -> [TlsCertificateFlags] -> IO Bool Source #
data DtlsConnectionAcceptCertificateSignalInfo Source #
SignalInfo DtlsConnectionAcceptCertificateSignalInfo Source # | |
type HaskellCallbackType DtlsConnectionAcceptCertificateSignalInfo Source # | |
afterDtlsConnectionAcceptCertificate :: (GObject a, MonadIO m) => a -> DtlsConnectionAcceptCertificateCallback -> m SignalHandlerId Source #
genClosure_DtlsConnectionAcceptCertificate :: DtlsConnectionAcceptCertificateCallback -> IO Closure Source #
mk_DtlsConnectionAcceptCertificateCallback :: C_DtlsConnectionAcceptCertificateCallback -> IO (FunPtr C_DtlsConnectionAcceptCertificateCallback) Source #
onDtlsConnectionAcceptCertificate :: (GObject a, MonadIO m) => a -> DtlsConnectionAcceptCertificateCallback -> m SignalHandlerId Source #
wrap_DtlsConnectionAcceptCertificateCallback :: DtlsConnectionAcceptCertificateCallback -> Ptr () -> Ptr TlsCertificate -> CUInt -> Ptr () -> IO CInt Source #