gi-gio
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Interfaces.DtlsClientConnection

Description

GDtlsClientConnection is the client-side subclass of DtlsConnection, representing a client-side DTLS connection.

Since: 2.48

Synopsis

Exported types

newtype DtlsClientConnection Source #

Memory-managed wrapper type.

Instances

Instances details
Eq DtlsClientConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

GObject DtlsClientConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

ManagedPtrNewtype DtlsClientConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

TypedObject DtlsClientConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

Methods

glibType :: IO GType #

HasParentTypes DtlsClientConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

HasAttributeList DtlsClientConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

(info ~ ResolveDtlsClientConnectionMethod t DtlsClientConnection, OverloadedMethod info DtlsClientConnection p, HasField t DtlsClientConnection p) => HasField (t :: Symbol) DtlsClientConnection (p :: Type) Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

(info ~ ResolveDtlsClientConnectionMethod t DtlsClientConnection, OverloadedMethodInfo info DtlsClientConnection) => IsLabel t (MethodProxy info DtlsClientConnection) Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

(info ~ ResolveDtlsClientConnectionMethod t DtlsClientConnection, OverloadedMethod info DtlsClientConnection p) => IsLabel t (DtlsClientConnection -> p) Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

IsGValue (Maybe DtlsClientConnection) Source #

Convert DtlsClientConnection to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttributeList DtlsClientConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type ParentTypes DtlsClientConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type SignalList DtlsClientConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

class (GObject o, IsDescendantOf DtlsClientConnection o) => IsDtlsClientConnection o Source #

Type class for types which can be safely cast to DtlsClientConnection, for instance with toDtlsClientConnection.

Instances

Instances details
(GObject o, IsDescendantOf DtlsClientConnection o) => IsDtlsClientConnection o Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

toDtlsClientConnection :: (MonadIO m, IsDtlsClientConnection o) => o -> m DtlsClientConnection Source #

Cast to DtlsClientConnection, for types for which this is known to be safe. For general casts, use castTo.

Methods

type family ResolveDtlsClientConnectionMethod (t :: Symbol) o where ... Source #

Equations

ResolveDtlsClientConnectionMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveDtlsClientConnectionMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveDtlsClientConnectionMethod "close" o = DtlsConnectionCloseMethodInfo 
ResolveDtlsClientConnectionMethod "closeAsync" o = DtlsConnectionCloseAsyncMethodInfo 
ResolveDtlsClientConnectionMethod "closeFinish" o = DtlsConnectionCloseFinishMethodInfo 
ResolveDtlsClientConnectionMethod "conditionCheck" o = DatagramBasedConditionCheckMethodInfo 
ResolveDtlsClientConnectionMethod "conditionWait" o = DatagramBasedConditionWaitMethodInfo 
ResolveDtlsClientConnectionMethod "createSource" o = DatagramBasedCreateSourceMethodInfo 
ResolveDtlsClientConnectionMethod "emitAcceptCertificate" o = DtlsConnectionEmitAcceptCertificateMethodInfo 
ResolveDtlsClientConnectionMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveDtlsClientConnectionMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveDtlsClientConnectionMethod "getv" o = ObjectGetvMethodInfo 
ResolveDtlsClientConnectionMethod "handshake" o = DtlsConnectionHandshakeMethodInfo 
ResolveDtlsClientConnectionMethod "handshakeAsync" o = DtlsConnectionHandshakeAsyncMethodInfo 
ResolveDtlsClientConnectionMethod "handshakeFinish" o = DtlsConnectionHandshakeFinishMethodInfo 
ResolveDtlsClientConnectionMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveDtlsClientConnectionMethod "notify" o = ObjectNotifyMethodInfo 
ResolveDtlsClientConnectionMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveDtlsClientConnectionMethod "receiveMessages" o = DatagramBasedReceiveMessagesMethodInfo 
ResolveDtlsClientConnectionMethod "ref" o = ObjectRefMethodInfo 
ResolveDtlsClientConnectionMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveDtlsClientConnectionMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveDtlsClientConnectionMethod "sendMessages" o = DatagramBasedSendMessagesMethodInfo 
ResolveDtlsClientConnectionMethod "shutdown" o = DtlsConnectionShutdownMethodInfo 
ResolveDtlsClientConnectionMethod "shutdownAsync" o = DtlsConnectionShutdownAsyncMethodInfo 
ResolveDtlsClientConnectionMethod "shutdownFinish" o = DtlsConnectionShutdownFinishMethodInfo 
ResolveDtlsClientConnectionMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveDtlsClientConnectionMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveDtlsClientConnectionMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveDtlsClientConnectionMethod "unref" o = ObjectUnrefMethodInfo 
ResolveDtlsClientConnectionMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveDtlsClientConnectionMethod "getAcceptedCas" o = DtlsClientConnectionGetAcceptedCasMethodInfo 
ResolveDtlsClientConnectionMethod "getCertificate" o = DtlsConnectionGetCertificateMethodInfo 
ResolveDtlsClientConnectionMethod "getChannelBindingData" o = DtlsConnectionGetChannelBindingDataMethodInfo 
ResolveDtlsClientConnectionMethod "getCiphersuiteName" o = DtlsConnectionGetCiphersuiteNameMethodInfo 
ResolveDtlsClientConnectionMethod "getData" o = ObjectGetDataMethodInfo 
ResolveDtlsClientConnectionMethod "getDatabase" o = DtlsConnectionGetDatabaseMethodInfo 
ResolveDtlsClientConnectionMethod "getInteraction" o = DtlsConnectionGetInteractionMethodInfo 
ResolveDtlsClientConnectionMethod "getNegotiatedProtocol" o = DtlsConnectionGetNegotiatedProtocolMethodInfo 
ResolveDtlsClientConnectionMethod "getPeerCertificate" o = DtlsConnectionGetPeerCertificateMethodInfo 
ResolveDtlsClientConnectionMethod "getPeerCertificateErrors" o = DtlsConnectionGetPeerCertificateErrorsMethodInfo 
ResolveDtlsClientConnectionMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveDtlsClientConnectionMethod "getProtocolVersion" o = DtlsConnectionGetProtocolVersionMethodInfo 
ResolveDtlsClientConnectionMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveDtlsClientConnectionMethod "getRehandshakeMode" o = DtlsConnectionGetRehandshakeModeMethodInfo 
ResolveDtlsClientConnectionMethod "getRequireCloseNotify" o = DtlsConnectionGetRequireCloseNotifyMethodInfo 
ResolveDtlsClientConnectionMethod "getServerIdentity" o = DtlsClientConnectionGetServerIdentityMethodInfo 
ResolveDtlsClientConnectionMethod "getValidationFlags" o = DtlsClientConnectionGetValidationFlagsMethodInfo 
ResolveDtlsClientConnectionMethod "setAdvertisedProtocols" o = DtlsConnectionSetAdvertisedProtocolsMethodInfo 
ResolveDtlsClientConnectionMethod "setCertificate" o = DtlsConnectionSetCertificateMethodInfo 
ResolveDtlsClientConnectionMethod "setData" o = ObjectSetDataMethodInfo 
ResolveDtlsClientConnectionMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveDtlsClientConnectionMethod "setDatabase" o = DtlsConnectionSetDatabaseMethodInfo 
ResolveDtlsClientConnectionMethod "setInteraction" o = DtlsConnectionSetInteractionMethodInfo 
ResolveDtlsClientConnectionMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveDtlsClientConnectionMethod "setRehandshakeMode" o = DtlsConnectionSetRehandshakeModeMethodInfo 
ResolveDtlsClientConnectionMethod "setRequireCloseNotify" o = DtlsConnectionSetRequireCloseNotifyMethodInfo 
ResolveDtlsClientConnectionMethod "setServerIdentity" o = DtlsClientConnectionSetServerIdentityMethodInfo 
ResolveDtlsClientConnectionMethod "setValidationFlags" o = DtlsClientConnectionSetValidationFlagsMethodInfo 
ResolveDtlsClientConnectionMethod l o = MethodResolutionFailed l o :: Type 

getAcceptedCas

dtlsClientConnectionGetAcceptedCas Source #

Arguments

:: (HasCallStack, MonadIO m, IsDtlsClientConnection a) 
=> a

conn: the DtlsClientConnection

-> m [ByteString]

Returns: the list of CA DNs. You should unref each element with byteArrayUnref and then the free the list with g_list_free().

Gets the list of distinguished names of the Certificate Authorities that the server will accept certificates from. This will be set during the TLS handshake if the server requests a certificate. Otherwise, it will be Nothing.

Each item in the list is a ByteArray which contains the complete subject DN of the certificate authority.

Since: 2.48

getServerIdentity

dtlsClientConnectionGetServerIdentity Source #

Arguments

:: (HasCallStack, MonadIO m, IsDtlsClientConnection a) 
=> a

conn: the DtlsClientConnection

-> m SocketConnectable

Returns: a SocketConnectable describing the expected server identity, or Nothing if the expected identity is not known.

Gets conn's expected server identity

Since: 2.48

getValidationFlags

dtlsClientConnectionGetValidationFlags Source #

Arguments

:: (HasCallStack, MonadIO m, IsDtlsClientConnection a) 
=> a

conn: the DtlsClientConnection

-> m [TlsCertificateFlags]

Returns: the validation flags

Deprecated: (Since version 2.74)Do not attempt to ignore validation errors.

Gets conn's validation flags

This function does not work as originally designed and is impossible to use correctly. See DtlsClientConnection:validationFlags for more information.

Since: 2.48

new

dtlsClientConnectionNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsDatagramBased a, IsSocketConnectable b) 
=> a

baseSocket: the DatagramBased to wrap

-> Maybe b

serverIdentity: the expected identity of the server

-> m DtlsClientConnection

Returns: the new DtlsClientConnection, or Nothing on error (Can throw GError)

Creates a new DtlsClientConnection wrapping baseSocket which is assumed to communicate with the server identified by serverIdentity.

Since: 2.48

setServerIdentity

dtlsClientConnectionSetServerIdentity Source #

Arguments

:: (HasCallStack, MonadIO m, IsDtlsClientConnection a, IsSocketConnectable b) 
=> a

conn: the DtlsClientConnection

-> b

identity: a SocketConnectable describing the expected server identity

-> m () 

Sets conn's expected server identity, which is used both to tell servers on virtual hosts which certificate to present, and also to let conn know what name to look for in the certificate when performing TlsCertificateFlagsBadIdentity validation, if enabled.

Since: 2.48

setValidationFlags

dtlsClientConnectionSetValidationFlags Source #

Arguments

:: (HasCallStack, MonadIO m, IsDtlsClientConnection a) 
=> a

conn: the DtlsClientConnection

-> [TlsCertificateFlags]

flags: the TlsCertificateFlags to use

-> m () 

Deprecated: (Since version 2.74)Do not attempt to ignore validation errors.

Sets conn's validation flags, to override the default set of checks performed when validating a server certificate. By default, TlsCertificateFlagsValidateAll is used.

This function does not work as originally designed and is impossible to use correctly. See DtlsClientConnection:validationFlags for more information.

Since: 2.48

Properties

acceptedCas

A list of the distinguished names of the Certificate Authorities that the server will accept client certificates signed by. If the server requests a client certificate during the handshake, then this property will be set after the handshake completes.

Each item in the list is a ByteArray which contains the complete subject DN of the certificate authority.

Since: 2.48

data DtlsClientConnectionAcceptedCasPropertyInfo Source #

Instances

Instances details
AttrInfo DtlsClientConnectionAcceptedCasPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

Associated Types

type AttrAllowedOps DtlsClientConnectionAcceptedCasPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrBaseTypeConstraint DtlsClientConnectionAcceptedCasPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrGetType DtlsClientConnectionAcceptedCasPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrSetTypeConstraint DtlsClientConnectionAcceptedCasPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferTypeConstraint DtlsClientConnectionAcceptedCasPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferType DtlsClientConnectionAcceptedCasPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrLabel DtlsClientConnectionAcceptedCasPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrOrigin DtlsClientConnectionAcceptedCasPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrAllowedOps DtlsClientConnectionAcceptedCasPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrBaseTypeConstraint DtlsClientConnectionAcceptedCasPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrGetType DtlsClientConnectionAcceptedCasPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrLabel DtlsClientConnectionAcceptedCasPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrOrigin DtlsClientConnectionAcceptedCasPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrSetTypeConstraint DtlsClientConnectionAcceptedCasPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferType DtlsClientConnectionAcceptedCasPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferTypeConstraint DtlsClientConnectionAcceptedCasPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

getDtlsClientConnectionAcceptedCas :: (MonadIO m, IsDtlsClientConnection o) => o -> m [Ptr ()] Source #

Get the value of the “accepted-cas” property. When overloading is enabled, this is equivalent to

get dtlsClientConnection #acceptedCas

serverIdentity

A SocketConnectable describing the identity of the server that is expected on the other end of the connection.

If the TlsCertificateFlagsBadIdentity flag is set in DtlsClientConnection:validationFlags, this object will be used to determine the expected identify of the remote end of the connection; if DtlsClientConnection:serverIdentity is not set, or does not match the identity presented by the server, then the TlsCertificateFlagsBadIdentity validation will fail.

In addition to its use in verifying the server certificate, this is also used to give a hint to the server about what certificate we expect, which is useful for servers that serve virtual hosts.

Since: 2.48

data DtlsClientConnectionServerIdentityPropertyInfo Source #

Instances

Instances details
AttrInfo DtlsClientConnectionServerIdentityPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

Associated Types

type AttrAllowedOps DtlsClientConnectionServerIdentityPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrBaseTypeConstraint DtlsClientConnectionServerIdentityPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrGetType DtlsClientConnectionServerIdentityPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrSetTypeConstraint DtlsClientConnectionServerIdentityPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferTypeConstraint DtlsClientConnectionServerIdentityPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferType DtlsClientConnectionServerIdentityPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrLabel DtlsClientConnectionServerIdentityPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrOrigin DtlsClientConnectionServerIdentityPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrAllowedOps DtlsClientConnectionServerIdentityPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrBaseTypeConstraint DtlsClientConnectionServerIdentityPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrGetType DtlsClientConnectionServerIdentityPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrLabel DtlsClientConnectionServerIdentityPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrOrigin DtlsClientConnectionServerIdentityPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrSetTypeConstraint DtlsClientConnectionServerIdentityPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferType DtlsClientConnectionServerIdentityPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferTypeConstraint DtlsClientConnectionServerIdentityPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

constructDtlsClientConnectionServerIdentity :: (IsDtlsClientConnection o, MonadIO m, IsSocketConnectable a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “server-identity” property. This is rarely needed directly, but it is used by new.

getDtlsClientConnectionServerIdentity :: (MonadIO m, IsDtlsClientConnection o) => o -> m SocketConnectable Source #

Get the value of the “server-identity” property. When overloading is enabled, this is equivalent to

get dtlsClientConnection #serverIdentity

setDtlsClientConnectionServerIdentity :: (MonadIO m, IsDtlsClientConnection o, IsSocketConnectable a) => o -> a -> m () Source #

Set the value of the “server-identity” property. When overloading is enabled, this is equivalent to

set dtlsClientConnection [ #serverIdentity := value ]

validationFlags

What steps to perform when validating a certificate received from a server. Server certificates that fail to validate in any of the ways indicated here will be rejected unless the application overrides the default via DtlsConnection::acceptCertificate.

GLib guarantees that if certificate verification fails, at least one flag will be set, but it does not guarantee that all possible flags will be set. Accordingly, you may not safely decide to ignore any particular type of error. For example, it would be incorrect to mask TlsCertificateFlagsExpired if you want to allow expired certificates, because this could potentially be the only error flag set even if other problems exist with the certificate. Therefore, there is no safe way to use this property. This is not a horrible problem, though, because you should not be attempting to ignore validation errors anyway. If you really must ignore TLS certificate errors, connect to DtlsConnection::acceptCertificate.

Since: 2.48

data DtlsClientConnectionValidationFlagsPropertyInfo Source #

Instances

Instances details
AttrInfo DtlsClientConnectionValidationFlagsPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

Associated Types

type AttrAllowedOps DtlsClientConnectionValidationFlagsPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrBaseTypeConstraint DtlsClientConnectionValidationFlagsPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrGetType DtlsClientConnectionValidationFlagsPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrSetTypeConstraint DtlsClientConnectionValidationFlagsPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferTypeConstraint DtlsClientConnectionValidationFlagsPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferType DtlsClientConnectionValidationFlagsPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrLabel DtlsClientConnectionValidationFlagsPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrOrigin DtlsClientConnectionValidationFlagsPropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrAllowedOps DtlsClientConnectionValidationFlagsPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrBaseTypeConstraint DtlsClientConnectionValidationFlagsPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrGetType DtlsClientConnectionValidationFlagsPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrLabel DtlsClientConnectionValidationFlagsPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrOrigin DtlsClientConnectionValidationFlagsPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrSetTypeConstraint DtlsClientConnectionValidationFlagsPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferType DtlsClientConnectionValidationFlagsPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

type AttrTransferTypeConstraint DtlsClientConnectionValidationFlagsPropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsClientConnection

constructDtlsClientConnectionValidationFlags :: (IsDtlsClientConnection o, MonadIO m) => [TlsCertificateFlags] -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “validation-flags” property. This is rarely needed directly, but it is used by new.

getDtlsClientConnectionValidationFlags :: (MonadIO m, IsDtlsClientConnection o) => o -> m [TlsCertificateFlags] Source #

Get the value of the “validation-flags” property. When overloading is enabled, this is equivalent to

get dtlsClientConnection #validationFlags

setDtlsClientConnectionValidationFlags :: (MonadIO m, IsDtlsClientConnection o) => o -> [TlsCertificateFlags] -> m () Source #

Set the value of the “validation-flags” property. When overloading is enabled, this is equivalent to

set dtlsClientConnection [ #validationFlags := value ]