Package com.hierynomus.smbj.connection
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 com.hierynomus.protocol.commons.buffer.Buffer
Buffer.BufferException, Buffer.PlainBuffer
-
Field Summary
FieldsFields inherited from class com.hierynomus.protocol.commons.buffer.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 com.hierynomus.smb.SMBBuffer
putReserved, putReserved1, putReserved2, putReserved4, putString, putStringLengthUInt16
Methods inherited from class com.hierynomus.protocol.commons.buffer.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
Description copied from class:Buffer
Writes a single byte into this buffer -
putBuffer
Description copied from class:Buffer
Copies the contents of provided buffer into this buffer. NOTE: This does not update the source buffer fields! -
putRawBytes
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 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:
-