Packages
libnm
NM
SettingWireGuard
FWMARK
IP4_AUTO_DEFAULT_ROUTE
IP6_AUTO_DEFAULT_ROUTE
LISTEN_PORT
MTU
PEERS
PEER_ROUTES
PRIVATE_KEY
PRIVATE_KEY_FLAGS
PUBLIC_KEY_LEN
SETTING_NAME
SYMMETRIC_KEY_LEN
fwmark
ip4_auto_default_route
ip6_auto_default_route
listen_port
mtu
peer_routes
private_key
private_key_flags
SettingWireGuard
append_peer
clear_peers
get_fwmark
get_ip4_auto_default_route
get_ip6_auto_default_route
get_listen_port
get_mtu
get_peer
get_peer_by_public_key
get_peer_routes
get_peers_len
get_private_key
get_private_key_flags
remove_peer
set_peer
get_private_key
Description:
public
unowned
string
get_private_key
()
Parameters:
this
the
SettingWireGuard
instance
Returns:
the set private-key or
null
.