A B C D E F G H I J K L M N O P R S T U V W Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addAddress(InetNetwork) - Method in class com.wireguard.config.Interface.Builder
- addAddresses(Collection<InetNetwork>) - Method in class com.wireguard.config.Interface.Builder
- addAllowedIp(InetNetwork) - Method in class com.wireguard.config.Peer.Builder
- addAllowedIps(Collection<InetNetwork>) - Method in class com.wireguard.config.Peer.Builder
- addDnsSearchDomain(String) - Method in class com.wireguard.config.Interface.Builder
- addDnsSearchDomains(Collection<String>) - Method in class com.wireguard.config.Interface.Builder
- addDnsServer(InetAddress) - Method in class com.wireguard.config.Interface.Builder
- addDnsServers(Collection<? extends InetAddress>) - Method in class com.wireguard.config.Interface.Builder
- addPeer(Peer) - Method in class com.wireguard.config.Config.Builder
- addPeers(Collection<Peer>) - Method in class com.wireguard.config.Config.Builder
- ADDRESS - com.wireguard.config.BadConfigException.Location
- ALLOWED_IPS - com.wireguard.config.BadConfigException.Location
- alwaysOnTriggered() - Method in interface com.wireguard.android.backend.GoBackend.AlwaysOnCallback
- areInstalled() - Method in class com.wireguard.android.util.ToolsInstaller
- Attribute - Class in com.wireguard.config
B
- Backend - Interface in com.wireguard.android.backend
-
Interface for implementations of the WireGuard secure network tunnel.
- BackendException - Exception in com.wireguard.android.backend
-
A subclass of
Exception
that encapsulates the reasons for a failure originating in implementations ofBackend
. - BackendException(BackendException.Reason, Object...) - Constructor for exception com.wireguard.android.backend.BackendException
-
Public constructor for BackendException.
- BackendException.Reason - Enum in com.wireguard.android.backend
-
Enum class containing all known reasons for why a
BackendException
might be thrown. - BadConfigException - Exception in com.wireguard.config
- BadConfigException(BadConfigException.Section, BadConfigException.Location, BadConfigException.Reason, CharSequence) - Constructor for exception com.wireguard.config.BadConfigException
- BadConfigException(BadConfigException.Section, BadConfigException.Location, ParseException) - Constructor for exception com.wireguard.config.BadConfigException
- BadConfigException(BadConfigException.Section, BadConfigException.Location, KeyFormatException) - Constructor for exception com.wireguard.config.BadConfigException
- BadConfigException(BadConfigException.Section, BadConfigException.Location, CharSequence, NumberFormatException) - Constructor for exception com.wireguard.config.BadConfigException
- BadConfigException.Location - Enum in com.wireguard.config
- BadConfigException.Reason - Enum in com.wireguard.config
- BadConfigException.Section - Enum in com.wireguard.config
- BASE64 - com.wireguard.crypto.Key.Format
- BINARY - com.wireguard.crypto.Key.Format
- build() - Method in class com.wireguard.config.Config.Builder
- build() - Method in class com.wireguard.config.Interface.Builder
- build() - Method in class com.wireguard.config.Peer.Builder
- Builder() - Constructor for class com.wireguard.config.Config.Builder
- Builder() - Constructor for class com.wireguard.config.Interface.Builder
- Builder() - Constructor for class com.wireguard.config.Peer.Builder
C
- com.wireguard.android.backend - package com.wireguard.android.backend
- com.wireguard.android.util - package com.wireguard.android.util
- com.wireguard.config - package com.wireguard.config
- com.wireguard.crypto - package com.wireguard.crypto
- com.wireguard.util - package com.wireguard.util
- Config - Class in com.wireguard.config
-
Represents the contents of a wg-quick configuration file, made up of one or more "Interface" sections (combined together), and zero or more "Peer" sections (treated individually).
- CONFIG - com.wireguard.config.BadConfigException.Section
- Config.Builder - Class in com.wireguard.config
- CONTENTS - com.wireguard.crypto.KeyFormatException.Type
- CREATE_BIN_DIR_ERROR - com.wireguard.android.util.RootShell.RootShellException.Reason
- CREATE_TEMP_DIR_ERROR - com.wireguard.android.util.RootShell.RootShellException.Reason
- Curve25519 - Class in com.wireguard.crypto
-
Implementation of Curve25519 ECDH.
D
- DNS - com.wireguard.config.BadConfigException.Location
- DNS_RESOLUTION_FAILURE - com.wireguard.android.backend.BackendException.Reason
- DOWN - com.wireguard.android.backend.Tunnel.State
E
- ENDPOINT - com.wireguard.config.BadConfigException.Location
- ensureToolsAvailable() - Method in class com.wireguard.android.util.ToolsInstaller
- equals(Object) - Method in class com.wireguard.config.Config
- equals(Object) - Method in class com.wireguard.config.InetEndpoint
- equals(Object) - Method in class com.wireguard.config.InetNetwork
- equals(Object) - Method in class com.wireguard.config.Interface
- equals(Object) - Method in class com.wireguard.config.Peer
- equals(Object) - Method in class com.wireguard.crypto.Key
- ERROR - Static variable in class com.wireguard.android.util.ToolsInstaller
- eval(byte[], int, byte[], byte[]) - Static method in class com.wireguard.crypto.Curve25519
-
Evaluates the Curve25519 curve.
- excludeApplication(String) - Method in class com.wireguard.config.Interface.Builder
- excludeApplications(Collection<String>) - Method in class com.wireguard.config.Interface.Builder
- EXCLUDED_APPLICATIONS - com.wireguard.config.BadConfigException.Location
- extract() - Method in class com.wireguard.android.util.ToolsInstaller
- extractLibrary(Context, String, File) - Static method in class com.wireguard.android.util.SharedLibraryLoader
F
- fromBase64(String) - Static method in class com.wireguard.crypto.Key
-
Decodes a WireGuard public or private key from its base64 string representation.
- fromBytes(byte[]) - Static method in class com.wireguard.crypto.Key
-
Wraps a WireGuard public or private key in an immutable container.
- fromHex(String) - Static method in class com.wireguard.crypto.Key
-
Decodes a WireGuard public or private key from its hexadecimal string representation.
G
- getAddress() - Method in class com.wireguard.config.InetNetwork
- getAddresses() - Method in class com.wireguard.config.Interface
-
Returns the set of IP addresses assigned to the interface.
- getAllowedIps() - Method in class com.wireguard.config.Peer
-
Returns the peer's set of allowed IPs.
- getBuilder() - Method in class com.wireguard.android.backend.GoBackend.VpnService
- getBytes() - Method in class com.wireguard.crypto.Key
-
Returns the key as an array of bytes.
- getDnsSearchDomains() - Method in class com.wireguard.config.Interface
-
Returns the set of DNS search domains associated with the interface.
- getDnsServers() - Method in class com.wireguard.config.Interface
-
Returns the set of DNS servers associated with the interface.
- getEndpoint() - Method in class com.wireguard.config.Peer
-
Returns the peer's endpoint.
- getExcludedApplications() - Method in class com.wireguard.config.Interface
-
Returns the set of applications excluded from using the interface.
- getFormat() - Method in exception com.wireguard.android.backend.BackendException
-
Get the format string values associated with the instance.
- getFormat() - Method in exception com.wireguard.android.util.RootShell.RootShellException
- getFormat() - Method in exception com.wireguard.crypto.KeyFormatException
- getHost() - Method in class com.wireguard.config.InetEndpoint
- getIncludedApplications() - Method in class com.wireguard.config.Interface
-
Returns the set of applications included exclusively for using the interface.
- getInterface() - Method in class com.wireguard.config.Config
-
Returns the interface section of the configuration.
- getKey() - Method in class com.wireguard.config.Attribute
- getKeyPair() - Method in class com.wireguard.config.Interface
-
Returns the public/private key pair used by the interface.
- getLength() - Method in enum com.wireguard.crypto.Key.Format
- getListenPort() - Method in class com.wireguard.config.Interface
-
Returns the UDP port number that the WireGuard interface will listen on.
- getLocation() - Method in exception com.wireguard.config.BadConfigException
- getMask() - Method in class com.wireguard.config.InetNetwork
- getMtu() - Method in class com.wireguard.config.Interface
-
Returns the MTU used for the WireGuard interface.
- getName() - Method in interface com.wireguard.android.backend.Tunnel
-
Get the name of the tunnel, which should always pass the !isNameInvalid test.
- getName() - Method in enum com.wireguard.config.BadConfigException.Location
- getName() - Method in enum com.wireguard.config.BadConfigException.Section
- getParsingClass() - Method in exception com.wireguard.config.ParseException
- getPeers() - Method in class com.wireguard.config.Config
-
Returns a list of the configuration's peer sections.
- getPersistentKeepalive() - Method in class com.wireguard.config.Peer
-
Returns the peer's persistent keepalive.
- getPort() - Method in class com.wireguard.config.InetEndpoint
- getPreSharedKey() - Method in class com.wireguard.config.Peer
-
Returns the peer's pre-shared key.
- getPrivateKey() - Method in class com.wireguard.crypto.KeyPair
-
Returns the private key from the key pair.
- getPublicKey() - Method in class com.wireguard.config.Peer
-
Returns the peer's public key.
- getPublicKey() - Method in class com.wireguard.crypto.KeyPair
-
Returns the public key from the key pair.
- getReason() - Method in exception com.wireguard.android.backend.BackendException
-
Get the reason for this exception.
- getReason() - Method in exception com.wireguard.android.util.RootShell.RootShellException
- getReason() - Method in exception com.wireguard.config.BadConfigException
- getResolved() - Method in class com.wireguard.config.InetEndpoint
-
Generate an
InetEndpoint
instance with the same port and the host resolved using DNS to a numeric address. - getRunningTunnelNames() - Method in interface com.wireguard.android.backend.Backend
-
Enumerate names of currently-running tunnels.
- getRunningTunnelNames() - Method in class com.wireguard.android.backend.GoBackend
-
Method to get the names of running tunnels.
- getRunningTunnelNames() - Method in class com.wireguard.android.backend.WgQuickBackend
- getSection() - Method in exception com.wireguard.config.BadConfigException
- getState(Tunnel) - Method in interface com.wireguard.android.backend.Backend
-
Get the state of a tunnel.
- getState(Tunnel) - Method in class com.wireguard.android.backend.GoBackend
-
Get the associated
Tunnel.State
for a givenTunnel
. - getState(Tunnel) - Method in class com.wireguard.android.backend.WgQuickBackend
- getStatistics(Tunnel) - Method in interface com.wireguard.android.backend.Backend
-
Get statistics about traffic and errors on this tunnel.
- getStatistics(Tunnel) - Method in class com.wireguard.android.backend.GoBackend
-
Get the associated
Statistics
for a givenTunnel
. - getStatistics(Tunnel) - Method in class com.wireguard.android.backend.WgQuickBackend
- getText() - Method in exception com.wireguard.config.BadConfigException
- getText() - Method in exception com.wireguard.config.ParseException
- getType() - Method in exception com.wireguard.crypto.KeyFormatException
- getValue() - Method in class com.wireguard.config.Attribute
- getVersion() - Method in interface com.wireguard.android.backend.Backend
-
Determine version of underlying backend.
- getVersion() - Method in class com.wireguard.android.backend.GoBackend
-
Get the version of the underlying wireguard-go library.
- getVersion() - Method in class com.wireguard.android.backend.WgQuickBackend
- GO_ACTIVATION_ERROR_CODE - com.wireguard.android.backend.BackendException.Reason
- GoBackend - Class in com.wireguard.android.backend
-
Implementation of
Backend
that uses the wireguard-go userspace implementation to provide WireGuard tunnels. - GoBackend(Context) - Constructor for class com.wireguard.android.backend.GoBackend
-
Public constructor for GoBackend.
- GoBackend.AlwaysOnCallback - Interface in com.wireguard.android.backend
-
Callback for
GoBackend
that is invoked whenGoBackend.VpnService
is started by the system's Always-On VPN mode. - GoBackend.VpnService - Class in com.wireguard.android.backend
-
VpnService
implementation forGoBackend
H
- hashCode() - Method in class com.wireguard.config.Config
- hashCode() - Method in class com.wireguard.config.InetEndpoint
- hashCode() - Method in class com.wireguard.config.InetNetwork
- hashCode() - Method in class com.wireguard.config.Interface
- hashCode() - Method in class com.wireguard.config.Peer
- hashCode() - Method in class com.wireguard.crypto.Key
- hasKernelSupport() - Static method in class com.wireguard.android.backend.WgQuickBackend
- HEX - com.wireguard.crypto.Key.Format
I
- includeApplication(String) - Method in class com.wireguard.config.Interface.Builder
- includeApplications(Collection<String>) - Method in class com.wireguard.config.Interface.Builder
- INCLUDED_APPLICATIONS - com.wireguard.config.BadConfigException.Location
- InetAddresses - Class in com.wireguard.config
-
Utility methods for creating instances of
InetAddress
. - InetEndpoint - Class in com.wireguard.config
-
An external endpoint (host and port) used to connect to a WireGuard
Peer
. - InetNetwork - Class in com.wireguard.config
-
An Internet network, denoted by its address and netmask
- install() - Method in class com.wireguard.android.util.ToolsInstaller
- Interface - Class in com.wireguard.config
-
Represents the configuration for a WireGuard interface (an [Interface] block).
- INTERFACE - com.wireguard.config.BadConfigException.Section
- Interface.Builder - Class in com.wireguard.config
- INVALID_KEY - com.wireguard.config.BadConfigException.Reason
- INVALID_NUMBER - com.wireguard.config.BadConfigException.Reason
- INVALID_VALUE - com.wireguard.config.BadConfigException.Reason
- isHostname(CharSequence) - Static method in class com.wireguard.config.InetAddresses
-
Determines whether input is a valid DNS hostname.
- isIORelated() - Method in exception com.wireguard.android.util.RootShell.RootShellException
- isNameInvalid(CharSequence) - Static method in interface com.wireguard.android.backend.Tunnel
- isStale() - Method in class com.wireguard.android.backend.Statistics
-
Check if the statistics are stale, indicating the need for the
Backend
to update them.
J
- join(Iterable<?>) - Static method in class com.wireguard.config.Attribute
K
- Key - Class in com.wireguard.crypto
-
Represents a WireGuard public or private key.
- Key.Format - Enum in com.wireguard.crypto
-
The supported formats for encoding a WireGuard key.
- KeyFormatException - Exception in com.wireguard.crypto
-
An exception thrown when attempting to parse an invalid key (too short, too long, or byte data inappropriate for the format).
- KeyFormatException.Type - Enum in com.wireguard.crypto
- KeyPair - Class in com.wireguard.crypto
-
Represents a Curve25519 key pair as used by WireGuard.
- KeyPair() - Constructor for class com.wireguard.crypto.KeyPair
-
Creates a key pair using a newly-generated private key.
- KeyPair(Key) - Constructor for class com.wireguard.crypto.KeyPair
-
Creates a key pair using an existing private key.
L
- LENGTH - com.wireguard.crypto.KeyFormatException.Type
- LISTEN_PORT - com.wireguard.config.BadConfigException.Location
- loadSharedLibrary(Context, String) - Static method in class com.wireguard.android.util.SharedLibraryLoader
M
- MAGISK - Static variable in class com.wireguard.android.util.ToolsInstaller
- MISSING_ATTRIBUTE - com.wireguard.config.BadConfigException.Reason
- MISSING_SECTION - com.wireguard.config.BadConfigException.Reason
- MTU - com.wireguard.config.BadConfigException.Location
N
- NAME_MAX_LENGTH - Static variable in interface com.wireguard.android.backend.Tunnel
- NAME_PATTERN - Static variable in interface com.wireguard.android.backend.Tunnel
- NO - Static variable in class com.wireguard.android.util.ToolsInstaller
- NO_ROOT_ACCESS - com.wireguard.android.util.RootShell.RootShellException.Reason
- NonNullForAll - Annotation Type in com.wireguard.util
-
This annotation can be applied to a package, class or method to indicate that all class fields and method parameters and return values in that element are nonnull by default unless overridden.
O
- of(boolean) - Static method in enum com.wireguard.android.backend.Tunnel.State
-
Get the state of a
Tunnel
- onCreate() - Method in class com.wireguard.android.backend.GoBackend.VpnService
- onDestroy() - Method in class com.wireguard.android.backend.GoBackend.VpnService
- onStartCommand(Intent, int, int) - Method in class com.wireguard.android.backend.GoBackend.VpnService
- onStateChange(Tunnel.State) - Method in interface com.wireguard.android.backend.Tunnel
-
React to a change in state of the tunnel.
P
- parse(BufferedReader) - Static method in class com.wireguard.config.Config
-
Parses an series of "Interface" and "Peer" sections into a
Config
. - parse(InputStream) - Static method in class com.wireguard.config.Config
-
Parses an series of "Interface" and "Peer" sections into a
Config
. - parse(CharSequence) - Static method in class com.wireguard.config.Attribute
- parse(Iterable<? extends CharSequence>) - Static method in class com.wireguard.config.Interface
-
Parses an series of "KEY = VALUE" lines into an
Interface
. - parse(Iterable<? extends CharSequence>) - Static method in class com.wireguard.config.Peer
-
Parses an series of "KEY = VALUE" lines into a
Peer
. - parse(String) - Static method in class com.wireguard.config.InetAddresses
-
Parses a numeric IPv4 or IPv6 address without performing any DNS lookups.
- parse(String) - Static method in class com.wireguard.config.InetEndpoint
- parse(String) - Static method in class com.wireguard.config.InetNetwork
- parseAddresses(CharSequence) - Method in class com.wireguard.config.Interface.Builder
- parseAllowedIPs(CharSequence) - Method in class com.wireguard.config.Peer.Builder
- parseDnsServers(CharSequence) - Method in class com.wireguard.config.Interface.Builder
- parseEndpoint(String) - Method in class com.wireguard.config.Peer.Builder
- ParseException - Exception in com.wireguard.config
- ParseException(Class<?>, CharSequence) - Constructor for exception com.wireguard.config.ParseException
- ParseException(Class<?>, CharSequence, String) - Constructor for exception com.wireguard.config.ParseException
- ParseException(Class<?>, CharSequence, String, Throwable) - Constructor for exception com.wireguard.config.ParseException
- ParseException(Class<?>, CharSequence, Throwable) - Constructor for exception com.wireguard.config.ParseException
- parseExcludedApplications(CharSequence) - Method in class com.wireguard.config.Interface.Builder
- parseIncludedApplications(CharSequence) - Method in class com.wireguard.config.Interface.Builder
- parseInterface(Iterable<? extends CharSequence>) - Method in class com.wireguard.config.Config.Builder
- parseListenPort(String) - Method in class com.wireguard.config.Interface.Builder
- parseMtu(String) - Method in class com.wireguard.config.Interface.Builder
- parsePeer(Iterable<? extends CharSequence>) - Method in class com.wireguard.config.Config.Builder
- parsePersistentKeepalive(String) - Method in class com.wireguard.config.Peer.Builder
- parsePreSharedKey(String) - Method in class com.wireguard.config.Peer.Builder
- parsePrivateKey(String) - Method in class com.wireguard.config.Interface.Builder
- parsePublicKey(String) - Method in class com.wireguard.config.Peer.Builder
- Peer - Class in com.wireguard.config
-
Represents the configuration for a WireGuard peer (a [Peer] block).
- PEER - com.wireguard.config.BadConfigException.Section
- Peer.Builder - Class in com.wireguard.config
- peerRx(Key) - Method in class com.wireguard.android.backend.Statistics
- peers() - Method in class com.wireguard.android.backend.Statistics
-
Get the list of peers being tracked by this instance.
- peerTx(Key) - Method in class com.wireguard.android.backend.Statistics
- PERSISTENT_KEEPALIVE - com.wireguard.config.BadConfigException.Location
- PRE_SHARED_KEY - com.wireguard.config.BadConfigException.Location
- PRIVATE_KEY - com.wireguard.config.BadConfigException.Location
- PUBLIC_KEY - com.wireguard.config.BadConfigException.Location
R
- RootShell - Class in com.wireguard.android.util
-
Helper class for running commands as root.
- RootShell(Context) - Constructor for class com.wireguard.android.util.RootShell
- RootShell.RootShellException - Exception in com.wireguard.android.util
- RootShell.RootShellException.Reason - Enum in com.wireguard.android.util
- RootShellException(RootShell.RootShellException.Reason, Object...) - Constructor for exception com.wireguard.android.util.RootShell.RootShellException
- run(Collection<String>, String) - Method in class com.wireguard.android.util.RootShell
-
Run a command in a root shell.
S
- setAlwaysOnCallback(GoBackend.AlwaysOnCallback) - Static method in class com.wireguard.android.backend.GoBackend
-
Set a
GoBackend.AlwaysOnCallback
to be invoked whenGoBackend.VpnService
is started by the system's Always-On VPN mode. - setEndpoint(InetEndpoint) - Method in class com.wireguard.config.Peer.Builder
- setInterface(Interface) - Method in class com.wireguard.config.Config.Builder
- setKeyPair(KeyPair) - Method in class com.wireguard.config.Interface.Builder
- setListenPort(int) - Method in class com.wireguard.config.Interface.Builder
- setMtu(int) - Method in class com.wireguard.config.Interface.Builder
- setMultipleTunnels(boolean) - Method in class com.wireguard.android.backend.WgQuickBackend
- setOwner(GoBackend) - Method in class com.wireguard.android.backend.GoBackend.VpnService
- setPersistentKeepalive(int) - Method in class com.wireguard.config.Peer.Builder
- setPreSharedKey(Key) - Method in class com.wireguard.config.Peer.Builder
- setPublicKey(Key) - Method in class com.wireguard.config.Peer.Builder
- setState(Tunnel, Tunnel.State, Config) - Method in interface com.wireguard.android.backend.Backend
-
Set the state of a tunnel, updating it's configuration.
- setState(Tunnel, Tunnel.State, Config) - Method in class com.wireguard.android.backend.GoBackend
- setState(Tunnel, Tunnel.State, Config) - Method in class com.wireguard.android.backend.WgQuickBackend
- SharedLibraryLoader - Class in com.wireguard.android.util
- SHELL_EXIT_STATUS_READ_ERROR - com.wireguard.android.util.RootShell.RootShellException.Reason
- SHELL_MARKER_COUNT_ERROR - com.wireguard.android.util.RootShell.RootShellException.Reason
- SHELL_START_ERROR - com.wireguard.android.util.RootShell.RootShellException.Reason
- split(CharSequence) - Static method in class com.wireguard.config.Attribute
- start() - Method in class com.wireguard.android.util.RootShell
- Statistics - Class in com.wireguard.android.backend
-
Class representing transfer statistics for a
Tunnel
instance. - stop() - Method in class com.wireguard.android.util.RootShell
- SYNTAX_ERROR - com.wireguard.config.BadConfigException.Reason
- SYSTEM - Static variable in class com.wireguard.android.util.ToolsInstaller
T
- toBase64() - Method in class com.wireguard.crypto.Key
-
Encodes the key to base64.
- TOGGLE - com.wireguard.android.backend.Tunnel.State
- toHex() - Method in class com.wireguard.crypto.Key
-
Encodes the key to hexadecimal ASCII characters.
- ToolsInstaller - Class in com.wireguard.android.util
-
Helper to install WireGuard tools to the system partition.
- ToolsInstaller(Context, RootShell) - Constructor for class com.wireguard.android.util.ToolsInstaller
- TOP_LEVEL - com.wireguard.config.BadConfigException.Location
- toString() - Method in class com.wireguard.config.Config
-
Converts the
Config
into a string suitable for debugging purposes. - toString() - Method in class com.wireguard.config.InetEndpoint
- toString() - Method in class com.wireguard.config.InetNetwork
- toString() - Method in class com.wireguard.config.Interface
-
Converts the
Interface
into a string suitable for debugging purposes. - toString() - Method in class com.wireguard.config.Peer
-
Converts the
Peer
into a string suitable for debugging purposes. - totalRx() - Method in class com.wireguard.android.backend.Statistics
-
Get the total received traffic by all the peers being tracked by this instance
- totalTx() - Method in class com.wireguard.android.backend.Statistics
-
Get the total transmitted traffic by all the peers being tracked by this instance
- toWgQuickString() - Method in class com.wireguard.config.Config
-
Converts the
Config
into a string suitable for use as awg-quick
configuration file. - toWgQuickString() - Method in class com.wireguard.config.Interface
-
Converts the
Interface
into a string suitable for inclusion in awg-quick
configuration file. - toWgQuickString() - Method in class com.wireguard.config.Peer
-
Converts the
Peer
into a string suitable for inclusion in awg-quick
configuration file. - toWgUserspaceString() - Method in class com.wireguard.config.Config
-
Serializes the
Config
for use with the WireGuard cross-platform userspace API. - toWgUserspaceString() - Method in class com.wireguard.config.Interface
-
Serializes the
Interface
for use with the WireGuard cross-platform userspace API. - toWgUserspaceString() - Method in class com.wireguard.config.Peer
-
Serializes the
Peer
for use with the WireGuard cross-platform userspace API. - TUN_CREATION_ERROR - com.wireguard.android.backend.BackendException.Reason
- Tunnel - Interface in com.wireguard.android.backend
-
Represents a WireGuard tunnel.
- TUNNEL_MISSING_CONFIG - com.wireguard.android.backend.BackendException.Reason
- Tunnel.State - Enum in com.wireguard.android.backend
-
Enum class to represent all possible states of a
Tunnel
.
U
- UNABLE_TO_START_VPN - com.wireguard.android.backend.BackendException.Reason
- UNKNOWN_ATTRIBUTE - com.wireguard.config.BadConfigException.Reason
- UNKNOWN_KERNEL_MODULE_NAME - com.wireguard.android.backend.BackendException.Reason
- UNKNOWN_SECTION - com.wireguard.config.BadConfigException.Reason
- UP - com.wireguard.android.backend.Tunnel.State
V
- valueOf(String) - Static method in enum com.wireguard.android.backend.BackendException.Reason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wireguard.android.backend.Tunnel.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wireguard.android.util.RootShell.RootShellException.Reason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wireguard.config.BadConfigException.Location
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wireguard.config.BadConfigException.Reason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wireguard.config.BadConfigException.Section
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wireguard.crypto.Key.Format
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wireguard.crypto.KeyFormatException.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.wireguard.android.backend.BackendException.Reason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.wireguard.android.backend.Tunnel.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.wireguard.android.util.RootShell.RootShellException.Reason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.wireguard.config.BadConfigException.Location
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.wireguard.config.BadConfigException.Reason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.wireguard.config.BadConfigException.Section
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.wireguard.crypto.Key.Format
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.wireguard.crypto.KeyFormatException.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VPN_NOT_AUTHORIZED - com.wireguard.android.backend.BackendException.Reason
- VpnService() - Constructor for class com.wireguard.android.backend.GoBackend.VpnService
W
- WG_QUICK_CONFIG_ERROR_CODE - com.wireguard.android.backend.BackendException.Reason
- WgQuickBackend - Class in com.wireguard.android.backend
-
Implementation of
Backend
that uses the kernel module andwg-quick
to provide WireGuard tunnels. - WgQuickBackend(Context, RootShell, ToolsInstaller) - Constructor for class com.wireguard.android.backend.WgQuickBackend
Y
- YES - Static variable in class com.wireguard.android.util.ToolsInstaller
All Classes All Packages