Package | Description |
---|---|
com.sshtools.client.sftp | |
com.sshtools.common.ssh.components |
This package contains an abstract cryptographic provider for the SSH protocol.
|
com.sshtools.common.util |
A set of SSHTools utility classes.
|
com.sshtools.server | |
com.sshtools.server.platform |
This package contains the interfaces that are required to be
implemented to create an SSH server implementation.
|
com.sshtools.server.sftp |
Modifier and Type | Method and Description |
---|---|
UnsignedInteger32 |
SftpFileAttributes.getPermissions()
Get the current permissions value.
|
UnsignedInteger32 |
AbstractSftpTask.postReadRequest(byte[] handle,
long offset,
int len)
Post a read request to the server and return the request id; this is used
to optimize file downloads.
|
UnsignedInteger32 |
AbstractSftpTask.postWriteRequest(byte[] handle,
long position,
byte[] data,
int off,
int len)
Send a write request for an open file but do not wait for the response
from the server.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractSftpTask.getOKRequestStatus(UnsignedInteger32 requestId)
Verify that an OK status has been returned for a request id.
|
SftpMessage |
AbstractSftpTask.getResponse(UnsignedInteger32 requestId) |
void |
SftpFileAttributes.setPermissions(UnsignedInteger32 permissions)
Set the permissions of the file.
|
Modifier and Type | Method and Description |
---|---|
static BigInteger |
DiffieHellmanGroups.getSafePrime(UnsignedInteger32 maximumSize)
get the biggest safe prime from the list that is <= maximumSize
|
Modifier and Type | Method and Description |
---|---|
static UnsignedInteger32 |
UnsignedInteger32.add(UnsignedInteger32 x,
int y)
Add an int to an unsigned integer.
|
static UnsignedInteger32 |
UnsignedInteger32.add(UnsignedInteger32 x,
UnsignedInteger32 y)
Add two unsigned integers together.
|
UnsignedInteger32 |
ByteArrayReader.readUINT32() |
Modifier and Type | Method and Description |
---|---|
static UnsignedInteger32 |
UnsignedInteger32.add(UnsignedInteger32 x,
int y)
Add an int to an unsigned integer.
|
static UnsignedInteger32 |
UnsignedInteger32.add(UnsignedInteger32 x,
UnsignedInteger32 y)
Add two unsigned integers together.
|
void |
ByteArrayWriter.writeUINT32(UnsignedInteger32 value) |
Modifier and Type | Method and Description |
---|---|
UnsignedInteger32 |
SftpFileAttributes.getGID()
Get the GID of this file.
|
UnsignedInteger32 |
SftpFileAttributes.getPermissions()
Get the current permissions value.
|
UnsignedInteger32 |
SftpFileAttributes.getUID()
Get the UID of the owner.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SftpSubsystem.fireOpenFileEvent(UnsignedInteger32 flags,
SftpFileAttributes attrs,
String path,
Date started,
Exception error) |
void |
SftpFileAttributes.setGID(UnsignedInteger32 gid)
Set the GID of this file.
|
void |
SftpFileAttributes.setGID(UnsignedInteger32 gid,
String group) |
void |
SftpFileAttributes.setPermissions(UnsignedInteger32 permissions)
Set the permissions of the file.
|
void |
SftpFileAttributes.setUID(UnsignedInteger32 uid)
Set the UID of the owner.
|
void |
SftpFileAttributes.setUID(UnsignedInteger32 uid,
String username) |
Modifier and Type | Method and Description |
---|---|
byte[] |
NativeFileSystemProvider.openFile(String path,
UnsignedInteger32 flags,
SftpFileAttributes attrs)
Deprecated.
Open a file for reading/writing and allocate an open file handle.
|
byte[] |
FileSystem.openFile(String path,
UnsignedInteger32 flags,
SftpFileAttributes attrs)
Open a file for reading/writing and allocate an open file handle.
|
Modifier and Type | Method and Description |
---|---|
UnsignedInteger32 |
AbstractFileSystem.OpenFile.getFlags() |
Modifier and Type | Method and Description |
---|---|
byte[] |
AbstractFileSystem.openFile(String path,
UnsignedInteger32 flags,
SftpFileAttributes attrs) |
Constructor and Description |
---|
OpenFile(AbstractFile f,
UnsignedInteger32 flags) |
Copyright © 2016. All rights reserved.