Class Gosling
java.lang.Object
net.blueprintforfreespeech.gosling.Gosling
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
static final class
static final class
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static final class
static interface
static interface
static interface
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
bridgeLineFree
(Gosling.BridgeLine in_bridge_line) static void
bridgeLineFromString
(Gosling.Out<Gosling.BridgeLine> out_bridge_line, String bridge_line, Gosling.Out<Gosling.Error> error) static void
contextAbortEndpointClientHandshake
(Gosling.Context context, long handshake_handle, Gosling.Out<Gosling.Error> error) static void
contextAbortIdentityClientHandshake
(Gosling.Context context, long handshake_handle, Gosling.Out<Gosling.Error> error) static long
contextBeginEndpointHandshake
(Gosling.Context context, Gosling.V3OnionServiceId endpoint_service_id, Gosling.X25519PrivateKey client_auth_private_key, String channel_name, Gosling.Out<Gosling.Error> error) static long
contextBeginIdentityHandshake
(Gosling.Context context, Gosling.V3OnionServiceId identity_service_id, String endpoint_name, Gosling.Out<Gosling.Error> error) static void
contextBootstrapTor
(Gosling.Context context, Gosling.Out<Gosling.Error> error) static void
contextConnect
(Gosling.Context context, Gosling.Out<Socket> out_tcp_socket, Gosling.TargetAddress target_address, long circuit_token, Gosling.Out<Gosling.Error> error) static void
contextFree
(Gosling.Context in_context) static long
contextGenerateCircuitToken
(Gosling.Context context, Gosling.Out<Gosling.Error> error) static void
contextInit
(Gosling.Out<Gosling.Context> out_context, Gosling.TorProvider in_tor_provider, int identity_port, int endpoint_port, Gosling.Ed25519PrivateKey identity_private_key, Gosling.Out<Gosling.Error> error) static void
contextPollEvents
(Gosling.Context context, Gosling.Out<Gosling.Error> error) static void
contextReleaseCircuitToken
(Gosling.Context context, long circuit_token, Gosling.Out<Gosling.Error> error) static void
contextSetEndpointClientHandshakeCompletedCallback
(Gosling.Context context, Gosling.IEndpointClientHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetEndpointClientHandshakeFailedCallback
(Gosling.Context context, Gosling.IEndpointClientHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetEndpointServerChannelSupportedCallback
(Gosling.Context context, Gosling.IEndpointServerChannelSupportedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetEndpointServerHandshakeCompletedCallback
(Gosling.Context context, Gosling.IEndpointServerHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetEndpointServerHandshakeFailedCallback
(Gosling.Context context, Gosling.IEndpointServerHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetEndpointServerHandshakeRejectedCallback
(Gosling.Context context, Gosling.IEndpointServerHandshakeRejectedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetEndpointServerHandshakeStartedCallback
(Gosling.Context context, Gosling.IEndpointServerHandshakeStartedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetEndpointServerPublishedCallback
(Gosling.Context context, Gosling.IEndpointServerPublishedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityClientBuildChallengeResponseCallback
(Gosling.Context context, Gosling.IIdentityClientHandshakeBuildChallengeResponseListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityClientChallengeResponseSizeCallback
(Gosling.Context context, Gosling.IIdentityClientHandshakeChallengeResponseSizeListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityClientHandshakeCompletedCallback
(Gosling.Context context, Gosling.IIdentityClientHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityClientHandshakeFailedCallback
(Gosling.Context context, Gosling.IIdentityClientHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityServerBuildChallengeCallback
(Gosling.Context context, Gosling.IIdentityServerHandshakeBuildChallengeListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityServerChallengeSizeCallback
(Gosling.Context context, Gosling.IIdentityServerHandshakeChallengeSizeListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityServerClientAllowedCallback
(Gosling.Context context, Gosling.IIdentityServerHandshakeClientAllowedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityServerEndpointSupportedCallback
(Gosling.Context context, Gosling.IIdentityServerEndpointSupportedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityServerHandshakeCompletedCallback
(Gosling.Context context, Gosling.IIdentityServerHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityServerHandshakeFailedCallback
(Gosling.Context context, Gosling.IIdentityServerHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityServerHandshakeRejectedCallback
(Gosling.Context context, Gosling.IIdentityServerHandshakeRejectedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityServerHandshakeStartedCallback
(Gosling.Context context, Gosling.IIdentityServerHandshakeStartedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityServerPublishedCallback
(Gosling.Context context, Gosling.IIdentityServerPublishedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetIdentityServerVerifyChallengeResponseCallback
(Gosling.Context context, Gosling.IIdentityServerHandshakeVerifyChallengeResponseListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetTorBootstrapCompletedCallback
(Gosling.Context context, Gosling.ITorBootstrapCompletedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetTorBootstrapStatusReceivedCallback
(Gosling.Context context, Gosling.ITorBootstrapStatusReceivedListener callback, Gosling.Out<Gosling.Error> error) static void
contextSetTorLogReceivedCallback
(Gosling.Context context, Gosling.ITorLogReceivedListener callback, Gosling.Out<Gosling.Error> error) static void
contextStartEndpointServer
(Gosling.Context context, Gosling.Ed25519PrivateKey endpoint_private_key, String endpoint_name, Gosling.V3OnionServiceId client_identity, Gosling.X25519PublicKey client_auth_public_key, Gosling.Out<Gosling.Error> error) static void
contextStartIdentityServer
(Gosling.Context context, Gosling.Out<Gosling.Error> error) static void
contextStopEndpointServer
(Gosling.Context context, Gosling.Ed25519PrivateKey endpoint_private_key, Gosling.Out<Gosling.Error> error) static void
contextStopIdentityServer
(Gosling.Context context, Gosling.Out<Gosling.Error> error) static void
ed25519PrivateKeyClone
(Gosling.Out<Gosling.Ed25519PrivateKey> out_private_key, Gosling.Ed25519PrivateKey private_key, Gosling.Out<Gosling.Error> error) static void
ed25519PrivateKeyFree
(Gosling.Ed25519PrivateKey in_private_key) static void
ed25519PrivateKeyFromKeyblob
(Gosling.Out<Gosling.Ed25519PrivateKey> out_private_key, String key_blob, Gosling.Out<Gosling.Error> error) static void
ed25519PrivateKeyGenerate
(Gosling.Out<Gosling.Ed25519PrivateKey> out_private_key, Gosling.Out<Gosling.Error> error) static void
ed25519PrivateKeyToKeyblob
(Gosling.Ed25519PrivateKey private_key, Gosling.Out<String> out_key_blob, Gosling.Out<Gosling.Error> error) static void
errorClone
(Gosling.Out<Gosling.Error> out_error, Gosling.Error orig_error, Gosling.Out<Gosling.Error> error) static void
errorFree
(Gosling.Error error) static String
errorGetMessage
(Gosling.Error error) static void
ipAddressClone
(Gosling.Out<Gosling.IpAddress> out_ip_address, Gosling.IpAddress ip_address, Gosling.Out<Gosling.Error> error) static void
ipAddressFree
(Gosling.IpAddress in_ip_address) static void
ipAddressFromIpv4
(Gosling.Out<Gosling.IpAddress> out_ip_address, short a, short b, short c, short d, Gosling.Out<Gosling.Error> error) static void
ipAddressFromIpv6
(Gosling.Out<Gosling.IpAddress> out_ip_address, int a, int b, int c, int d, int e, int f, int g, int h, Gosling.Out<Gosling.Error> error) static void
libraryFree
(Gosling.Library in_library) static void
libraryInit
(Gosling.Out<Gosling.Library> out_library, Gosling.Out<Gosling.Error> error) static void
pluggableTransportConfigAddCmdlineOption
(Gosling.PluggableTransportConfig pluggable_transport_config, String option, Gosling.Out<Gosling.Error> error) static void
pluggableTransportConfigFree
(Gosling.PluggableTransportConfig in_pluggable_transport_config) static void
pluggableTransportConfigNew
(Gosling.Out<Gosling.PluggableTransportConfig> out_pluggable_transport_config, String transports, String path_to_binary, Gosling.Out<Gosling.Error> error) static void
proxyConfigFree
(Gosling.ProxyConfig in_proxy_config) static void
proxyConfigNewHttps
(Gosling.Out<Gosling.ProxyConfig> out_proxy_config, Gosling.TargetAddress proxy_address, String username, String password, Gosling.Out<Gosling.Error> error) static void
proxyConfigNewSocks4
(Gosling.Out<Gosling.ProxyConfig> out_proxy_config, Gosling.TargetAddress proxy_address, Gosling.Out<Gosling.Error> error) static void
proxyConfigNewSocks5
(Gosling.Out<Gosling.ProxyConfig> out_proxy_config, Gosling.TargetAddress proxy_address, String username, String password, Gosling.Out<Gosling.Error> error) static boolean
stringIsValidV3OnionServiceId
(String service_id_string, Gosling.Out<Gosling.Error> error) static void
targetAddressClone
(Gosling.Out<Gosling.TargetAddress> out_target_address, Gosling.TargetAddress target_address, Gosling.Out<Gosling.Error> error) static void
targetAddressFree
(Gosling.TargetAddress in_target_address) static void
targetAddressFromDomain
(Gosling.Out<Gosling.TargetAddress> out_target_address, String domain, int port, Gosling.Out<Gosling.Error> error) static void
targetAddressFromIpAddress
(Gosling.Out<Gosling.TargetAddress> out_target_address, Gosling.IpAddress ip_address, int port, Gosling.Out<Gosling.Error> error) static void
targetAddressFromString
(Gosling.Out<Gosling.TargetAddress> out_target_address, String target_address, Gosling.Out<Gosling.Error> error) static void
targetAddressFromV3OnionServiceId
(Gosling.Out<Gosling.TargetAddress> out_target_address, Gosling.V3OnionServiceId service_id, int port, Gosling.Out<Gosling.Error> error) static void
targetAddressToString
(Gosling.TargetAddress target_address, Gosling.Out<String> out_target_address_string, Gosling.Out<Gosling.Error> error) static void
torProviderConfigAddBridgeLine
(Gosling.TorProviderConfig tor_provider_config, Gosling.BridgeLine bridge_line, Gosling.Out<Gosling.Error> error) static void
torProviderConfigAddPluggableTransportConfig
(Gosling.TorProviderConfig tor_provider_config, Gosling.PluggableTransportConfig pluggable_transport_config, Gosling.Out<Gosling.Error> error) static void
torProviderConfigFree
(Gosling.TorProviderConfig in_tor_provider_config) static void
torProviderConfigNewArtiClientTorClientConfig
(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, String arti_client_data_directory, Gosling.Out<Gosling.Error> error) static void
torProviderConfigNewBundledLegacyClientConfig
(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, String tor_bin_path, String tor_working_directory, Gosling.Out<Gosling.Error> error) static void
torProviderConfigNewMockClientConfig
(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, Gosling.Out<Gosling.Error> error) static void
torProviderConfigNewSystemLegacyClientConfig
(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, Gosling.IpAddress tor_socks_host, int tor_socks_port, Gosling.IpAddress tor_control_host, int tor_control_port, String tor_control_passwd, Gosling.Out<Gosling.Error> error) static void
torProviderConfigSetAllowedPorts
(Gosling.TorProviderConfig tor_provider_config, int[] allowed_ports, Gosling.Out<Gosling.Error> error) static void
torProviderConfigSetProxyConfig
(Gosling.TorProviderConfig tor_provider_config, Gosling.ProxyConfig proxy_config, Gosling.Out<Gosling.Error> error) static void
torProviderFree
(Gosling.TorProvider in_tor_provider) static void
torProviderFromTorProviderConfig
(Gosling.Out<Gosling.TorProvider> out_tor_provider, Gosling.TorProviderConfig tor_provider_config, Gosling.Out<Gosling.Error> error) static void
v3OnionServiceIdClone
(Gosling.Out<Gosling.V3OnionServiceId> out_service_id, Gosling.V3OnionServiceId service_id, Gosling.Out<Gosling.Error> error) static void
v3OnionServiceIdFree
(Gosling.V3OnionServiceId in_service_id) static void
v3OnionServiceIdFromEd25519PrivateKey
(Gosling.Out<Gosling.V3OnionServiceId> out_service_id, Gosling.Ed25519PrivateKey ed25519_private_key, Gosling.Out<Gosling.Error> error) static void
v3OnionServiceIdFromString
(Gosling.Out<Gosling.V3OnionServiceId> out_service_id, String service_id_string, Gosling.Out<Gosling.Error> error) static void
v3OnionServiceIdToString
(Gosling.V3OnionServiceId service_id, Gosling.Out<String> out_service_id_string, Gosling.Out<Gosling.Error> error) static void
x25519PrivateKeyClone
(Gosling.Out<Gosling.X25519PrivateKey> out_private_key, Gosling.X25519PrivateKey private_key, Gosling.Out<Gosling.Error> error) static void
x25519PrivateKeyFree
(Gosling.X25519PrivateKey in_private_key) static void
x25519PrivateKeyFromBase64
(Gosling.Out<Gosling.X25519PrivateKey> out_private_key, String base64, Gosling.Out<Gosling.Error> error) static void
x25519PrivateKeyToBase64
(Gosling.X25519PrivateKey private_key, Gosling.Out<String> out_base64, Gosling.Out<Gosling.Error> error) static void
x25519PublicKeyClone
(Gosling.Out<Gosling.X25519PublicKey> out_public_key, Gosling.X25519PublicKey public_key, Gosling.Out<Gosling.Error> error) static void
x25519PublicKeyFree
(Gosling.X25519PublicKey in_public_key) static void
x25519PublicKeyFromBase32
(Gosling.Out<Gosling.X25519PublicKey> out_public_key, String base32, Gosling.Out<Gosling.Error> error) static void
x25519PublicKeyToBase32
(Gosling.X25519PublicKey public_key, Gosling.Out<String> out_base32, Gosling.Out<Gosling.Error> error)
-
Constructor Details
-
Gosling
public Gosling()
-
-
Method Details
-
contextSetTorBootstrapStatusReceivedCallback
public static void contextSetTorBootstrapStatusReceivedCallback(Gosling.Context context, Gosling.ITorBootstrapStatusReceivedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetTorBootstrapCompletedCallback
public static void contextSetTorBootstrapCompletedCallback(Gosling.Context context, Gosling.ITorBootstrapCompletedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetTorLogReceivedCallback
public static void contextSetTorLogReceivedCallback(Gosling.Context context, Gosling.ITorLogReceivedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityClientChallengeResponseSizeCallback
public static void contextSetIdentityClientChallengeResponseSizeCallback(Gosling.Context context, Gosling.IIdentityClientHandshakeChallengeResponseSizeListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityClientBuildChallengeResponseCallback
public static void contextSetIdentityClientBuildChallengeResponseCallback(Gosling.Context context, Gosling.IIdentityClientHandshakeBuildChallengeResponseListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityClientHandshakeCompletedCallback
public static void contextSetIdentityClientHandshakeCompletedCallback(Gosling.Context context, Gosling.IIdentityClientHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityClientHandshakeFailedCallback
public static void contextSetIdentityClientHandshakeFailedCallback(Gosling.Context context, Gosling.IIdentityClientHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityServerPublishedCallback
public static void contextSetIdentityServerPublishedCallback(Gosling.Context context, Gosling.IIdentityServerPublishedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityServerHandshakeStartedCallback
public static void contextSetIdentityServerHandshakeStartedCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeStartedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityServerClientAllowedCallback
public static void contextSetIdentityServerClientAllowedCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeClientAllowedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityServerEndpointSupportedCallback
public static void contextSetIdentityServerEndpointSupportedCallback(Gosling.Context context, Gosling.IIdentityServerEndpointSupportedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityServerChallengeSizeCallback
public static void contextSetIdentityServerChallengeSizeCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeChallengeSizeListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityServerBuildChallengeCallback
public static void contextSetIdentityServerBuildChallengeCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeBuildChallengeListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityServerVerifyChallengeResponseCallback
public static void contextSetIdentityServerVerifyChallengeResponseCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeVerifyChallengeResponseListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityServerHandshakeCompletedCallback
public static void contextSetIdentityServerHandshakeCompletedCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityServerHandshakeRejectedCallback
public static void contextSetIdentityServerHandshakeRejectedCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeRejectedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetIdentityServerHandshakeFailedCallback
public static void contextSetIdentityServerHandshakeFailedCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetEndpointClientHandshakeCompletedCallback
public static void contextSetEndpointClientHandshakeCompletedCallback(Gosling.Context context, Gosling.IEndpointClientHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetEndpointClientHandshakeFailedCallback
public static void contextSetEndpointClientHandshakeFailedCallback(Gosling.Context context, Gosling.IEndpointClientHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetEndpointServerPublishedCallback
public static void contextSetEndpointServerPublishedCallback(Gosling.Context context, Gosling.IEndpointServerPublishedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetEndpointServerHandshakeStartedCallback
public static void contextSetEndpointServerHandshakeStartedCallback(Gosling.Context context, Gosling.IEndpointServerHandshakeStartedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetEndpointServerChannelSupportedCallback
public static void contextSetEndpointServerChannelSupportedCallback(Gosling.Context context, Gosling.IEndpointServerChannelSupportedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetEndpointServerHandshakeCompletedCallback
public static void contextSetEndpointServerHandshakeCompletedCallback(Gosling.Context context, Gosling.IEndpointServerHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetEndpointServerHandshakeRejectedCallback
public static void contextSetEndpointServerHandshakeRejectedCallback(Gosling.Context context, Gosling.IEndpointServerHandshakeRejectedListener callback, Gosling.Out<Gosling.Error> error) -
contextSetEndpointServerHandshakeFailedCallback
public static void contextSetEndpointServerHandshakeFailedCallback(Gosling.Context context, Gosling.IEndpointServerHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) -
contextFree
-
contextInit
public static void contextInit(Gosling.Out<Gosling.Context> out_context, Gosling.TorProvider in_tor_provider, int identity_port, int endpoint_port, Gosling.Ed25519PrivateKey identity_private_key, Gosling.Out<Gosling.Error> error) -
contextBootstrapTor
-
contextStartIdentityServer
public static void contextStartIdentityServer(Gosling.Context context, Gosling.Out<Gosling.Error> error) -
contextStopIdentityServer
public static void contextStopIdentityServer(Gosling.Context context, Gosling.Out<Gosling.Error> error) -
contextStartEndpointServer
public static void contextStartEndpointServer(Gosling.Context context, Gosling.Ed25519PrivateKey endpoint_private_key, String endpoint_name, Gosling.V3OnionServiceId client_identity, Gosling.X25519PublicKey client_auth_public_key, Gosling.Out<Gosling.Error> error) -
contextStopEndpointServer
public static void contextStopEndpointServer(Gosling.Context context, Gosling.Ed25519PrivateKey endpoint_private_key, Gosling.Out<Gosling.Error> error) -
contextBeginIdentityHandshake
public static long contextBeginIdentityHandshake(Gosling.Context context, Gosling.V3OnionServiceId identity_service_id, String endpoint_name, Gosling.Out<Gosling.Error> error) -
contextAbortIdentityClientHandshake
public static void contextAbortIdentityClientHandshake(Gosling.Context context, long handshake_handle, Gosling.Out<Gosling.Error> error) -
contextBeginEndpointHandshake
public static long contextBeginEndpointHandshake(Gosling.Context context, Gosling.V3OnionServiceId endpoint_service_id, Gosling.X25519PrivateKey client_auth_private_key, String channel_name, Gosling.Out<Gosling.Error> error) -
contextAbortEndpointClientHandshake
public static void contextAbortEndpointClientHandshake(Gosling.Context context, long handshake_handle, Gosling.Out<Gosling.Error> error) -
contextPollEvents
-
ed25519PrivateKeyFree
-
x25519PrivateKeyFree
-
x25519PublicKeyFree
-
v3OnionServiceIdFree
-
ed25519PrivateKeyClone
public static void ed25519PrivateKeyClone(Gosling.Out<Gosling.Ed25519PrivateKey> out_private_key, Gosling.Ed25519PrivateKey private_key, Gosling.Out<Gosling.Error> error) -
x25519PublicKeyClone
public static void x25519PublicKeyClone(Gosling.Out<Gosling.X25519PublicKey> out_public_key, Gosling.X25519PublicKey public_key, Gosling.Out<Gosling.Error> error) -
x25519PrivateKeyClone
public static void x25519PrivateKeyClone(Gosling.Out<Gosling.X25519PrivateKey> out_private_key, Gosling.X25519PrivateKey private_key, Gosling.Out<Gosling.Error> error) -
v3OnionServiceIdClone
public static void v3OnionServiceIdClone(Gosling.Out<Gosling.V3OnionServiceId> out_service_id, Gosling.V3OnionServiceId service_id, Gosling.Out<Gosling.Error> error) -
ed25519PrivateKeyGenerate
public static void ed25519PrivateKeyGenerate(Gosling.Out<Gosling.Ed25519PrivateKey> out_private_key, Gosling.Out<Gosling.Error> error) -
ed25519PrivateKeyFromKeyblob
public static void ed25519PrivateKeyFromKeyblob(Gosling.Out<Gosling.Ed25519PrivateKey> out_private_key, String key_blob, Gosling.Out<Gosling.Error> error) -
ed25519PrivateKeyToKeyblob
public static void ed25519PrivateKeyToKeyblob(Gosling.Ed25519PrivateKey private_key, Gosling.Out<String> out_key_blob, Gosling.Out<Gosling.Error> error) -
x25519PrivateKeyFromBase64
public static void x25519PrivateKeyFromBase64(Gosling.Out<Gosling.X25519PrivateKey> out_private_key, String base64, Gosling.Out<Gosling.Error> error) -
x25519PrivateKeyToBase64
public static void x25519PrivateKeyToBase64(Gosling.X25519PrivateKey private_key, Gosling.Out<String> out_base64, Gosling.Out<Gosling.Error> error) -
x25519PublicKeyFromBase32
public static void x25519PublicKeyFromBase32(Gosling.Out<Gosling.X25519PublicKey> out_public_key, String base32, Gosling.Out<Gosling.Error> error) -
x25519PublicKeyToBase32
public static void x25519PublicKeyToBase32(Gosling.X25519PublicKey public_key, Gosling.Out<String> out_base32, Gosling.Out<Gosling.Error> error) -
v3OnionServiceIdFromString
public static void v3OnionServiceIdFromString(Gosling.Out<Gosling.V3OnionServiceId> out_service_id, String service_id_string, Gosling.Out<Gosling.Error> error) -
v3OnionServiceIdFromEd25519PrivateKey
public static void v3OnionServiceIdFromEd25519PrivateKey(Gosling.Out<Gosling.V3OnionServiceId> out_service_id, Gosling.Ed25519PrivateKey ed25519_private_key, Gosling.Out<Gosling.Error> error) -
v3OnionServiceIdToString
public static void v3OnionServiceIdToString(Gosling.V3OnionServiceId service_id, Gosling.Out<String> out_service_id_string, Gosling.Out<Gosling.Error> error) -
stringIsValidV3OnionServiceId
public static boolean stringIsValidV3OnionServiceId(String service_id_string, Gosling.Out<Gosling.Error> error) -
errorGetMessage
-
errorClone
public static void errorClone(Gosling.Out<Gosling.Error> out_error, Gosling.Error orig_error, Gosling.Out<Gosling.Error> error) -
errorFree
-
libraryInit
public static void libraryInit(Gosling.Out<Gosling.Library> out_library, Gosling.Out<Gosling.Error> error) -
libraryFree
-
proxyConfigFree
-
pluggableTransportConfigFree
public static void pluggableTransportConfigFree(Gosling.PluggableTransportConfig in_pluggable_transport_config) -
bridgeLineFree
-
torProviderConfigFree
-
torProviderFree
-
proxyConfigNewSocks4
public static void proxyConfigNewSocks4(Gosling.Out<Gosling.ProxyConfig> out_proxy_config, Gosling.TargetAddress proxy_address, Gosling.Out<Gosling.Error> error) -
proxyConfigNewSocks5
public static void proxyConfigNewSocks5(Gosling.Out<Gosling.ProxyConfig> out_proxy_config, Gosling.TargetAddress proxy_address, String username, String password, Gosling.Out<Gosling.Error> error) -
proxyConfigNewHttps
public static void proxyConfigNewHttps(Gosling.Out<Gosling.ProxyConfig> out_proxy_config, Gosling.TargetAddress proxy_address, String username, String password, Gosling.Out<Gosling.Error> error) -
pluggableTransportConfigNew
public static void pluggableTransportConfigNew(Gosling.Out<Gosling.PluggableTransportConfig> out_pluggable_transport_config, String transports, String path_to_binary, Gosling.Out<Gosling.Error> error) -
pluggableTransportConfigAddCmdlineOption
public static void pluggableTransportConfigAddCmdlineOption(Gosling.PluggableTransportConfig pluggable_transport_config, String option, Gosling.Out<Gosling.Error> error) -
bridgeLineFromString
public static void bridgeLineFromString(Gosling.Out<Gosling.BridgeLine> out_bridge_line, String bridge_line, Gosling.Out<Gosling.Error> error) -
torProviderConfigNewArtiClientTorClientConfig
public static void torProviderConfigNewArtiClientTorClientConfig(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, String arti_client_data_directory, Gosling.Out<Gosling.Error> error) -
torProviderConfigNewMockClientConfig
public static void torProviderConfigNewMockClientConfig(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, Gosling.Out<Gosling.Error> error) -
torProviderConfigNewBundledLegacyClientConfig
public static void torProviderConfigNewBundledLegacyClientConfig(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, String tor_bin_path, String tor_working_directory, Gosling.Out<Gosling.Error> error) -
torProviderConfigNewSystemLegacyClientConfig
public static void torProviderConfigNewSystemLegacyClientConfig(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, Gosling.IpAddress tor_socks_host, int tor_socks_port, Gosling.IpAddress tor_control_host, int tor_control_port, String tor_control_passwd, Gosling.Out<Gosling.Error> error) -
torProviderConfigSetProxyConfig
public static void torProviderConfigSetProxyConfig(Gosling.TorProviderConfig tor_provider_config, Gosling.ProxyConfig proxy_config, Gosling.Out<Gosling.Error> error) -
torProviderConfigSetAllowedPorts
public static void torProviderConfigSetAllowedPorts(Gosling.TorProviderConfig tor_provider_config, int[] allowed_ports, Gosling.Out<Gosling.Error> error) -
torProviderConfigAddPluggableTransportConfig
public static void torProviderConfigAddPluggableTransportConfig(Gosling.TorProviderConfig tor_provider_config, Gosling.PluggableTransportConfig pluggable_transport_config, Gosling.Out<Gosling.Error> error) -
torProviderConfigAddBridgeLine
public static void torProviderConfigAddBridgeLine(Gosling.TorProviderConfig tor_provider_config, Gosling.BridgeLine bridge_line, Gosling.Out<Gosling.Error> error) -
torProviderFromTorProviderConfig
public static void torProviderFromTorProviderConfig(Gosling.Out<Gosling.TorProvider> out_tor_provider, Gosling.TorProviderConfig tor_provider_config, Gosling.Out<Gosling.Error> error) -
ipAddressFree
-
targetAddressFree
-
ipAddressClone
public static void ipAddressClone(Gosling.Out<Gosling.IpAddress> out_ip_address, Gosling.IpAddress ip_address, Gosling.Out<Gosling.Error> error) -
targetAddressClone
public static void targetAddressClone(Gosling.Out<Gosling.TargetAddress> out_target_address, Gosling.TargetAddress target_address, Gosling.Out<Gosling.Error> error) -
contextConnect
public static void contextConnect(Gosling.Context context, Gosling.Out<Socket> out_tcp_socket, Gosling.TargetAddress target_address, long circuit_token, Gosling.Out<Gosling.Error> error) -
ipAddressFromIpv4
public static void ipAddressFromIpv4(Gosling.Out<Gosling.IpAddress> out_ip_address, short a, short b, short c, short d, Gosling.Out<Gosling.Error> error) -
ipAddressFromIpv6
public static void ipAddressFromIpv6(Gosling.Out<Gosling.IpAddress> out_ip_address, int a, int b, int c, int d, int e, int f, int g, int h, Gosling.Out<Gosling.Error> error) -
targetAddressFromIpAddress
public static void targetAddressFromIpAddress(Gosling.Out<Gosling.TargetAddress> out_target_address, Gosling.IpAddress ip_address, int port, Gosling.Out<Gosling.Error> error) -
targetAddressFromDomain
public static void targetAddressFromDomain(Gosling.Out<Gosling.TargetAddress> out_target_address, String domain, int port, Gosling.Out<Gosling.Error> error) -
targetAddressFromV3OnionServiceId
public static void targetAddressFromV3OnionServiceId(Gosling.Out<Gosling.TargetAddress> out_target_address, Gosling.V3OnionServiceId service_id, int port, Gosling.Out<Gosling.Error> error) -
targetAddressFromString
public static void targetAddressFromString(Gosling.Out<Gosling.TargetAddress> out_target_address, String target_address, Gosling.Out<Gosling.Error> error) -
targetAddressToString
public static void targetAddressToString(Gosling.TargetAddress target_address, Gosling.Out<String> out_target_address_string, Gosling.Out<Gosling.Error> error) -
contextGenerateCircuitToken
public static long contextGenerateCircuitToken(Gosling.Context context, Gosling.Out<Gosling.Error> error) -
contextReleaseCircuitToken
public static void contextReleaseCircuitToken(Gosling.Context context, long circuit_token, Gosling.Out<Gosling.Error> error)
-