Class PacketSignatory.SignedPacketWrapper.SigningBuffer

java.lang.Object
com.hierynomus.protocol.commons.buffer.Buffer<SMBBuffer>
com.hierynomus.smb.SMBBuffer
com.hierynomus.smbj.connection.PacketSignatory.SignedPacketWrapper.SigningBuffer
Enclosing class:
PacketSignatory.SignedPacketWrapper

private class PacketSignatory.SignedPacketWrapper.SigningBuffer extends SMBBuffer
  • Field Details

    • wrappedBuffer

      private SMBBuffer wrappedBuffer
    • mac

      private final Mac mac
  • Constructor Details

  • Method Details

    • putByte

      public Buffer<SMBBuffer> putByte(byte b)
      Description copied from class: Buffer
      Writes a single byte into this buffer
      Overrides:
      putByte in class Buffer<SMBBuffer>
      Parameters:
      b -
      Returns:
      this
    • putBuffer

      public Buffer<SMBBuffer> putBuffer(Buffer<? extends Buffer<?>> buffer)
      Description copied from class: Buffer
      Copies the contents of provided buffer into this buffer. NOTE: This does not update the source buffer fields!
      Overrides:
      putBuffer in class Buffer<SMBBuffer>
      Parameters:
      buffer - the Buffer to copy
      Returns:
      this
    • putRawBytes

      public Buffer<SMBBuffer> putRawBytes(byte[] buf, int offset, int length)
      Description copied from class: Buffer
      Write the bytes of the passed byte array into this buffer, starting at offset, and writing length bytes.
      Overrides:
      putRawBytes in class Buffer<SMBBuffer>
      Parameters:
      buf - The array of bytes to write
      offset - The offset at which to start reading from the passed array
      length - The number of bytes to write from the passed array
      Returns: