Uses of Class
com.hierynomus.protocol.commons.buffer.Buffer.BufferException
Packages that use Buffer.BufferException
Package
Description
Generic protocol layer, unaware of the protocol implemented.
-
Uses of Buffer.BufferException in com.hierynomus.msdfsc.messages
Methods in com.hierynomus.msdfsc.messages that throw Buffer.BufferExceptionModifier and TypeMethodDescription(package private) static DFSReferral
(package private) final DFSReferral
void
(package private) String
DFSReferral.readOffsettedString
(SMBBuffer buffer, int referralStart, int offset) protected abstract void
DFSReferral.readReferral
(SMBBuffer buffer, int referralStartPos) void
DFSReferralV1.readReferral
(SMBBuffer buffer, int referralStartPos) protected void
DFSReferralV2.readReferral
(SMBBuffer buffer, int referralStartPos) protected void
DFSReferralV34.readReferral
(SMBBuffer buffer, int referralStartPos) -
Uses of Buffer.BufferException in com.hierynomus.msdtyp
Methods in com.hierynomus.msdtyp that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionstatic ACL
static SecurityDescriptor
static SID
static FileTime
MsDataTypes.readFileTime
(Buffer<?> buffer) [MS-DTYP].pdf 2.3.3 FILETIMEstatic UUID
[MS-DTYP].pdf 2.3.4.2 GUID Packet representation -
Uses of Buffer.BufferException in com.hierynomus.msdtyp.ace
Methods in com.hierynomus.msdtyp.ace that throw Buffer.BufferException -
Uses of Buffer.BufferException in com.hierynomus.msfscc.directory
Methods in com.hierynomus.msfscc.directory that throw Buffer.BufferException -
Uses of Buffer.BufferException in com.hierynomus.msfscc.fileinformation
Methods in com.hierynomus.msfscc.fileinformation that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionprivate static FileAccessInformation
FileInformationFactory.parseFileAccessInformation
(Buffer<?> buffer) private static FileAlignmentInformation
FileInformationFactory.parseFileAlignmentInformation
(Buffer<?> buffer) static FileAllInformation
FileInformationFactory.parseFileAllInformation
(Buffer<?> buffer) [MS-SMB2] 2.2.38 SMB2 QUERY_INFO Response, SMB2_0_INFO_FILE/FileAllInformationprivate static FileBasicInformation
FileInformationFactory.parseFileBasicInformation
(Buffer<?> buffer) static FileBothDirectoryInformation
FileInformationFactory.parseFileBothDirectoryInformation
(Buffer<?> buffer) 2.4.8 FileBothDirectoryInformationstatic FileDirectoryInformation
FileInformationFactory.parseFileDirectoryInformation
(Buffer<?> buffer) 2.4.10 FileDirectoryInformationprivate static FileEaInformation
FileInformationFactory.parseFileEaInformation
(Buffer<?> buffer) static FileFullDirectoryInformation
FileInformationFactory.parseFileFullDirectoryInformation
(Buffer<?> buffer) 2.4.14 FileFullDirectoryInformationFileInformationFactory.parseFileIdBothDirectoryInformation
(Buffer<?> buffer) 2.4.17 FileIdBothDirectoryInformationFileInformationFactory.parseFileIdFullDirectoryInformation
(Buffer<?> buffer) 2.4.18 FileIdFullDirectoryInformationprivate static FileInternalInformation
FileInformationFactory.parseFileInternalInformation
(Buffer<?> buffer) private static FileModeInformation
FileInformationFactory.parseFileModeInformation
(Buffer<?> buffer) private static String
FileInformationFactory.parseFileNameInformation
(Buffer<?> buffer) static FileNamesInformation
FileInformationFactory.parseFileNamesInformation
(Buffer<?> buffer) 2.4.26 FileNamesInformationprivate static FilePositionInformation
FileInformationFactory.parseFilePositionInformation
(Buffer<?> buffer) private static FileStandardInformation
FileInformationFactory.parseFileStandardInformation
(Buffer<?> buffer) private static FileStreamInformation
FileInformationFactory.parseFileStreamInformation
(Buffer<?> buffer) 2.4.40 FileStreamInformationstatic ShareInfo
ShareInfo.parseFsFullSizeInformation
(Buffer.PlainBuffer response) [MS-SMB2] 2.2.38 SMB2 QUERY_INFO Response, SMB2_0_INFO_FILESYSTEM/FileFsFullSizeInformation -
Uses of Buffer.BufferException in com.hierynomus.msfscc.fsctl
Methods in com.hierynomus.msfscc.fsctl that throw Buffer.BufferException -
Uses of Buffer.BufferException in com.hierynomus.mssmb
Methods in com.hierynomus.mssmb that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionprotected void
SMB1Packet.read
(SMB1PacketData packetData) SMB1PacketFactory.read
(byte[] data) Constructors in com.hierynomus.mssmb that throw Buffer.BufferException -
Uses of Buffer.BufferException in com.hierynomus.mssmb.messages
Methods in com.hierynomus.mssmb.messages that throw Buffer.BufferException -
Uses of Buffer.BufferException in com.hierynomus.mssmb2
Methods in com.hierynomus.mssmb2 that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionbyte[]
SMB3EncryptedPacketData.getCipherText()
SMB2DecryptedPacketData.next()
SMB2PacketData.next()
(package private) SMB2Error
SMB2Error.read
(SMB2PacketHeader header, SMBBuffer buffer) private SMB2Error.SymbolicLinkError
static SMB2FileId
protected final void
SMB2Packet.read
(SMB2PacketData packetData) SMB2PacketFactory.read
(byte[] data) SMB3CompressedPacketFactory.read
(byte[] data) SMB3EncryptedPacketFactory.read
(byte[] data) (package private) final void
SMB2Packet.readError
(SMB2PacketData packetData) private void
SMB2Error.readErrorContext
(SMB2PacketHeader header, SMBBuffer buffer, int errorContextCount) [MS-SMB2] 2.2.2.1 SMB2 ERROR Context Responseprivate void
SMB2Error.readErrorData
(SMB2PacketHeader header, SMBBuffer buffer) [MS-SMB2] 2.2.2.2 ErrorData formatvoid
void
void
protected void
SMB2Packet.readMessage
(SMBBuffer buffer) Read the packet body, this should be implemented by the various packet types.private String
SMB2Error.SymbolicLinkError.readOffsettedString
(SMBBuffer buffer, int offset, int length) Read a string at an offset from the current position in the buffer.SMB2MessageConverter.readPacket
(SMBPacket<?, ?> requestPacket, SMB2PacketData packetData) Constructors in com.hierynomus.mssmb2 that throw Buffer.BufferExceptionModifierConstructorDescriptionSMB2DecryptedPacketData
(byte[] data) SMB2DecryptedPacketData
(SMBBuffer dataBuffer) SMB2PacketData
(byte[] data) (package private)
SMB2PacketData
(SMBBuffer buffer) SMB3CompressedPacketData
(byte[] data) SMB3CompressedPacketData
(byte[] data, boolean decrypted) SMB3EncryptedPacketData
(byte[] data) -
Uses of Buffer.BufferException in com.hierynomus.mssmb2.copy
Methods in com.hierynomus.mssmb2.copy that throw Buffer.BufferException -
Uses of Buffer.BufferException in com.hierynomus.mssmb2.messages
Methods in com.hierynomus.mssmb2.messages that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionprivate List
<FileNotifyInformation> SMB2ChangeNotifyResponse.readFileNotifyInfo
(SMBBuffer buffer, int outputBufferOffset) protected void
SMB2Cancel.readMessage
(SMBBuffer buffer) protected void
SMB2ChangeNotifyResponse.readMessage
(SMBBuffer buffer) protected void
SMB2Close.readMessage
(SMBBuffer buffer) protected void
SMB2CreateResponse.readMessage
(SMBBuffer buffer) protected void
SMB2Echo.readMessage
(SMBBuffer buffer) protected void
SMB2Flush.readMessage
(SMBBuffer buffer) protected void
SMB2IoctlResponse.readMessage
(SMBBuffer buffer) protected void
SMB2LockResponse.readMessage
(SMBBuffer buffer) protected void
SMB2Logoff.readMessage
(SMBBuffer buffer) protected void
SMB2NegotiateResponse.readMessage
(SMBBuffer buffer) protected void
SMB2QueryDirectoryResponse.readMessage
(SMBBuffer buffer) protected void
SMB2QueryInfoResponse.readMessage
(SMBBuffer buffer) protected void
SMB2ReadResponse.readMessage
(SMBBuffer buffer) protected void
SMB2SessionSetup.readMessage
(SMBBuffer buffer) protected void
SMB2SetInfoResponse.readMessage
(SMBBuffer buffer) protected void
SMB2TreeConnectResponse.readMessage
(SMBBuffer buffer) protected void
SMB2TreeDisconnect.readMessage
(SMBBuffer buffer) protected void
SMB2WriteResponse.readMessage
(SMBBuffer buffer) private int
SMB2NegotiateResponse.readNegotiateContextCount
(Buffer<?> buffer) private int
SMB2NegotiateResponse.readNegotiateContextOffset
(SMBBuffer buffer) private byte[]
SMB2NegotiateResponse.readSecurityBuffer
(SMBBuffer buffer, int securityBufferOffset, int securityBufferLength) private byte[]
SMB2SessionSetup.readSecurityBuffer
(SMBBuffer buffer, int securityBufferOffset, int securityBufferLength) -
Uses of Buffer.BufferException in com.hierynomus.mssmb2.messages.negotiate
Methods in com.hierynomus.mssmb2.messages.negotiate that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionstatic SMB2NegotiateContext
final SMB2NegotiateContext
protected void
SMB2CompressionCapabilities.readContext
(SMBBuffer buffer, int dataSize) protected void
SMB2EncryptionCapabilities.readContext
(SMBBuffer buffer, int dataSize) protected void
SMB2NegotiateContext.readContext
(SMBBuffer buffer, int dataSize) Read the negotiate contextprotected void
SMB2NetNameNegotiateContextId.readContext
(SMBBuffer buffer, int dataSize) protected void
SMB2PreauthIntegrityCapabilities.readContext
(SMBBuffer buffer, int dataSize) private int
SMB2NegotiateContext.readContextHeader
(SMBBuffer buffer) -
Uses of Buffer.BufferException in com.hierynomus.ntlm.av
Methods in com.hierynomus.ntlm.av that throw Buffer.BufferException -
Uses of Buffer.BufferException in com.hierynomus.ntlm.messages
Methods in com.hierynomus.ntlm.messages that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionvoid
NtlmChallenge.read
(Buffer.PlainBuffer buffer) void
NtlmPacket.read
(Buffer.PlainBuffer buffer) TargetInfo.readFrom
(Buffer.PlainBuffer buffer) (package private) WindowsVersion
WindowsVersion.readFrom
(Buffer.PlainBuffer buffer) private void
NtlmChallenge.readTargetInfo
(Buffer.PlainBuffer buffer) private void
NtlmChallenge.readTargetInfoFields
(Buffer.PlainBuffer buffer) private void
NtlmChallenge.readTargetName
(Buffer.PlainBuffer buffer) private void
NtlmChallenge.readTargetNameFields
(Buffer.PlainBuffer buffer) private void
NtlmChallenge.readVersion
(Buffer.PlainBuffer buffer) -
Uses of Buffer.BufferException in com.hierynomus.protocol
Methods in com.hierynomus.protocol that throw Buffer.BufferException -
Uses of Buffer.BufferException in com.hierynomus.protocol.commons.buffer
Methods in com.hierynomus.protocol.commons.buffer that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionprotected void
Buffer.ensureAvailable
(int a) Ensure that there are at leasta
bytes available for reading from this buffer.boolean
Buffer.readBoolean()
Read a boolean bytebyte
Buffer.readByte()
Read a byte from the bufferlong
Buffer.readLong()
Read a long from the buffer using the buffer's endianness.long
Read a long from the buffer using the specified endianness.<T extends Buffer<T>>
long<T extends Buffer<T>>
longabstract <T extends Buffer<T>>
longBuffer.readNullTerminatedString
(Charset charset) Read a null-terminated string in the specified encoding.private String
Buffer.readNullTerminatedString
(Charset charset, Endian endianness) Endian.Big.readNullTerminatedUtf16String
(Buffer<T> buffer) Endian.Little.readNullTerminatedUtf16String
(Buffer<T> buffer) Endian.readNullTerminatedUtf16String
(Buffer<T> buffer) Endian.readNullTerminatedUtf16String
(Buffer<T> buffer, Charset charset) void
Buffer.readRawBytes
(byte[] buf) Read a raw byte array from the buffer into the passed byte array.void
Buffer.readRawBytes
(byte[] buf, int offset, int length) Read a raw byte array from the buffer into the passed byte array starting at offset, and reading exactly length bytes.byte[]
Buffer.readRawBytes
(int length) Readlength
raw bytes from the buffer into a newly allocated byte array of lengthlength
.Buffer.readString
(String encoding, int length) Read a string in the specified encoding.Buffer.readString
(Charset charset, int length) Read a string in the specified encoding.private String
Buffer.readString
(Charset charset, int length, Endian endianness) int
Buffer.readUInt16()
Read a uint16 from the buffer using the buffer's endianness.int
Buffer.readUInt16
(Endian endianness) Read a uint16 from the buffer using the specified endianness.<T extends Buffer<T>>
intEndian.Big.readUInt16
(Buffer<T> buffer) <T extends Buffer<T>>
intEndian.Little.readUInt16
(Buffer<T> buffer) abstract <T extends Buffer<T>>
intEndian.readUInt16
(Buffer<T> buffer) int
Buffer.readUInt24()
Read a uint24 from the buffer using the buffer's endianness.int
Buffer.readUInt24
(Endian endianness) Read a uint24 from the buffer using the specified endianness.<T extends Buffer<T>>
intEndian.Big.readUInt24
(Buffer<T> buffer) <T extends Buffer<T>>
intEndian.Little.readUInt24
(Buffer<T> buffer) abstract <T extends Buffer<T>>
intEndian.readUInt24
(Buffer<T> buffer) long
Buffer.readUInt32()
Read a uint32 from the buffer using the buffer's endianness.long
Buffer.readUInt32
(Endian endianness) Read a uint32 from the buffer using the specified endianness.<T extends Buffer<T>>
longEndian.Big.readUInt32
(Buffer<T> buffer) <T extends Buffer<T>>
longEndian.Little.readUInt32
(Buffer<T> buffer) abstract <T extends Buffer<T>>
longEndian.readUInt32
(Buffer<T> buffer) int
Buffer.readUInt32AsInt()
Read a uint32 from the buffer using the buffer's endianness.long
Buffer.readUInt64()
Read a uint64 from the buffer using the buffer's endianness.long
Buffer.readUInt64
(Endian endianness) Read a uint64 from the buffer using the specified endianness.<T extends Buffer<T>>
longEndian.Big.readUInt64
(Buffer<T> buffer) <T extends Buffer<T>>
longEndian.Little.readUInt64
(Buffer<T> buffer) abstract <T extends Buffer<T>>
longEndian.readUInt64
(Buffer<T> buffer) Endian.Big.readUtf16String
(Buffer<T> buffer, int length) Endian.Little.readUtf16String
(Buffer<T> buffer, int length) Endian.readUtf16String
(Buffer<T> buffer, int length) Endian.readUtf16String
(Buffer<T> buffer, int length, Charset charset) Buffer.skip
(int length) Skip the specified number of bytes. -
Uses of Buffer.BufferException in com.hierynomus.protocol.transport
Methods in com.hierynomus.protocol.transport that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionPacketFactory.read
(byte[] data) Constructpacket data
out of the raw byte data. -
Uses of Buffer.BufferException in com.hierynomus.smb
Methods in com.hierynomus.smb that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionfinal void
protected abstract void
void
protected void
SMBPacketData.readHeader()
Constructors in com.hierynomus.smb that throw Buffer.BufferExceptionModifierConstructorDescriptionSMBPacketData
(H header, byte[] data) protected
SMBPacketData
(H header, SMBBuffer buffer) -
Uses of Buffer.BufferException in com.hierynomus.smbj.connection
Methods in com.hierynomus.smbj.connection that throw Buffer.BufferException -
Uses of Buffer.BufferException in com.hierynomus.smbj.paths
Methods in com.hierynomus.smbj.paths that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionprivate DFSPathResolver.ReferralResult
DFSPathResolver.getReferral
(DFSPathResolver.DfsRequestType type, Share share, DFSPath path) private DFSPathResolver.ReferralResult
DFSPathResolver.handleReferralResponse
(DFSPathResolver.DfsRequestType type, SMB2IoctlResponse response, DFSPath originalPath) -
Uses of Buffer.BufferException in com.hierynomus.smbj.transport.tcp.direct
Methods in com.hierynomus.smbj.transport.tcp.direct that throw Buffer.BufferExceptionModifier and TypeMethodDescriptionprivate D
DirectTcpPacketReader.readPacket
(int packetLength) private int
DirectTcpPacketReader.readTcpHeader()