|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UDPEncapsulation
This interface provides for datagram encapsulation for SOCKSv5 protocol.
SOCKSv5 allows for datagrams to be encapsulated for purposes of integrity and/or authenticity. How it should be done is aggreed during the authentication stage, and is authentication dependent. This interface is provided to allow this encapsulation.
Authentication| Method Summary | |
|---|---|
byte[] |
udpEncapsulate(byte[] data,
boolean out)
This method should provide any authentication depended transformation on datagrams being send from/to the client. |
| Method Detail |
|---|
byte[] udpEncapsulate(byte[] data,
boolean out)
throws java.io.IOException
data - Datagram data (including any SOCKS related bytes), to be
encapsulated/decapsulated.out - Wether the data is being send out. If true method should
encapsulate/encrypt data, otherwise it should decapsulate/
decrypt data.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||