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