Class SSU2Header.Header

java.lang.Object
net.i2p.router.transport.udp.SSU2Header.Header
Enclosing class:
SSU2Header

public static class SSU2Header.Header extends Object
A temporary structure returned from trial decrypt, with methods to access the fields.
  • Field Details

    • data

      public final byte[] data
  • Constructor Details

    • Header

      public Header(int len)
  • Method Details

    • getDestConnID

      public long getDestConnID()
      all headers
    • getPacketNumber

      public long getPacketNumber()
      all headers
    • getType

      public int getType()
      all headers
    • getShortHeaderFlags

      public int getShortHeaderFlags()
      short headers only
    • getVersion

      public int getVersion()
      long headers only
    • getNetID

      public int getNetID()
      long headers only
    • getHandshakeHeaderFlags

      public int getHandshakeHeaderFlags()
      long headers only
    • getSrcConnID

      public long getSrcConnID()
      long headers only
    • getToken

      public long getToken()
      long headers only
    • getEphemeralKey

      public byte[] getEphemeralKey()
      handshake headers only
    • toString

      public String toString()
      Overrides:
      toString in class Object