Class UDPPacketReader.SessionCreatedReader

java.lang.Object
net.i2p.router.transport.udp.UDPPacketReader.Reader
net.i2p.router.transport.udp.UDPPacketReader.SessionCreatedReader
Enclosing class:
UDPPacketReader

public class UDPPacketReader.SessionCreatedReader
extends UDPPacketReader.Reader
Help read the SessionCreated payload
  • Field Details

  • Constructor Details

  • Method Details

    • readY

      public void readY​(byte[] target, int targetOffset)
    • readIPSize

      public int readIPSize()
      sizeof(IP)
    • readIP

      public void readIP​(byte[] target, int targetOffset)
      what IP do they think we are coming on?
    • readPort

      public int readPort()
      what port do they think we are coming from?
    • readRelayTag

      public long readRelayTag()
      read in the 4 byte relayAs tag
    • readSignedOnTime

      public long readSignedOnTime()
    • readEncryptedSignature

      public void readEncryptedSignature​(byte[] target, int targetOffset, int size)
      Parameters:
      size - the amount to be copied, including padding to mod 16
    • readIV

      public void readIV​(byte[] target, int targetOffset)