Interface Socks5PrivateAuthRequest
- All Superinterfaces:
DecoderResultProvider, Socks5Message, SocksMessage
- All Known Implementing Classes:
DefaultSocks5PrivateAuthRequest
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 Summary
Modifier and TypeMethodDescriptionbyte[]Returns the private token of this request.Methods inherited from interface DecoderResultProvider
decoderResult, setDecoderResultModifier and TypeMethodDescriptionReturns the result of decoding this object.voidsetDecoderResult(DecoderResult result) Updates the result of decoding this object.Methods inherited from interface SocksMessage
version
-
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
-