String getOnionAddressForLogging() { if (config.getSafeLogging()) { return "[scrubbed]"; } else { return getOnionAddress(); } }
HSDescriptorCookie getAuthenticationCookie() { return config.getHidServAuth(getOnionAddress()); }