gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.SettingWirelessSecurity

Description

Wi-Fi Security Settings

Synopsis

Exported types

newtype SettingWirelessSecurity Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf SettingWirelessSecurity o) => IsSettingWirelessSecurity o Source #

Type class for types which can be safely cast to SettingWirelessSecurity, for instance with toSettingWirelessSecurity.

toSettingWirelessSecurity :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m SettingWirelessSecurity Source #

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

Methods

addGroup

settingWirelessSecurityAddGroup Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Text

group: the encryption algorithm to add, one of "wep40", "wep104", "tkip", or "ccmp"

-> m Bool

Returns: True if the algorithm was added to the list, False if it was already in the list

Adds an encryption algorithm to the list of allowed groupwise encryption algorithms. If the list is not empty, then only access points that support one or more of the encryption algorithms in the list will be considered compatible with this connection.

addPairwise

settingWirelessSecurityAddPairwise Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Text

pairwise: the encryption algorithm to add, one of "tkip" or "ccmp"

-> m Bool

Returns: True if the algorithm was added to the list, False if it was already in the list

Adds an encryption algorithm to the list of allowed pairwise encryption algorithms. If the list is not empty, then only access points that support one or more of the encryption algorithms in the list will be considered compatible with this connection.

addProto

settingWirelessSecurityAddProto Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Text

proto: the protocol to add, one of "wpa" or "rsn"

-> m Bool

Returns: True if the protocol was new and was added to the allowed protocol list, or False if it was already in the list

Adds a Wi-Fi security protocol (one of "wpa" or "rsn") to the allowed list; only protocols in this list will be used when finding and connecting to the Wi-Fi network specified by this connection. For example, if the protocol list contains only "wpa" but the access point for the SSID specified by this connection only supports WPA2/RSN, the connection cannot be used with the access point.

clearGroups

settingWirelessSecurityClearGroups Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m () 

Removes all algorithms from the allowed list. If there are no algorithms specified then all groupwise encryption algorithms are allowed.

clearPairwise

settingWirelessSecurityClearPairwise Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m () 

Removes all algorithms from the allowed list. If there are no algorithms specified then all pairwise encryption algorithms are allowed.

clearProtos

settingWirelessSecurityClearProtos Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m () 

Removes all protocols from the allowed list. If there are no protocols specified then all protocols are allowed.

getAuthAlg

settingWirelessSecurityGetAuthAlg Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m Text

Returns: the SettingWirelessSecurity:authAlg property of the setting

No description available in the introspection data.

getFils

settingWirelessSecurityGetFils Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m SettingWirelessSecurityFils

Returns: the SettingWirelessSecurity:fils property of the setting

No description available in the introspection data.

Since: 1.12

getGroup

settingWirelessSecurityGetGroup Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Word32

i: index of an item in the allowed groupwise encryption algorithm list

-> m Text

Returns: the groupwise encryption algorithm at index i

Returns the allowed groupwise encryption algorithm from allowed algorithm list.

getKeyMgmt

settingWirelessSecurityGetKeyMgmt Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m Text

Returns: the SettingWirelessSecurity:keyMgmt property of the setting

No description available in the introspection data.

getLeapPassword

settingWirelessSecurityGetLeapPassword Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m Text

Returns: the SettingWirelessSecurity:leapPassword property of the setting

No description available in the introspection data.

getLeapPasswordFlags

settingWirelessSecurityGetLeapPasswordFlags Source #

No description available in the introspection data.

getLeapUsername

settingWirelessSecurityGetLeapUsername Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m Text

Returns: the SettingWirelessSecurity:leapUsername property of the setting

No description available in the introspection data.

getNumGroups

settingWirelessSecurityGetNumGroups Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m Word32

Returns: the number of groupwise encryption algorithms in the allowed list

No description available in the introspection data.

getNumPairwise

settingWirelessSecurityGetNumPairwise Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m Word32

Returns: the number of pairwise encryption algorithms in the allowed list

No description available in the introspection data.

getNumProtos

settingWirelessSecurityGetNumProtos Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m Word32

Returns: the number of security protocols this connection allows when connecting to secure Wi-Fi networks

No description available in the introspection data.

getPairwise

settingWirelessSecurityGetPairwise Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Word32

i: index of an item in the allowed pairwise encryption algorithm list

-> m Text

Returns: the pairwise encryption algorithm at index i

Returns the allowed pairwise encryption algorithm from allowed algorithm list.

getPmf

settingWirelessSecurityGetPmf Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m SettingWirelessSecurityPmf

Returns: the SettingWirelessSecurity:pmf property of the setting

No description available in the introspection data.

Since: 1.10

getProto

settingWirelessSecurityGetProto Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Word32

i: an index into the protocol list

-> m Text

Returns: the protocol at index i

No description available in the introspection data.

getPsk

settingWirelessSecurityGetPsk Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m Text

Returns: the SettingWirelessSecurity:psk property of the setting

No description available in the introspection data.

getPskFlags

settingWirelessSecurityGetPskFlags Source #

No description available in the introspection data.

getWepKey

settingWirelessSecurityGetWepKey Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Word32

idx: the WEP key index (0..3 inclusive)

-> m Text

Returns: the WEP key at the given index

No description available in the introspection data.

getWepKeyFlags

settingWirelessSecurityGetWepKeyFlags Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m [SettingSecretFlags]

Returns: the SettingSecretFlags pertaining to the all WEP keys

No description available in the introspection data.

getWepKeyType

settingWirelessSecurityGetWepKeyType Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m WepKeyType

Returns: the SettingWirelessSecurity:wepKeyType property of the setting

No description available in the introspection data.

getWepTxKeyidx

settingWirelessSecurityGetWepTxKeyidx Source #

Arguments

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

setting: the SettingWirelessSecurity

-> m Word32

Returns: the SettingWirelessSecurity:wepTxKeyidx property of the setting

No description available in the introspection data.

getWpsMethod

settingWirelessSecurityGetWpsMethod Source #

No description available in the introspection data.

Since: 1.10

new

settingWirelessSecurityNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m SettingWirelessSecurity

Returns: the new empty SettingWirelessSecurity object

Creates a new SettingWirelessSecurity object with default values.

removeGroup

settingWirelessSecurityRemoveGroup Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Word32

i: the index of an item in the allowed groupwise encryption algorithm list

-> m () 

Removes an encryption algorithm from the allowed groupwise encryption algorithm list.

removeGroupByValue

settingWirelessSecurityRemoveGroupByValue Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Text

group: the encryption algorithm to remove, one of "wep40", "wep104", "tkip", or "ccmp"

-> m Bool

Returns: True if the algorithm was found and removed; False if it was not.

Removes an encryption algorithm from the allowed groupwise encryption algorithm list.

removePairwise

settingWirelessSecurityRemovePairwise Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Word32

i: the index of an item in the allowed pairwise encryption algorithm list

-> m () 

Removes an encryption algorithm from the allowed pairwise encryption algorithm list.

removePairwiseByValue

settingWirelessSecurityRemovePairwiseByValue Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Text

pairwise: the encryption algorithm to remove, one of "tkip" or "ccmp"

-> m Bool

Returns: True if the encryption algorithm was found and removed; False if it was not.

Removes an encryption algorithm from the allowed pairwise encryption algorithm list.

removeProto

settingWirelessSecurityRemoveProto Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Word32

i: index of the protocol to remove

-> m () 

Removes a protocol from the allowed protocol list.

removeProtoByValue

settingWirelessSecurityRemoveProtoByValue Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Text

proto: the protocol to remove, one of "wpa" or "rsn"

-> m Bool

Returns: True if the protocol was found and removed; False if it was not.

Removes a protocol from the allowed protocol list.

setWepKey

settingWirelessSecuritySetWepKey Source #

Arguments

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

setting: the SettingWirelessSecurity

-> Word32

idx: the index of the key (0..3 inclusive)

-> Text

key: the WEP key as a string, in either hexadecimal, ASCII, or passphrase form as determined by the value of the SettingWirelessSecurity:wepKeyType property.

-> m () 

Sets a WEP key in the given index.

Properties

authAlg

When WEP is used (ie, key-mgmt = "none" or "ieee8021x") indicate the 802.11 authentication algorithm required by the AP here. One of "open" for Open System, "shared" for Shared Key, or "leap" for Cisco LEAP. When using Cisco LEAP (ie, key-mgmt = "ieee8021x" and auth-alg = "leap") the "leap-username" and "leap-password" properties must be specified.

clearSettingWirelessSecurityAuthAlg :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “auth-alg” property to Nothing. When overloading is enabled, this is equivalent to

clear #authAlg

constructSettingWirelessSecurityAuthAlg :: (IsSettingWirelessSecurity o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityAuthAlg :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m Text Source #

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

get settingWirelessSecurity #authAlg

setSettingWirelessSecurityAuthAlg :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Text -> m () Source #

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

set settingWirelessSecurity [ #authAlg := value ]

fils

Indicates whether Fast Initial Link Setup (802.11ai) must be enabled for the connection. One of SettingWirelessSecurityFilsDefault (use global default value), SettingWirelessSecurityFilsDisable (disable FILS), SettingWirelessSecurityFilsOptional (enable FILS if the supplicant and the access point support it) or SettingWirelessSecurityFilsRequired (enable FILS and fail if not supported). When set to SettingWirelessSecurityFilsDefault and no global default is set, FILS will be optionally enabled.

Since: 1.12

constructSettingWirelessSecurityFils :: (IsSettingWirelessSecurity o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityFils :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m Int32 Source #

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

get settingWirelessSecurity #fils

setSettingWirelessSecurityFils :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Int32 -> m () Source #

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

set settingWirelessSecurity [ #fils := value ]

group

A list of group/broadcast encryption algorithms which prevents connections to Wi-Fi networks that do not utilize one of the algorithms in the list. For maximum compatibility leave this property empty. Each list element may be one of "wep40", "wep104", "tkip", or "ccmp".

clearSettingWirelessSecurityGroup :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “group” property to Nothing. When overloading is enabled, this is equivalent to

clear #group

constructSettingWirelessSecurityGroup :: (IsSettingWirelessSecurity o, MonadIO m) => [Text] -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityGroup :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m (Maybe [Text]) Source #

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

get settingWirelessSecurity #group

setSettingWirelessSecurityGroup :: (MonadIO m, IsSettingWirelessSecurity o) => o -> [Text] -> m () Source #

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

set settingWirelessSecurity [ #group := value ]

keyMgmt

Key management used for the connection. One of "none" (WEP or no password protection), "ieee8021x" (Dynamic WEP), "owe" (Opportunistic Wireless Encryption), "wpa-psk" (WPA2 + WPA3 personal), "sae" (WPA3 personal only), "wpa-eap" (WPA2 + WPA3 enterprise) or "wpa-eap-suite-b-192" (WPA3 enterprise only).

This property must be set for any Wi-Fi connection that uses security.

clearSettingWirelessSecurityKeyMgmt :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “key-mgmt” property to Nothing. When overloading is enabled, this is equivalent to

clear #keyMgmt

constructSettingWirelessSecurityKeyMgmt :: (IsSettingWirelessSecurity o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityKeyMgmt :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m Text Source #

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

get settingWirelessSecurity #keyMgmt

setSettingWirelessSecurityKeyMgmt :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Text -> m () Source #

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

set settingWirelessSecurity [ #keyMgmt := value ]

leapPassword

The login password for legacy LEAP connections (ie, key-mgmt = "ieee8021x" and auth-alg = "leap").

clearSettingWirelessSecurityLeapPassword :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “leap-password” property to Nothing. When overloading is enabled, this is equivalent to

clear #leapPassword

constructSettingWirelessSecurityLeapPassword :: (IsSettingWirelessSecurity o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityLeapPassword :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m Text Source #

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

get settingWirelessSecurity #leapPassword

setSettingWirelessSecurityLeapPassword :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Text -> m () Source #

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

set settingWirelessSecurity [ #leapPassword := value ]

leapPasswordFlags

Flags indicating how to handle the SettingWirelessSecurity:leapPassword property.

constructSettingWirelessSecurityLeapPasswordFlags :: (IsSettingWirelessSecurity o, MonadIO m) => [SettingSecretFlags] -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityLeapPasswordFlags :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m [SettingSecretFlags] Source #

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

get settingWirelessSecurity #leapPasswordFlags

setSettingWirelessSecurityLeapPasswordFlags :: (MonadIO m, IsSettingWirelessSecurity o) => o -> [SettingSecretFlags] -> m () Source #

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

set settingWirelessSecurity [ #leapPasswordFlags := value ]

leapUsername

The login username for legacy LEAP connections (ie, key-mgmt = "ieee8021x" and auth-alg = "leap").

clearSettingWirelessSecurityLeapUsername :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “leap-username” property to Nothing. When overloading is enabled, this is equivalent to

clear #leapUsername

constructSettingWirelessSecurityLeapUsername :: (IsSettingWirelessSecurity o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityLeapUsername :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m Text Source #

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

get settingWirelessSecurity #leapUsername

setSettingWirelessSecurityLeapUsername :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Text -> m () Source #

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

set settingWirelessSecurity [ #leapUsername := value ]

pairwise

A list of pairwise encryption algorithms which prevents connections to Wi-Fi networks that do not utilize one of the algorithms in the list. For maximum compatibility leave this property empty. Each list element may be one of "tkip" or "ccmp".

clearSettingWirelessSecurityPairwise :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “pairwise” property to Nothing. When overloading is enabled, this is equivalent to

clear #pairwise

constructSettingWirelessSecurityPairwise :: (IsSettingWirelessSecurity o, MonadIO m) => [Text] -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityPairwise :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m (Maybe [Text]) Source #

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

get settingWirelessSecurity #pairwise

setSettingWirelessSecurityPairwise :: (MonadIO m, IsSettingWirelessSecurity o) => o -> [Text] -> m () Source #

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

set settingWirelessSecurity [ #pairwise := value ]

pmf

Indicates whether Protected Management Frames (802.11w) must be enabled for the connection. One of SettingWirelessSecurityPmfDefault (use global default value), SettingWirelessSecurityPmfDisable (disable PMF), SettingWirelessSecurityPmfOptional (enable PMF if the supplicant and the access point support it) or SettingWirelessSecurityPmfRequired (enable PMF and fail if not supported). When set to SettingWirelessSecurityPmfDefault and no global default is set, PMF will be optionally enabled.

Since: 1.10

constructSettingWirelessSecurityPmf :: (IsSettingWirelessSecurity o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityPmf :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m Int32 Source #

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

get settingWirelessSecurity #pmf

setSettingWirelessSecurityPmf :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Int32 -> m () Source #

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

set settingWirelessSecurity [ #pmf := value ]

proto

List of strings specifying the allowed WPA protocol versions to use. Each element may be one "wpa" (allow WPA) or "rsn" (allow WPA2/RSN). If not specified, both WPA and RSN connections are allowed.

clearSettingWirelessSecurityProto :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “proto” property to Nothing. When overloading is enabled, this is equivalent to

clear #proto

constructSettingWirelessSecurityProto :: (IsSettingWirelessSecurity o, MonadIO m) => [Text] -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityProto :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m (Maybe [Text]) Source #

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

get settingWirelessSecurity #proto

setSettingWirelessSecurityProto :: (MonadIO m, IsSettingWirelessSecurity o) => o -> [Text] -> m () Source #

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

set settingWirelessSecurity [ #proto := value ]

psk

Pre-Shared-Key for WPA networks. For WPA-PSK, it's either an ASCII passphrase of 8 to 63 characters that is (as specified in the 802.11i standard) hashed to derive the actual key, or the key in form of 64 hexadecimal character. The WPA3-Personal networks use a passphrase of any length for SAE authentication.

clearSettingWirelessSecurityPsk :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “psk” property to Nothing. When overloading is enabled, this is equivalent to

clear #psk

constructSettingWirelessSecurityPsk :: (IsSettingWirelessSecurity o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityPsk :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m Text Source #

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

get settingWirelessSecurity #psk

setSettingWirelessSecurityPsk :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Text -> m () Source #

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

set settingWirelessSecurity [ #psk := value ]

pskFlags

Flags indicating how to handle the SettingWirelessSecurity:psk property.

constructSettingWirelessSecurityPskFlags :: (IsSettingWirelessSecurity o, MonadIO m) => [SettingSecretFlags] -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityPskFlags :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m [SettingSecretFlags] Source #

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

get settingWirelessSecurity #pskFlags

setSettingWirelessSecurityPskFlags :: (MonadIO m, IsSettingWirelessSecurity o) => o -> [SettingSecretFlags] -> m () Source #

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

set settingWirelessSecurity [ #pskFlags := value ]

wepKey0

Index 0 WEP key. This is the WEP key used in most networks. See the "wep-key-type" property for a description of how this key is interpreted.

clearSettingWirelessSecurityWepKey0 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “wep-key0” property to Nothing. When overloading is enabled, this is equivalent to

clear #wepKey0

constructSettingWirelessSecurityWepKey0 :: (IsSettingWirelessSecurity o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityWepKey0 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m (Maybe Text) Source #

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

get settingWirelessSecurity #wepKey0

setSettingWirelessSecurityWepKey0 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Text -> m () Source #

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

set settingWirelessSecurity [ #wepKey0 := value ]

wepKey1

Index 1 WEP key. This WEP index is not used by most networks. See the "wep-key-type" property for a description of how this key is interpreted.

clearSettingWirelessSecurityWepKey1 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “wep-key1” property to Nothing. When overloading is enabled, this is equivalent to

clear #wepKey1

constructSettingWirelessSecurityWepKey1 :: (IsSettingWirelessSecurity o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityWepKey1 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m (Maybe Text) Source #

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

get settingWirelessSecurity #wepKey1

setSettingWirelessSecurityWepKey1 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Text -> m () Source #

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

set settingWirelessSecurity [ #wepKey1 := value ]

wepKey2

Index 2 WEP key. This WEP index is not used by most networks. See the "wep-key-type" property for a description of how this key is interpreted.

clearSettingWirelessSecurityWepKey2 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “wep-key2” property to Nothing. When overloading is enabled, this is equivalent to

clear #wepKey2

constructSettingWirelessSecurityWepKey2 :: (IsSettingWirelessSecurity o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityWepKey2 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m (Maybe Text) Source #

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

get settingWirelessSecurity #wepKey2

setSettingWirelessSecurityWepKey2 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Text -> m () Source #

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

set settingWirelessSecurity [ #wepKey2 := value ]

wepKey3

Index 3 WEP key. This WEP index is not used by most networks. See the "wep-key-type" property for a description of how this key is interpreted.

clearSettingWirelessSecurityWepKey3 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m () Source #

Set the value of the “wep-key3” property to Nothing. When overloading is enabled, this is equivalent to

clear #wepKey3

constructSettingWirelessSecurityWepKey3 :: (IsSettingWirelessSecurity o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityWepKey3 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m (Maybe Text) Source #

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

get settingWirelessSecurity #wepKey3

setSettingWirelessSecurityWepKey3 :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Text -> m () Source #

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

set settingWirelessSecurity [ #wepKey3 := value ]

wepKeyFlags

constructSettingWirelessSecurityWepKeyFlags :: (IsSettingWirelessSecurity o, MonadIO m) => [SettingSecretFlags] -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityWepKeyFlags :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m [SettingSecretFlags] Source #

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

get settingWirelessSecurity #wepKeyFlags

setSettingWirelessSecurityWepKeyFlags :: (MonadIO m, IsSettingWirelessSecurity o) => o -> [SettingSecretFlags] -> m () Source #

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

set settingWirelessSecurity [ #wepKeyFlags := value ]

wepKeyType

Controls the interpretation of WEP keys. Allowed values are WepKeyTypeKey, in which case the key is either a 10- or 26-character hexadecimal string, or a 5- or 13-character ASCII password; or WepKeyTypePassphrase, in which case the passphrase is provided as a string and will be hashed using the de-facto MD5 method to derive the actual WEP key.

constructSettingWirelessSecurityWepKeyType :: (IsSettingWirelessSecurity o, MonadIO m) => WepKeyType -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityWepKeyType :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m WepKeyType Source #

Get the value of the “wep-key-type” property. When overloading is enabled, this is equivalent to

get settingWirelessSecurity #wepKeyType

setSettingWirelessSecurityWepKeyType :: (MonadIO m, IsSettingWirelessSecurity o) => o -> WepKeyType -> m () Source #

Set the value of the “wep-key-type” property. When overloading is enabled, this is equivalent to

set settingWirelessSecurity [ #wepKeyType := value ]

wepTxKeyidx

When static WEP is used (ie, key-mgmt = "none") and a non-default WEP key index is used by the AP, put that WEP key index here. Valid values are 0 (default key) through 3. Note that some consumer access points (like the Linksys WRT54G) number the keys 1 - 4.

constructSettingWirelessSecurityWepTxKeyidx :: (IsSettingWirelessSecurity o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityWepTxKeyidx :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m Word32 Source #

Get the value of the “wep-tx-keyidx” property. When overloading is enabled, this is equivalent to

get settingWirelessSecurity #wepTxKeyidx

setSettingWirelessSecurityWepTxKeyidx :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Word32 -> m () Source #

Set the value of the “wep-tx-keyidx” property. When overloading is enabled, this is equivalent to

set settingWirelessSecurity [ #wepTxKeyidx := value ]

wpsMethod

Flags indicating which mode of WPS is to be used if any.

There's little point in changing the default setting as NetworkManager will automatically determine whether it's feasible to start WPS enrollment from the Access Point capabilities.

WPS can be disabled by setting this property to a value of 1.

Since: 1.10

constructSettingWirelessSecurityWpsMethod :: (IsSettingWirelessSecurity o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingWirelessSecurityWpsMethod :: (MonadIO m, IsSettingWirelessSecurity o) => o -> m Word32 Source #

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

get settingWirelessSecurity #wpsMethod

setSettingWirelessSecurityWpsMethod :: (MonadIO m, IsSettingWirelessSecurity o) => o -> Word32 -> m () Source #

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

set settingWirelessSecurity [ #wpsMethod := value ]