public abstract class AbstractMD5Extension extends AbstractSftpExtension
Modifier and Type | Method and Description |
---|---|
protected byte[] |
doMD5Hash(byte[] handle,
long startOffset,
long length,
byte[] quickCheckHash,
SftpSubsystem sftp) |
protected byte[] |
doMD5Hash(String filename,
long startOffset,
long length,
byte[] quickCheckHash,
SftpSubsystem sftp) |
void |
processExtendedMessage(ByteArrayReader msg,
SftpSubsystem sftp) |
protected void |
sendReply(int requestId,
byte[] hashValue,
SftpSubsystem sftp) |
boolean |
supportsExtendedMessage(int messageId) |
generateDefaultData, getDefaultData, getName, isDeclaredInVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processMessage
protected byte[] doMD5Hash(String filename, long startOffset, long length, byte[] quickCheckHash, SftpSubsystem sftp) throws FileNotFoundException, PermissionDeniedException, IOException, SshException, InvalidHandleException
protected byte[] doMD5Hash(byte[] handle, long startOffset, long length, byte[] quickCheckHash, SftpSubsystem sftp) throws SshException, EOFException, InvalidHandleException, IOException, PermissionDeniedException
protected void sendReply(int requestId, byte[] hashValue, SftpSubsystem sftp) throws IOException
IOException
public boolean supportsExtendedMessage(int messageId)
public void processExtendedMessage(ByteArrayReader msg, SftpSubsystem sftp)
Copyright © 2024. All rights reserved.