Class UDPPacketReader.SessionCreatedReader

    • Constructor Detail

      • SessionCreatedReader

        public SessionCreatedReader()
    • Method Detail

      • 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)