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
-
Nested Class Summary
Nested classes/interfaces inherited from class Buffer
Buffer.BufferException, Buffer.PlainBuffer -
Field Summary
FieldsFields inherited from class Buffer
DEFAULT_SIZE, MAX_SIZE, rpos, wpos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCopies the contents of provided buffer into this buffer.putByte(byte b) Writes a single byte into this bufferputRawBytes(byte[] buf, int offset, int length) Write the bytes of the passed byte array into this buffer, starting at offset, and writing length bytes.Methods inherited from class SMBBuffer
putReserved, putReserved1, putReserved2, putReserved4, putString, putStringLengthUInt16Methods inherited from class Buffer
array, asInputStream, available, clear, compact, ensureAvailable, ensureCapacity, getCompactData, getNextPowerOf2, printHex, putBoolean, putLong, putLong, putNullTerminatedString, putRawBytes, putString, putUInt16, putUInt16, putUInt24, putUInt24, putUInt32, putUInt32, putUInt64, putUInt64, readBoolean, readByte, readLong, readLong, readNullTerminatedString, readRawBytes, readRawBytes, readRawBytes, readString, readString, readUInt16, readUInt16, readUInt24, readUInt24, readUInt32, readUInt32, readUInt32AsInt, readUInt64, readUInt64, rpos, rpos, skip, toString, wpos, wpos
-
Field Details
-
wrappedBuffer
-
mac
-
-
Constructor Details
-
SigningBuffer
SigningBuffer(SMBBuffer wrappedBuffer) throws SecurityException - Throws:
SecurityException
-
-
Method Details
-
putByte
-
putBuffer
Description copied from class:BufferCopies the contents of provided buffer into this buffer. NOTE: This does not update the source buffer fields! -
putRawBytes
Description copied from class:BufferWrite the bytes of the passed byte array into this buffer, starting at offset, and writing length bytes.- Overrides:
putRawBytesin classBuffer<SMBBuffer>- Parameters:
buf- The array of bytes to writeoffset- The offset at which to start reading from the passed arraylength- The number of bytes to write from the passed array- Returns:
-