Uses of Class
com.hierynomus.protocol.commons.buffer.Buffer.BufferException
-
-
Uses of Buffer.BufferException in com.hierynomus.msdfsc.messages
Methods in com.hierynomus.msdfsc.messages that throw Buffer.BufferException Modifier and Type Method Description (package private) static DFSReferral
DFSReferral. factory(SMBBuffer buffer)
(package private) DFSReferral
DFSReferral. read(SMBBuffer buffer)
void
SMB2GetDFSReferralResponse. read(SMBBuffer buffer)
(package private) java.lang.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.BufferException Modifier and Type Method Description static ACL
ACL. read(SMBBuffer buffer)
static SecurityDescriptor
SecurityDescriptor. read(SMBBuffer buffer)
static SID
SID. read(SMBBuffer buffer)
static FileTime
MsDataTypes. readFileTime(Buffer<?> buffer)
[MS-DTYP].pdf 2.3.3 FILETIMEstatic java.util.UUID
MsDataTypes. readGuid(Buffer<?> buffer)
[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 Modifier and Type Method Description static ACE
ACE. read(SMBBuffer buffer)
(package private) static AceType1
AceType1. read(AceHeader header, SMBBuffer buffer)
(package private) static AceType2
AceType2. read(AceHeader header, SMBBuffer buffer, int aceStartPos)
(package private) static AceType3
AceType3. read(AceHeader header, SMBBuffer buffer, int aceStartPos)
(package private) static AceType4
AceType4. read(AceHeader header, SMBBuffer buffer, int aceStartPos)
(package private) void
AceType2. readBody(SMBBuffer buffer, int aceStartPos)
Read the body of the AceType2protected void
AceType4. readBody(SMBBuffer buffer, int aceStartPos)
(package private) static AceHeader
AceHeader. readFrom(SMBBuffer buffer)
-
Uses of Buffer.BufferException in com.hierynomus.msfscc.directory
Methods in com.hierynomus.msfscc.directory that throw Buffer.BufferException Modifier and Type Method Description void
FileNotifyInformation. read(Buffer<?> buffer)
-
Uses of Buffer.BufferException in com.hierynomus.msfscc.fileinformation
Methods in com.hierynomus.msfscc.fileinformation that throw Buffer.BufferException Modifier and Type Method Description private 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 FileFullDirectoryInformationstatic FileIdBothDirectoryInformation
FileInformationFactory. parseFileIdBothDirectoryInformation(Buffer<?> buffer)
2.4.17 FileIdBothDirectoryInformationstatic FileIdFullDirectoryInformation
FileInformationFactory. parseFileIdFullDirectoryInformation(Buffer<?> buffer)
2.4.18 FileIdFullDirectoryInformationprivate static FileInternalInformation
FileInformationFactory. parseFileInternalInformation(Buffer<?> buffer)
private static FileModeInformation
FileInformationFactory. parseFileModeInformation(Buffer<?> buffer)
private static java.lang.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/FileFsFullSizeInformationF
FileInformation.Decoder. read(Buffer<?> inputBuffer)
-
Uses of Buffer.BufferException in com.hierynomus.msfscc.fsctl
Methods in com.hierynomus.msfscc.fsctl that throw Buffer.BufferException Modifier and Type Method Description void
FsCtlPipePeekResponse. read(Buffer<?> buffer)
-
Uses of Buffer.BufferException in com.hierynomus.mssmb
Methods in com.hierynomus.mssmb that throw Buffer.BufferException Modifier and Type Method Description protected void
SMB1Packet. read(SMB1PacketData packetData)
SMB1PacketData
SMB1PacketFactory. read(byte[] data)
Constructors in com.hierynomus.mssmb that throw Buffer.BufferException Constructor Description SMB1PacketData(byte[] data)
-
Uses of Buffer.BufferException in com.hierynomus.mssmb.messages
Methods in com.hierynomus.mssmb.messages that throw Buffer.BufferException Modifier and Type Method Description void
SMB1ComNegotiateRequest. read(SMB1PacketData packetData)
-
Uses of Buffer.BufferException in com.hierynomus.mssmb2
Methods in com.hierynomus.mssmb2 that throw Buffer.BufferException Modifier and Type Method Description byte[]
SMB3EncryptedPacketData. getCipherText()
SMB2PacketData
SMB2DecryptedPacketData. next()
SMB2PacketData
SMB2PacketData. next()
SMB2Error.BufferTooSmallError
SMB2Error.BufferTooSmallError. read(SMBBuffer buffer)
(package private) SMB2Error
SMB2Error. read(SMB2PacketHeader header, SMBBuffer buffer)
private SMB2Error.SymbolicLinkError
SMB2Error.SymbolicLinkError. read(SMBBuffer buffer)
static SMB2FileId
SMB2FileId. read(SMBBuffer buffer)
protected void
SMB2Packet. read(SMB2PacketData packetData)
SMB2PacketData
SMB2PacketFactory. read(byte[] data)
SMB3CompressedPacketData
SMB3CompressedPacketFactory. read(byte[] data)
SMB3EncryptedPacketData
SMB3EncryptedPacketFactory. read(byte[] data)
(package private) 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
SMB2CompressionTransformHeader. readFrom(Buffer<?> buffer)
void
SMB2PacketHeader. readFrom(Buffer<?> buffer)
void
SMB2TransformHeader. readFrom(Buffer<?> buffer)
protected void
SMB2Packet. readMessage(SMBBuffer buffer)
Read the packet body, this should be implemented by the various packet types.private java.lang.String
SMB2Error.SymbolicLinkError. readOffsettedString(SMBBuffer buffer, int offset, int length)
Read a string at an offset from the current position in the buffer.SMB2Packet
SMB2MessageConverter. readPacket(SMBPacket<?,?> requestPacket, SMB2PacketData packetData)
Constructors in com.hierynomus.mssmb2 that throw Buffer.BufferException Constructor Description SMB2DecryptedPacketData(byte[] data)
SMB2DecryptedPacketData(SMBBuffer dataBuffer)
SMB2PacketData(byte[] data)
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 Modifier and Type Method Description void
CopyChunkResponse. read(SMBBuffer in)
-
Uses of Buffer.BufferException in com.hierynomus.mssmb2.messages
Methods in com.hierynomus.mssmb2.messages that throw Buffer.BufferException Modifier and Type Method Description private java.util.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.BufferException Modifier and Type Method Description static SMB2NegotiateContext
SMB2NegotiateContext. factory(SMBBuffer buffer)
SMB2NegotiateContext
SMB2NegotiateContext. read(SMBBuffer buffer)
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 Modifier and Type Method Description abstract AvPair<T>
AvPair. read(Buffer<?> buffer)
AvPair<byte[]>
AvPairChannelBindings. read(Buffer<?> buffer)
AvPair<java.lang.Void>
AvPairEnd. read(Buffer<?> buffer)
static AvPair<?>
AvPairFactory. read(Buffer<?> buffer)
AvPair<java.lang.Long>
AvPairFlags. read(Buffer<?> buffer)
AvPairSingleHost
AvPairSingleHost. read(Buffer<?> buffer)
AvPairString
AvPairString. read(Buffer<?> buffer)
AvPair<FileTime>
AvPairTimestamp. read(Buffer<?> buffer)
-
Uses of Buffer.BufferException in com.hierynomus.ntlm.messages
Methods in com.hierynomus.ntlm.messages that throw Buffer.BufferException Modifier and Type Method Description void
NtlmChallenge. read(Buffer.PlainBuffer buffer)
void
NtlmPacket. read(Buffer.PlainBuffer buffer)
TargetInfo
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 Modifier and Type Method Description void
Packet. read(B buffer)
-
Uses of Buffer.BufferException in com.hierynomus.protocol.commons.buffer
Methods in com.hierynomus.protocol.commons.buffer that throw Buffer.BufferException Modifier and Type Method Description protected 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
Buffer. readLong(Endian endianness)
Read a long from the buffer using the specified endianness.<T extends Buffer<T>>
longEndian.Big. readLong(Buffer<T> buffer)
<T extends Buffer<T>>
longEndian.Little. readLong(Buffer<T> buffer)
abstract <T extends Buffer<T>>
longEndian. readLong(Buffer<T> buffer)
java.lang.String
Buffer. readNullTerminatedString(java.nio.charset.Charset charset)
Read a null-terminated string in the specified encoding.private java.lang.String
Buffer. readNullTerminatedString(java.nio.charset.Charset charset, Endian endianness)
<T extends Buffer<T>>
java.lang.StringEndian.Big. readNullTerminatedUtf16String(Buffer<T> buffer)
<T extends Buffer<T>>
java.lang.StringEndian.Little. readNullTerminatedUtf16String(Buffer<T> buffer)
abstract <T extends Buffer<T>>
java.lang.StringEndian. readNullTerminatedUtf16String(Buffer<T> buffer)
(package private) <T extends Buffer<T>>
java.lang.StringEndian. readNullTerminatedUtf16String(Buffer<T> buffer, java.nio.charset.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
.java.lang.String
Buffer. readString(java.lang.String encoding, int length)
Read a string in the specified encoding.java.lang.String
Buffer. readString(java.nio.charset.Charset charset, int length)
Read a string in the specified encoding.private java.lang.String
Buffer. readString(java.nio.charset.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)
<T extends Buffer<T>>
java.lang.StringEndian.Big. readUtf16String(Buffer<T> buffer, int length)
<T extends Buffer<T>>
java.lang.StringEndian.Little. readUtf16String(Buffer<T> buffer, int length)
abstract <T extends Buffer<T>>
java.lang.StringEndian. readUtf16String(Buffer<T> buffer, int length)
(package private) <T extends Buffer<T>>
java.lang.StringEndian. readUtf16String(Buffer<T> buffer, int length, java.nio.charset.Charset charset)
Buffer<T>
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.BufferException Modifier and Type Method Description D
PacketFactory. 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.BufferException Modifier and Type Method Description void
SMBPacket. read(SMBBuffer buffer)
protected abstract void
SMBPacket. read(D packetData)
void
SMBHeader. readFrom(Buffer<?> buffer)
protected void
SMBPacketData. readHeader()
Constructors in com.hierynomus.smb that throw Buffer.BufferException Constructor Description SMBPacketData(H header, byte[] data)
SMBPacketData(H header, SMBBuffer buffer)
-
Uses of Buffer.BufferException in com.hierynomus.smbj.connection
Methods in com.hierynomus.smbj.connection that throw Buffer.BufferException Modifier and Type Method Description SMBPacketData<?>
Connection.DelegatingSMBMessageConverter. read(byte[] data)
-
Uses of Buffer.BufferException in com.hierynomus.smbj.paths
Methods in com.hierynomus.smbj.paths that throw Buffer.BufferException Modifier and Type Method Description private 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.share
Methods in com.hierynomus.smbj.share that throw Buffer.BufferException Modifier and Type Method Description private byte[]
File. getResumeKey()
See [MS-SMB2] 2.2.32.3 SRV_REQUEST_RESUME_KEY Response https://msdn.microsoft.com/en-us/library/cc246804.aspxvoid
File. remoteCopyTo(long offset, File destination, long destinationOffset, long length)
Copies the byte range[offset, length]
of this file to the range[destinationOffset, length]
of the given destination file.void
File. remoteCopyTo(File destination)
Performs a remote file copy of this file to the given file.private static void
File. remoteFileCopy(File source, long sourceOffset, File destination, long destinationOffset, long length)
Remote copy logic as described in https://msdn.microsoft.com/en-us/library/cc246475.aspx -
Uses of Buffer.BufferException in com.hierynomus.smbj.transport.tcp.direct
Methods in com.hierynomus.smbj.transport.tcp.direct that throw Buffer.BufferException Modifier and Type Method Description private D
DirectTcpPacketReader. readPacket(int packetLength)
private int
DirectTcpPacketReader. readTcpHeader()
-