Class AbstractMD5Extension
java.lang.Object
com.sshtools.common.sftp.extensions.AbstractSftpExtension
com.sshtools.common.sftp.extensions.AbstractDigestExtension
com.sshtools.common.sftp.extensions.AbstractMD5Extension
- All Implemented Interfaces:
SftpExtension
- Direct Known Subclasses:
MD5FileExtension,MD5HandleExtension
-
Field Summary
Fields inherited from interface com.sshtools.common.sftp.SftpExtension
SSH_FXP_EXTENDED_REPLY -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) protected voidsendReply(int requestId, byte[] hashValue, SftpSubsystem sftp) Methods inherited from class com.sshtools.common.sftp.extensions.AbstractDigestExtension
doHash, doHash, processExtendedMessage, supportsExtendedMessageMethods inherited from class com.sshtools.common.sftp.extensions.AbstractSftpExtension
generateDefaultData, getDefaultData, getName, isDeclaredInVersionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sshtools.common.sftp.SftpExtension
processMessage
-
Method Details
-
doMD5Hash
protected byte[] doMD5Hash(String filename, long startOffset, long length, byte[] quickCheckHash, SftpSubsystem sftp) throws FileNotFoundException, PermissionDeniedException, IOException, SshException, InvalidHandleException -
doMD5Hash
protected byte[] doMD5Hash(byte[] handle, long startOffset, long length, byte[] quickCheckHash, SftpSubsystem sftp) throws SshException, EOFException, InvalidHandleException, IOException, PermissionDeniedException -
sendReply
- Throws:
IOException
-