Interface Socks5PrivateAuthRequest

All Superinterfaces:
DecoderResultProvider, Socks5Message, SocksMessage
All Known Implementing Classes:
DefaultSocks5PrivateAuthRequest

public interface Socks5PrivateAuthRequest extends Socks5Message
A SOCKS5 subnegotiation request for private authentication.

RFC 1928 reserves method codes 0x80-0xFE for private authentication methods. This interface provides a base implementation for method 0x80, but can be extended for other private authentication methods by implementing custom encoders/decoders.

See Also:
  • Method Details

    • privateToken

      byte[] privateToken()
      Returns the private token of this request.

      For custom subnegotiation protocols, this could be extended by adding additional methods in a subinterface.

      Returns:
      the private authentication token