# Packages
No description provided by the author
# Functions
DecodeServerEntry extracts a server entry from the encoding used by remote server lists and Psiphon server handshake requests.
DecodeServerEntryFields extracts an encoded server entry into a ServerEntryFields type, much like DecodeServerEntry.
DecodeServerEntryList extracts server entries from the list encoding used by remote server lists and Psiphon server handshake requests.
No description provided by the author
No description provided by the author
No description provided by the author
EncodeServerEntry returns a string containing the encoding of a ServerEntry following Psiphon conventions.
EncodeServerEntryFields returns a string containing the encoding of ServerEntryFields following Psiphon conventions.
GenerateServerEntryTag creates a server entry tag value that is cryptographically derived from the IP address and web server secret in a way that is difficult to reverse the IP address value from the tag or compute the tag without having the web server secret, a 256-bit random value which is unique per server, in addition to the IP address.
GetCapability returns the server capability corresponding to the tunnel protocol.
GetTacticsCapability returns the server tactics capability corresponding to the tunnel protocol.
NewServerEntrySignatureKeyPair creates an ed25519 key pair for use in server entry signing and verification.
NewStreamingServerEntryDecoder creates a new StreamingServerEntryDecoder.
No description provided by the author
TagToDiagnosticID returns a prefix of the server entry tag that should be sufficient to uniquely identify servers in diagnostics, while also being more human readable than emitting the full tag.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidateServerEntryFields checks for malformed server entries.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PSIPHON_API_CLIENT_VERIFICATION_REQUEST_NAME may still be used by older Android clients.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
CustomTLSProfile specifies custom TLS profile.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerEntry represents a Psiphon server.
No description provided by the author
No description provided by the author
StreamingServerEntryDecoder performs the DecodeServerEntryList operation, loading only one server entry into memory at a time.
UTLSExtension specifies one of the several utls.TLSExtension concrete implementations.
UTLSSpec specifies a utls.ClientHelloSpec.
# Interfaces
ConditionallyEnabledComponents defines an interface which can be queried to determine which conditionally compiled protocol components are present.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerEntryFields is an alternate representation of ServerEntry which enables future compatibility when unmarshaling and persisting new server entries which may contain new, unrecognized fields not in the ServerEntry type for a particular client version.
No description provided by the author
No description provided by the author