Class Gosling
java.lang.Object
net.blueprintforfreespeech.gosling.Gosling
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final classstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic final classstatic interfacestatic interfacestatic interfacestatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbridgeLineFree(Gosling.BridgeLine in_bridge_line) static voidbridgeLineFromString(Gosling.Out<Gosling.BridgeLine> out_bridge_line, String bridge_line, Gosling.Out<Gosling.Error> error) static voidcontextAbortEndpointClientHandshake(Gosling.Context context, long handshake_handle, Gosling.Out<Gosling.Error> error) static voidcontextAbortIdentityClientHandshake(Gosling.Context context, long handshake_handle, Gosling.Out<Gosling.Error> error) static longcontextBeginEndpointHandshake(Gosling.Context context, Gosling.V3OnionServiceId endpoint_service_id, Gosling.X25519PrivateKey client_auth_private_key, String channel_name, Gosling.Out<Gosling.Error> error) static longcontextBeginIdentityHandshake(Gosling.Context context, Gosling.V3OnionServiceId identity_service_id, String endpoint_name, Gosling.Out<Gosling.Error> error) static voidcontextBootstrapTor(Gosling.Context context, Gosling.Out<Gosling.Error> error) static voidcontextConnect(Gosling.Context context, Gosling.Out<Socket> out_tcp_socket, Gosling.TargetAddress target_address, long circuit_token, Gosling.Out<Gosling.Error> error) static voidcontextFree(Gosling.Context in_context) static longcontextGenerateCircuitToken(Gosling.Context context, Gosling.Out<Gosling.Error> error) static voidcontextInit(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 voidcontextPollEvents(Gosling.Context context, Gosling.Out<Gosling.Error> error) static voidcontextReleaseCircuitToken(Gosling.Context context, long circuit_token, Gosling.Out<Gosling.Error> error) static voidcontextSetEndpointClientHandshakeCompletedCallback(Gosling.Context context, Gosling.IEndpointClientHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetEndpointClientHandshakeFailedCallback(Gosling.Context context, Gosling.IEndpointClientHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetEndpointServerChannelSupportedCallback(Gosling.Context context, Gosling.IEndpointServerChannelSupportedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetEndpointServerHandshakeCompletedCallback(Gosling.Context context, Gosling.IEndpointServerHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetEndpointServerHandshakeFailedCallback(Gosling.Context context, Gosling.IEndpointServerHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetEndpointServerHandshakeRejectedCallback(Gosling.Context context, Gosling.IEndpointServerHandshakeRejectedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetEndpointServerHandshakeStartedCallback(Gosling.Context context, Gosling.IEndpointServerHandshakeStartedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetEndpointServerPublishedCallback(Gosling.Context context, Gosling.IEndpointServerPublishedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityClientBuildChallengeResponseCallback(Gosling.Context context, Gosling.IIdentityClientHandshakeBuildChallengeResponseListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityClientChallengeResponseSizeCallback(Gosling.Context context, Gosling.IIdentityClientHandshakeChallengeResponseSizeListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityClientHandshakeCompletedCallback(Gosling.Context context, Gosling.IIdentityClientHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityClientHandshakeFailedCallback(Gosling.Context context, Gosling.IIdentityClientHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityServerBuildChallengeCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeBuildChallengeListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityServerChallengeSizeCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeChallengeSizeListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityServerClientAllowedCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeClientAllowedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityServerEndpointSupportedCallback(Gosling.Context context, Gosling.IIdentityServerEndpointSupportedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityServerHandshakeCompletedCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeCompletedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityServerHandshakeFailedCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeFailedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityServerHandshakeRejectedCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeRejectedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityServerHandshakeStartedCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeStartedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityServerPublishedCallback(Gosling.Context context, Gosling.IIdentityServerPublishedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetIdentityServerVerifyChallengeResponseCallback(Gosling.Context context, Gosling.IIdentityServerHandshakeVerifyChallengeResponseListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetTorBootstrapCompletedCallback(Gosling.Context context, Gosling.ITorBootstrapCompletedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetTorBootstrapStatusReceivedCallback(Gosling.Context context, Gosling.ITorBootstrapStatusReceivedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextSetTorLogReceivedCallback(Gosling.Context context, Gosling.ITorLogReceivedListener callback, Gosling.Out<Gosling.Error> error) static voidcontextStartEndpointServer(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 voidcontextStartIdentityServer(Gosling.Context context, Gosling.Out<Gosling.Error> error) static voidcontextStopEndpointServer(Gosling.Context context, Gosling.Ed25519PrivateKey endpoint_private_key, Gosling.Out<Gosling.Error> error) static voidcontextStopIdentityServer(Gosling.Context context, Gosling.Out<Gosling.Error> error) static voided25519PrivateKeyClone(Gosling.Out<Gosling.Ed25519PrivateKey> out_private_key, Gosling.Ed25519PrivateKey private_key, Gosling.Out<Gosling.Error> error) static voided25519PrivateKeyFree(Gosling.Ed25519PrivateKey in_private_key) static voided25519PrivateKeyFromKeyblob(Gosling.Out<Gosling.Ed25519PrivateKey> out_private_key, String key_blob, Gosling.Out<Gosling.Error> error) static voided25519PrivateKeyGenerate(Gosling.Out<Gosling.Ed25519PrivateKey> out_private_key, Gosling.Out<Gosling.Error> error) static voided25519PrivateKeyToKeyblob(Gosling.Ed25519PrivateKey private_key, Gosling.Out<String> out_key_blob, Gosling.Out<Gosling.Error> error) static voiderrorClone(Gosling.Out<Gosling.Error> out_error, Gosling.Error orig_error, Gosling.Out<Gosling.Error> error) static voiderrorFree(Gosling.Error error) static StringerrorGetMessage(Gosling.Error error) static voidipAddressClone(Gosling.Out<Gosling.IpAddress> out_ip_address, Gosling.IpAddress ip_address, Gosling.Out<Gosling.Error> error) static voidipAddressFree(Gosling.IpAddress in_ip_address) static voidipAddressFromIpv4(Gosling.Out<Gosling.IpAddress> out_ip_address, short a, short b, short c, short d, Gosling.Out<Gosling.Error> error) static voidipAddressFromIpv6(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 voidlibraryFree(Gosling.Library in_library) static voidlibraryInit(Gosling.Out<Gosling.Library> out_library, Gosling.Out<Gosling.Error> error) static voidpluggableTransportConfigAddCmdlineOption(Gosling.PluggableTransportConfig pluggable_transport_config, String option, Gosling.Out<Gosling.Error> error) static voidpluggableTransportConfigFree(Gosling.PluggableTransportConfig in_pluggable_transport_config) static voidpluggableTransportConfigNew(Gosling.Out<Gosling.PluggableTransportConfig> out_pluggable_transport_config, String transports, String path_to_binary, Gosling.Out<Gosling.Error> error) static voidproxyConfigFree(Gosling.ProxyConfig in_proxy_config) static voidproxyConfigNewHttps(Gosling.Out<Gosling.ProxyConfig> out_proxy_config, Gosling.TargetAddress proxy_address, String username, String password, Gosling.Out<Gosling.Error> error) static voidproxyConfigNewSocks4(Gosling.Out<Gosling.ProxyConfig> out_proxy_config, Gosling.TargetAddress proxy_address, Gosling.Out<Gosling.Error> error) static voidproxyConfigNewSocks5(Gosling.Out<Gosling.ProxyConfig> out_proxy_config, Gosling.TargetAddress proxy_address, String username, String password, Gosling.Out<Gosling.Error> error) static booleanstringIsValidV3OnionServiceId(String service_id_string, Gosling.Out<Gosling.Error> error) static voidtargetAddressClone(Gosling.Out<Gosling.TargetAddress> out_target_address, Gosling.TargetAddress target_address, Gosling.Out<Gosling.Error> error) static voidtargetAddressFree(Gosling.TargetAddress in_target_address) static voidtargetAddressFromDomain(Gosling.Out<Gosling.TargetAddress> out_target_address, String domain, int port, Gosling.Out<Gosling.Error> error) static voidtargetAddressFromIpAddress(Gosling.Out<Gosling.TargetAddress> out_target_address, Gosling.IpAddress ip_address, int port, Gosling.Out<Gosling.Error> error) static voidtargetAddressFromString(Gosling.Out<Gosling.TargetAddress> out_target_address, String target_address, Gosling.Out<Gosling.Error> error) static voidtargetAddressFromV3OnionServiceId(Gosling.Out<Gosling.TargetAddress> out_target_address, Gosling.V3OnionServiceId service_id, int port, Gosling.Out<Gosling.Error> error) static voidtargetAddressToString(Gosling.TargetAddress target_address, Gosling.Out<String> out_target_address_string, Gosling.Out<Gosling.Error> error) static voidtorProviderConfigAddBridgeLine(Gosling.TorProviderConfig tor_provider_config, Gosling.BridgeLine bridge_line, Gosling.Out<Gosling.Error> error) static voidtorProviderConfigAddPluggableTransportConfig(Gosling.TorProviderConfig tor_provider_config, Gosling.PluggableTransportConfig pluggable_transport_config, Gosling.Out<Gosling.Error> error) static voidtorProviderConfigFree(Gosling.TorProviderConfig in_tor_provider_config) static voidtorProviderConfigNewArtiClientTorClientConfig(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, String arti_client_data_directory, Gosling.Out<Gosling.Error> error) static voidtorProviderConfigNewBundledLegacyClientConfig(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, String tor_bin_path, String tor_working_directory, Gosling.Out<Gosling.Error> error) static voidtorProviderConfigNewMockClientConfig(Gosling.Out<Gosling.TorProviderConfig> out_tor_provider_config, Gosling.Out<Gosling.Error> error) static voidtorProviderConfigNewSystemLegacyClientConfig(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 voidtorProviderConfigSetAllowedPorts(Gosling.TorProviderConfig tor_provider_config, int[] allowed_ports, Gosling.Out<Gosling.Error> error) static voidtorProviderConfigSetProxyConfig(Gosling.TorProviderConfig tor_provider_config, Gosling.ProxyConfig proxy_config, Gosling.Out<Gosling.Error> error) static voidtorProviderFree(Gosling.TorProvider in_tor_provider) static voidtorProviderFromTorProviderConfig(Gosling.Out<Gosling.TorProvider> out_tor_provider, Gosling.TorProviderConfig tor_provider_config, Gosling.Out<Gosling.Error> error) static voidv3OnionServiceIdClone(Gosling.Out<Gosling.V3OnionServiceId> out_service_id, Gosling.V3OnionServiceId service_id, Gosling.Out<Gosling.Error> error) static voidv3OnionServiceIdFree(Gosling.V3OnionServiceId in_service_id) static voidv3OnionServiceIdFromEd25519PrivateKey(Gosling.Out<Gosling.V3OnionServiceId> out_service_id, Gosling.Ed25519PrivateKey ed25519_private_key, Gosling.Out<Gosling.Error> error) static voidv3OnionServiceIdFromString(Gosling.Out<Gosling.V3OnionServiceId> out_service_id, String service_id_string, Gosling.Out<Gosling.Error> error) static voidv3OnionServiceIdToString(Gosling.V3OnionServiceId service_id, Gosling.Out<String> out_service_id_string, Gosling.Out<Gosling.Error> error) static voidx25519PrivateKeyClone(Gosling.Out<Gosling.X25519PrivateKey> out_private_key, Gosling.X25519PrivateKey private_key, Gosling.Out<Gosling.Error> error) static voidx25519PrivateKeyFree(Gosling.X25519PrivateKey in_private_key) static voidx25519PrivateKeyFromBase64(Gosling.Out<Gosling.X25519PrivateKey> out_private_key, String base64, Gosling.Out<Gosling.Error> error) static voidx25519PrivateKeyToBase64(Gosling.X25519PrivateKey private_key, Gosling.Out<String> out_base64, Gosling.Out<Gosling.Error> error) static voidx25519PublicKeyClone(Gosling.Out<Gosling.X25519PublicKey> out_public_key, Gosling.X25519PublicKey public_key, Gosling.Out<Gosling.Error> error) static voidx25519PublicKeyFree(Gosling.X25519PublicKey in_public_key) static voidx25519PublicKeyFromBase32(Gosling.Out<Gosling.X25519PublicKey> out_public_key, String base32, Gosling.Out<Gosling.Error> error) static voidx25519PublicKeyToBase32(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)
-