Class Gosling
- java.lang.Object
-
- net.blueprintforfreespeech.gosling.Gosling
-
public class Gosling extends java.lang.Object
-
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description Gosling()
-
Method Summary
-
-
-
Method Detail
-
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
public static void contextFree(Gosling.Context in_context)
-
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
public static void contextBootstrapTor(Gosling.Context context, Gosling.Out<Gosling.Error> error)
-
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, java.lang.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, java.lang.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, java.lang.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
public static void contextPollEvents(Gosling.Context context, Gosling.Out<Gosling.Error> error)
-
ed25519PrivateKeyFree
public static void ed25519PrivateKeyFree(Gosling.Ed25519PrivateKey in_private_key)
-
x25519PrivateKeyFree
public static void x25519PrivateKeyFree(Gosling.X25519PrivateKey in_private_key)
-
x25519PublicKeyFree
public static void x25519PublicKeyFree(Gosling.X25519PublicKey in_public_key)
-
v3OnionServiceIdFree
public static void v3OnionServiceIdFree(Gosling.V3OnionServiceId in_service_id)
-
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, java.lang.String key_blob, Gosling.Out<Gosling.Error> error)
-
ed25519PrivateKeyToKeyblob
public static void ed25519PrivateKeyToKeyblob(Gosling.Ed25519PrivateKey private_key, Gosling.Out<java.lang.String> out_key_blob, Gosling.Out<Gosling.Error> error)
-
x25519PrivateKeyFromBase64
public static void x25519PrivateKeyFromBase64(Gosling.Out<Gosling.X25519PrivateKey> out_private_key, java.lang.String base64, Gosling.Out<Gosling.Error> error)
-
x25519PrivateKeyToBase64
public static void x25519PrivateKeyToBase64(Gosling.X25519PrivateKey private_key, Gosling.Out<java.lang.String> out_base64, Gosling.Out<Gosling.Error> error)
-
x25519PublicKeyFromBase32
public static void x25519PublicKeyFromBase32(Gosling.Out<Gosling.X25519PublicKey> out_public_key, java.lang.String base32, Gosling.Out<Gosling.Error> error)
-
x25519PublicKeyToBase32
public static void x25519PublicKeyToBase32(Gosling.X25519PublicKey public_key, Gosling.Out<java.lang.String> out_base32, Gosling.Out<Gosling.Error> error)
-
v3OnionServiceIdFromString
public static void v3OnionServiceIdFromString(Gosling.Out<Gosling.V3OnionServiceId> out_service_id, java.lang.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<java.lang.String> out_service_id_string, Gosling.Out<Gosling.Error> error)
-
stringIsValidV3OnionServiceId
public static boolean stringIsValidV3OnionServiceId(java.lang.String service_id_string, Gosling.Out<Gosling.Error> error)
-
errorGetMessage
public static java.lang.String errorGetMessage(Gosling.Error error)
-
errorClone
public static void errorClone(Gosling.Out<Gosling.Error> out_error, Gosling.Error orig_error, Gosling.Out<Gosling.Error> error)
-
errorFree
public static void errorFree(Gosling.Error error)
-
libraryInit
public static void libraryInit(Gosling.Out<Gosling.Library> out_library, Gosling.Out<Gosling.Error> error)
-
libraryFree
public static void libraryFree(Gosling.Library in_library)
-
proxyConfigFree
public static void proxyConfigFree(Gosling.ProxyConfig in_proxy_config)
-
pluggableTransportConfigFree
public static void pluggableTransportConfigFree(Gosling.PluggableTransportConfig in_pluggable_transport_config)
-
bridgeLineFree
public static void bridgeLineFree(Gosling.BridgeLine in_bridge_line)
-
torProviderConfigFree
public static void torProviderConfigFree(Gosling.TorProviderConfig in_tor_provider_config)
-
torProviderFree
public static void torProviderFree(Gosling.TorProvider in_tor_provider)
-
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, java.lang.String username, java.lang.String password, Gosling.Out<Gosling.Error> error)
-
proxyConfigNewHttps
public static void proxyConfigNewHttps(Gosling.Out<Gosling.ProxyConfig> out_proxy_config, Gosling.TargetAddress proxy_address, java.lang.String username, java.lang.String password, Gosling.Out<Gosling.Error> error)
-
pluggableTransportConfigNew
public static void pluggableTransportConfigNew(Gosling.Out<Gosling.PluggableTransportConfig> out_pluggable_transport_config, java.lang.String transports, java.lang.String path_to_binary, Gosling.Out<Gosling.Error> error)
-
pluggableTransportConfigAddCmdlineOption
public static void pluggableTransportConfigAddCmdlineOption(Gosling.PluggableTransportConfig pluggable_transport_config, java.lang.String option, Gosling.Out<Gosling.Error> error)
-
bridgeLineFromString
public static void bridgeLineFromString(Gosling.Out<Gosling.BridgeLine> out_bridge_line, java.lang.String bridge_line, Gosling.Out<Gosling.Error> error)
-
torProviderConfigNewArtiClientTorClientConfig
public static void torProviderConfigNewArtiClientTorClientConfig(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, java.lang.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, java.lang.String tor_bin_path, java.lang.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, java.lang.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
public static void ipAddressFree(Gosling.IpAddress in_ip_address)
-
targetAddressFree
public static void targetAddressFree(Gosling.TargetAddress in_target_address)
-
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<java.net.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, java.lang.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, java.lang.String target_address, Gosling.Out<Gosling.Error> error)
-
targetAddressToString
public static void targetAddressToString(Gosling.TargetAddress target_address, Gosling.Out<java.lang.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)
-
-