Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W _ 

A

add(HostKey, UserInfo) - Method in interface com.jcraft.jsch.HostKeyRepository
Adds a hostname-key-pair to the repository.
add(byte[]) - Method in interface com.jcraft.jsch.IdentityRepository
Adds a new identity to this repository, in the form of the raw (unencrypted) private key bytes.
add(byte[]) - Method in class com.jcraft.jsch.IdentityRepository.Wrapper
 
add(HostKey, UserInfo) - Method in class com.jcraft.jsch.KnownHosts
 
addIdentity(String) - Method in class com.jcraft.jsch.JSch
Adds an identity to be used for public-key authentication.
addIdentity(String, String) - Method in class com.jcraft.jsch.JSch
Adds an identity to be used for public-key authentication.
addIdentity(String, byte[]) - Method in class com.jcraft.jsch.JSch
Adds an identity to be used for public-key authentication.
addIdentity(String, String, byte[]) - Method in class com.jcraft.jsch.JSch
Adds an identity to be used for public-key authentication.
addIdentity(String, byte[], byte[], byte[]) - Method in class com.jcraft.jsch.JSch
Adds an identity to be used for public-key authentication.
addIdentity(Identity, byte[]) - Method in class com.jcraft.jsch.JSch
Adds an identity to be used for public-key authentication.
addSession(Session) - Method in class com.jcraft.jsch.JSch
Adds a session to our session pool.
APPEND - Static variable in class com.jcraft.jsch.ChannelSftp
file transfer mode: append to existing file, if any.

B

BREAK - Static variable in interface com.jcraft.jsch.ChannelSftp.LsEntrySelector
 
buf - Variable in class com.jcraft.jsch.UserAuth
 
Buffer - Class in com.jcraft.jsch
Usually not to be used by applications.
Buffer(int) - Constructor for class com.jcraft.jsch.Buffer
creates a Buffer with given size.
Buffer(byte[]) - Constructor for class com.jcraft.jsch.Buffer
Creates a buffer using the given array as backing store.
Buffer() - Constructor for class com.jcraft.jsch.Buffer
Creates a buffer with a default size of 20 KB.

C

cd(String) - Method in class com.jcraft.jsch.ChannelSftp
Changes the current remote directory.
CHANGED - Static variable in interface com.jcraft.jsch.HostKeyRepository
Constant for the result of HostKeyRepository.check(java.lang.String, byte[]): The host has another key.
Channel - Class in com.jcraft.jsch
The abstract base class for the different types of channel which may be associated with a Session.
ChannelDirectTCPIP - Class in com.jcraft.jsch
A Channel which allows forwarding a pair of local streams to/from a TCP-connection to a server on the remote side.
ChannelExec - Class in com.jcraft.jsch
A channel connected to a remotely executing program.
ChannelExec() - Constructor for class com.jcraft.jsch.ChannelExec
 
ChannelForwardedTCPIP - Class in com.jcraft.jsch
A Channel created when a forwarded port at the remote side is connected.
ChannelSftp - Class in com.jcraft.jsch
A Channel connected to an sftp server (as a subsystem of the ssh server).
ChannelSftp() - Constructor for class com.jcraft.jsch.ChannelSftp
 
ChannelSftp.LsEntry - Class in com.jcraft.jsch
Represents a directory entry, representing a remote file or directory.
ChannelSftp.LsEntrySelector - Interface in com.jcraft.jsch
Objects implementing this interface can be passed as an argument for ChannelSftp's ChannelSftp.ls(java.lang.String) method.
ChannelShell - Class in com.jcraft.jsch
A channel connected to a remote shell.
ChannelSubsystem - Class in com.jcraft.jsch
A channel connected to a subsystem of the server process.
ChannelSubsystem() - Constructor for class com.jcraft.jsch.ChannelSubsystem
 
check(String, byte[]) - Method in interface com.jcraft.jsch.HostKeyRepository
Checks whether some host has a given key.
check(String, byte[]) - Method in class com.jcraft.jsch.KnownHosts
 
check2048(Class, int) - Method in class com.jcraft.jsch.DHGEX
 
checkRange() - Method in interface com.jcraft.jsch.DH
 
chgrp(int, String) - Method in class com.jcraft.jsch.ChannelSftp
Changes the owner group of one or several remote files.
chmod(int, String) - Method in class com.jcraft.jsch.ChannelSftp
Changes the permissions of one or several remote files.
chown(int, String) - Method in class com.jcraft.jsch.ChannelSftp
Changes the owning user of one or several remote files.
Cipher - Interface in com.jcraft.jsch
Usually not to be used by applications.
CipherNone - Class in com.jcraft.jsch
Usually not to be used by applications.
CipherNone() - Constructor for class com.jcraft.jsch.CipherNone
 
clear() - Method in interface com.jcraft.jsch.Identity
Disposes internally allocated data, like byte array for the private key.
close() - Method in class com.jcraft.jsch.IO
 
close() - Method in interface com.jcraft.jsch.Proxy
Closes the connection.
close() - Method in class com.jcraft.jsch.ProxyHTTP
 
close() - Method in class com.jcraft.jsch.ProxySOCKS4
 
close() - Method in class com.jcraft.jsch.ProxySOCKS5
 
com.jcraft.jsch - package com.jcraft.jsch
Java Secure Channel - main package.
comment - Variable in class com.jcraft.jsch.HostKey
 
compareTo(Object) - Method in class com.jcraft.jsch.ChannelSftp.LsEntry
compares this LsEntry to another LsEntry, alphabetically by filename.
compress(byte[], int, int[]) - Method in interface com.jcraft.jsch.Compression
Compresses a chunk of data.
Compression - Interface in com.jcraft.jsch
Usually not to be used by applications.
ConfigRepository - Interface in com.jcraft.jsch
A repository for host-specific configuration settings, retrievable by host name (or an alias).
ConfigRepository.Config - Interface in com.jcraft.jsch
A configuration for connections to a remote host name (or alias).
connect() - Method in class com.jcraft.jsch.Channel
Opens the channel without any timeout.
connect(int) - Method in class com.jcraft.jsch.Channel
Opens the channel.
connect(int) - Method in class com.jcraft.jsch.ChannelDirectTCPIP
opens the channel.
connect(SocketFactory, String, int, int) - Method in interface com.jcraft.jsch.Proxy
Opens a connection to the target server.
connect(SocketFactory, String, int, int) - Method in class com.jcraft.jsch.ProxyHTTP
 
connect(SocketFactory, String, int, int) - Method in class com.jcraft.jsch.ProxySOCKS4
 
connect(SocketFactory, String, int, int) - Method in class com.jcraft.jsch.ProxySOCKS5
 
connect() - Method in class com.jcraft.jsch.Session
opens the connection, using the timeout set with Session.setTimeout(int).
connect(int) - Method in class com.jcraft.jsch.Session
opens the connection, using the specified timeout.
CONTINUE - Static variable in interface com.jcraft.jsch.ChannelSftp.LsEntrySelector
 
count(long) - Method in interface com.jcraft.jsch.SftpProgressMonitor
Will be called periodically as more data is transfered.
create(String, String) - Method in interface com.jcraft.jsch.GSSContext
creates the context.
createServerSocket(int, int, InetAddress) - Method in interface com.jcraft.jsch.ServerSocketFactory
Creates a ServerSocket.
createSocket(String, int) - Method in interface com.jcraft.jsch.SocketFactory
Creates a Socket connected to a given host/port.

D

daemon_thread - Variable in class com.jcraft.jsch.Session
 
data - Variable in class com.jcraft.jsch.KeyPair
 
DEBUG - Static variable in interface com.jcraft.jsch.Logger
Log level constant - the lowest level (only use for debugging).
decrypt() - Method in interface com.jcraft.jsch.Identity
Deprecated.
The decryption should be done automatically in #setPassphase(byte[] passphrase)
decrypt(String) - Method in class com.jcraft.jsch.KeyPair
decrypts the private key, using a passphrase.
decrypt(byte[]) - Method in class com.jcraft.jsch.KeyPair
decrypts the private key, using a passphrase.
decrypt(byte[]) - Method in class com.jcraft.jsch.KeyPairPKCS8
 
DECRYPT_MODE - Static variable in interface com.jcraft.jsch.Cipher
Decryption mode constant for Cipher.init(int, byte[], byte[]).
defaultConfig - Static variable in interface com.jcraft.jsch.ConfigRepository
An implementation of ConfigRepository.Config which returns null (or -1) for every method.
DEFLATER - Static variable in interface com.jcraft.jsch.Compression
Constant for deflating (compressing) mode.
delPortForwardingL(int) - Method in class com.jcraft.jsch.Session
Cancels the local port forwarding assigned at local TCP port lport on loopback interface.
delPortForwardingL(String, int) - Method in class com.jcraft.jsch.Session
Cancels the local port forwarding assigned at local TCP port lport on bind_address interface.
delPortForwardingR(int) - Method in class com.jcraft.jsch.Session
Cancels the remote port forwarding assigned at remote TCP port rport.
delPortForwardingR(String, int) - Method in class com.jcraft.jsch.Session
Cancels the remote port forwarding assigned at remote TCP port rport bound on the interface at bind_address.
DH - Interface in com.jcraft.jsch
Usually not to be used by applications.
DHEC256 - Class in com.jcraft.jsch
 
DHEC256() - Constructor for class com.jcraft.jsch.DHEC256
 
DHEC384 - Class in com.jcraft.jsch
 
DHEC384() - Constructor for class com.jcraft.jsch.DHEC384
 
DHEC521 - Class in com.jcraft.jsch
 
DHEC521() - Constructor for class com.jcraft.jsch.DHEC521
 
DHECN - Class in com.jcraft.jsch
 
DHECN() - Constructor for class com.jcraft.jsch.DHECN
 
DHG1 - Class in com.jcraft.jsch
Usually not to be used by applications.
DHG1() - Constructor for class com.jcraft.jsch.DHG1
 
DHG14 - Class in com.jcraft.jsch
Usually not to be used by applications.
DHG14() - Constructor for class com.jcraft.jsch.DHG14
 
DHGEX - Class in com.jcraft.jsch
Usually not to be used by applications.
DHGEX() - Constructor for class com.jcraft.jsch.DHGEX
 
DHGEX256 - Class in com.jcraft.jsch
 
digest() - Method in interface com.jcraft.jsch.HASH
calculates and returns the digest for all the data hashed up so far.
disconnect() - Method in class com.jcraft.jsch.Channel
disconnects this channel.
disconnect() - Method in class com.jcraft.jsch.ChannelSftp
closes this channel.
disconnect() - Method in class com.jcraft.jsch.Session
Closes the connection to the server.
dispose() - Method in interface com.jcraft.jsch.GSSContext
Disposes this context, releasing any system resources and stored cryptographic information.
dispose() - Method in class com.jcraft.jsch.KeyPair
Disposes this key pair.
dispose() - Method in class com.jcraft.jsch.KeyPairDSA
 
dispose() - Method in class com.jcraft.jsch.KeyPairECDSA
 
dispose() - Method in class com.jcraft.jsch.KeyPairRSA
 
doFinal(byte[], int) - Method in interface com.jcraft.jsch.MAC
Finalizes the production of the digest, producing the digest value.
DSA - Static variable in class com.jcraft.jsch.KeyPair
Key type constant: DSA.
DSS - Variable in class com.jcraft.jsch.KeyExchange
 

E

ECDH - Interface in com.jcraft.jsch
Usually not to be used by applications.
ECDSA - Variable in class com.jcraft.jsch.KeyExchange
 
ECDSA - Static variable in class com.jcraft.jsch.KeyPair
 
ECDSA256 - Static variable in class com.jcraft.jsch.HostKey
 
ECDSA384 - Static variable in class com.jcraft.jsch.HostKey
 
ECDSA521 - Static variable in class com.jcraft.jsch.HostKey
 
encode(Packet) - Method in class com.jcraft.jsch.Session
(not to be invoked from outside)
ENCRYPT_MODE - Static variable in interface com.jcraft.jsch.Cipher
Encryption mode constant for Cipher.init(int, byte[], byte[]).
encrypted - Variable in class com.jcraft.jsch.KeyPair
 
end() - Method in interface com.jcraft.jsch.SftpProgressMonitor
Will be called when the transfer ended, either because all the data was transferred, or because the transfer was cancelled.
ERROR - Static variable in class com.jcraft.jsch.KeyPair
Key type constant: some error occured, or the keypair was not initialized.
ERROR - Static variable in interface com.jcraft.jsch.Logger
Log level constant: the second-highest level, something occured which should not have.
exit() - Method in class com.jcraft.jsch.ChannelSftp
Exits the Channel.

F

FATAL - Static variable in interface com.jcraft.jsch.Logger
Log level constant: the highest level: something did get so wrong that recovering is not possible.
fill(byte[], int, int) - Method in interface com.jcraft.jsch.Random
Fills a segment of a byte array with random bits.
finalize() - Method in class com.jcraft.jsch.KeyPair
Called by the garbage collector when the object is not reachable anymore.
forSSHAgent() - Method in class com.jcraft.jsch.KeyPair
 
forSSHAgent() - Method in class com.jcraft.jsch.KeyPairDSA
 
forSSHAgent() - Method in class com.jcraft.jsch.KeyPairECDSA
 
forSSHAgent() - Method in class com.jcraft.jsch.KeyPairPKCS8
 
forSSHAgent() - Method in class com.jcraft.jsch.KeyPairRSA
 
ForwardedTCPIPDaemon - Interface in com.jcraft.jsch
A local deamon process executed when a host connects to to a forwarded port at the remote side.

G

genChannelOpenPacket() - Method in class com.jcraft.jsch.Channel
 
genChannelOpenPacket() - Method in class com.jcraft.jsch.ChannelDirectTCPIP
 
genKeyPair(JSch, int) - Static method in class com.jcraft.jsch.KeyPair
Creates a new key pair with default key size of 1024 bits.
genKeyPair(JSch, int, int) - Static method in class com.jcraft.jsch.KeyPair
Creates a new key pair.
get(String, String) - Method in class com.jcraft.jsch.ChannelSftp
Downloads a file.
get(String, String, SftpProgressMonitor) - Method in class com.jcraft.jsch.ChannelSftp
Downloads a file.
get(String, String, SftpProgressMonitor, int) - Method in class com.jcraft.jsch.ChannelSftp
Downloads a file.
get(String, OutputStream) - Method in class com.jcraft.jsch.ChannelSftp
Downloads a file to an OutputStream.
get(String, OutputStream, SftpProgressMonitor) - Method in class com.jcraft.jsch.ChannelSftp
Downloads a file to an OutputStream.
get(String, OutputStream, SftpProgressMonitor, int, long) - Method in class com.jcraft.jsch.ChannelSftp
Downloads a file to an OutputStream.
get(String) - Method in class com.jcraft.jsch.ChannelSftp
Starts downloading a file as an InputStream.
get(String, SftpProgressMonitor) - Method in class com.jcraft.jsch.ChannelSftp
Starts downloading a file as an InputStream.
get(String, int) - Method in class com.jcraft.jsch.ChannelSftp
Deprecated.
This method will be deleted in the future. A transfer mode is not meaningful here, as you can't really overwrite or append an InputStream.
get(String, SftpProgressMonitor, int) - Method in class com.jcraft.jsch.ChannelSftp
Deprecated.
This method will be deleted in the future. A transfer mode is not meaningful here, as you can't really overwrite or append an InputStream.
get(String, SftpProgressMonitor, long) - Method in class com.jcraft.jsch.ChannelSftp
Starts downloading a file as an InputStream.
GET - Static variable in interface com.jcraft.jsch.SftpProgressMonitor
Direction constant for download.
getAlgName() - Method in interface com.jcraft.jsch.Identity
Returns the name of the algorithm.
getATime() - Method in class com.jcraft.jsch.SftpATTRS
returns the last access time.
getAtimeString() - Method in class com.jcraft.jsch.SftpATTRS
returns a string representation of the access time.
getAttrs() - Method in class com.jcraft.jsch.ChannelSftp.LsEntry
return the attributes of the file.
getAvail() - Method in class com.jcraft.jsch.SftpStatVFS
 
getAvailBlocks() - Method in class com.jcraft.jsch.SftpStatVFS
 
getAvailForNonRoot() - Method in class com.jcraft.jsch.SftpStatVFS
 
getAvailINodes() - Method in class com.jcraft.jsch.SftpStatVFS
 
getBlocks() - Method in class com.jcraft.jsch.SftpStatVFS
 
getBlockSize() - Method in interface com.jcraft.jsch.Cipher
Returns the block size of this algorithm.
getBlockSize() - Method in class com.jcraft.jsch.CipherNone
 
getBlockSize() - Method in interface com.jcraft.jsch.HASH
returns the size of the hash which will be produced from input.
getBlockSize() - Method in interface com.jcraft.jsch.MAC
The size of the produced MAC, i.e. the digest length, in bytes.
getBlockSize() - Method in class com.jcraft.jsch.SftpStatVFS
 
getBulkRequests() - Method in class com.jcraft.jsch.ChannelSftp
This method will return the value how many requests may be sent at any one time.
getByte() - Method in class com.jcraft.jsch.Buffer
reads a (unsigned) byte from the buffer.
getByte(byte[]) - Method in class com.jcraft.jsch.Buffer
reads some byte from the buffer.
getByte(int) - Method in class com.jcraft.jsch.Buffer
ignores len bytes in the buffer.
getC() - Method in interface com.jcraft.jsch.KeyPairGenRSA
The chinese remainder coefficient c, i.e. the inverse of q modulo p.
getCapacity() - Method in class com.jcraft.jsch.SftpStatVFS
 
getCause() - Method in exception com.jcraft.jsch.JSchException
retrieves the cause.
getCause() - Method in exception com.jcraft.jsch.SftpException
Returns the cause of the exception.
getClientVersion() - Method in class com.jcraft.jsch.Session
returns the version string (to be) sent to the server.
getComment() - Method in class com.jcraft.jsch.HostKey
 
getConfig(String) - Method in interface com.jcraft.jsch.ConfigRepository
Returns the configuration for a specific host name (or host name alias).
getConfig(String) - Static method in class com.jcraft.jsch.JSch
Retrieves a default configuration option.
getConfig(String) - Method in class com.jcraft.jsch.OpenSSHConfig
 
getConfig(String) - Method in class com.jcraft.jsch.Session
Retrieves a configuration option of this session.
getConfigRepository() - Method in class com.jcraft.jsch.JSch
 
getD() - Method in interface com.jcraft.jsch.KeyPairGenECDSA
 
getD() - Method in interface com.jcraft.jsch.KeyPairGenRSA
The decryption exponent d.
getDefaultPort() - Static method in class com.jcraft.jsch.ProxyHTTP
returns the default proxy port - this is 80 as defined for HTTP.
getDefaultPort() - Static method in class com.jcraft.jsch.ProxySOCKS4
returns the default proxy port - this is 1080 as defined for SOCKS.
getDefaultPort() - Static method in class com.jcraft.jsch.ProxySOCKS5
returns the default proxy port - this is 1080 as defined for SOCKS.
getE() - Method in interface com.jcraft.jsch.DH
Retrieves the value e, that is the result of g^x mod P.
getE() - Method in interface com.jcraft.jsch.KeyPairGenRSA
The encryption exponent e.
getEP() - Method in interface com.jcraft.jsch.KeyPairGenRSA
The exponent to use modulo p.
getEQ() - Method in interface com.jcraft.jsch.KeyPairGenRSA
The exponent to use modulo q.
getErrStream() - Method in class com.jcraft.jsch.ChannelExec
Gets the error stream.
getErrStream() - Method in class com.jcraft.jsch.ChannelSubsystem
Gets the error stream.
getExitStatus() - Method in class com.jcraft.jsch.Channel
retrieves the exit status of the remote command corresponding to this channel.
getExtended() - Method in class com.jcraft.jsch.SftpATTRS
returns extended attributes, if any.
getExtension(String) - Method in class com.jcraft.jsch.ChannelSftp
returns the extension data sent by the server corresponding to some extension name.
getExtInputStream() - Method in class com.jcraft.jsch.Channel
Gets an InputStream for extended data of this channel.
getFilename() - Method in class com.jcraft.jsch.ChannelSftp.LsEntry
gets the file name of this file.
getFileSystemID() - Method in class com.jcraft.jsch.SftpStatVFS
 
getFingerPrint(JSch) - Method in class com.jcraft.jsch.HostKey
returns the key's fingerprint (i.e. a lowercase hexadecimal representation of the MD5 of the key.)
getFingerPrint() - Method in class com.jcraft.jsch.KeyExchange
returns the finger print of the server's public key.
getFingerPrint() - Method in class com.jcraft.jsch.KeyPair
Creates and returns a fingerprint of the public key, i.e. the hexadecimal representation of the MD5 hash of the public key.
getFlags() - Method in class com.jcraft.jsch.SftpATTRS
returns the flags indicating which attributes are present.
getFragmentSize() - Method in class com.jcraft.jsch.SftpStatVFS
 
getFreeBlocks() - Method in class com.jcraft.jsch.SftpStatVFS
 
getFreeINodes() - Method in class com.jcraft.jsch.SftpStatVFS
 
getG() - Method in interface com.jcraft.jsch.KeyPairGenDSA
The generator g of the subgroup.
getGId() - Method in class com.jcraft.jsch.SftpATTRS
returns the numerical group identifier of the owning group.
getHome() - Method in class com.jcraft.jsch.ChannelSftp
returns the absolute path of the remote home directory.
getHost() - Method in class com.jcraft.jsch.HostKey
returns the name of the host.
getHost() - Method in class com.jcraft.jsch.Session
gets the host name to which we will connect (or are connected).
getHostKey() - Method in interface com.jcraft.jsch.HostKeyRepository
returns all host keys in this repository.
getHostKey(String, String) - Method in interface com.jcraft.jsch.HostKeyRepository
returns all host keys of a certain host.
getHostKey() - Method in class com.jcraft.jsch.KnownHosts
 
getHostKey(String, String) - Method in class com.jcraft.jsch.KnownHosts
 
getHostKey() - Method in class com.jcraft.jsch.Session
retrieves the host key of the server.
getHostKeyAlias() - Method in class com.jcraft.jsch.Session
retrieves the current server host key alias.
getHostKeyRepository() - Method in class com.jcraft.jsch.JSch
Returns the current host key repository.
getHostKeyRepository() - Method in class com.jcraft.jsch.Session
Gets the hostkeyRepository.
getHostname() - Method in interface com.jcraft.jsch.ConfigRepository.Config
The actual host name to use for connecting.
getId() - Method in class com.jcraft.jsch.Channel
returns the session-specific identifier of the channel.
getIdentities() - Method in interface com.jcraft.jsch.IdentityRepository
Returns all the identies of this repository, in the form of a vector of Identity objects.
getIdentities() - Method in class com.jcraft.jsch.IdentityRepository.Wrapper
 
getIdentityNames() - Method in class com.jcraft.jsch.JSch
Lists names of identities included in the identityRepository.
getIdentityRepository() - Method in class com.jcraft.jsch.JSch
 
getINodes() - Method in class com.jcraft.jsch.SftpStatVFS
 
getInputStream() - Method in class com.jcraft.jsch.Channel
Gets an InputStream for this channel.
getInputStream() - Method in interface com.jcraft.jsch.Proxy
Returns an InputStream to read data from the remote server.
getInputStream() - Method in class com.jcraft.jsch.ProxyHTTP
 
getInputStream() - Method in class com.jcraft.jsch.ProxySOCKS4
 
getInputStream() - Method in class com.jcraft.jsch.ProxySOCKS5
 
getInputStream(Socket) - Method in interface com.jcraft.jsch.SocketFactory
Creates an InputStream for a Socket.
getInt() - Method in class com.jcraft.jsch.Buffer
reads a signed 32-bit number from the buffer.
getIVSize() - Method in interface com.jcraft.jsch.Cipher
Returns the size of the identity vector for this cipher.
getIVSize() - Method in class com.jcraft.jsch.CipherNone
 
getK() - Method in interface com.jcraft.jsch.DH
Retrieves the secret number K which was created by the key exchange and will be used to create the key.
getKey() - Method in class com.jcraft.jsch.HostKey
returns a base64-representation of the key.
getKey(byte[], byte[], int, int) - Method in interface com.jcraft.jsch.PBKDF
Derives a key from a password and a salt.
getKeyAlgorithName() - Method in class com.jcraft.jsch.KeyExchange
 
getKeySize() - Method in class com.jcraft.jsch.KeyPairDSA
 
getKeySize() - Method in class com.jcraft.jsch.KeyPairECDSA
 
getKeySize() - Method in class com.jcraft.jsch.KeyPairPKCS8
 
getKeySize() - Method in class com.jcraft.jsch.KeyPairRSA
 
getKeyType() - Method in class com.jcraft.jsch.KeyExchange
Returns the type of key used by the server.
getKeyType() - Method in class com.jcraft.jsch.KeyPair
returns the type of the keys in this keypair, which is one of KeyPair.RSA and KeyPair.DSA.
getKeyType() - Method in class com.jcraft.jsch.KeyPairDSA
 
getKeyType() - Method in class com.jcraft.jsch.KeyPairECDSA
 
getKeyType() - Method in class com.jcraft.jsch.KeyPairPKCS8
 
getKeyType() - Method in class com.jcraft.jsch.KeyPairRSA
 
getKnownHostsRepositoryID() - Method in interface com.jcraft.jsch.HostKeyRepository
returns an identifier for this repository.
getKnownHostsRepositoryID() - Method in class com.jcraft.jsch.KnownHosts
 
getLength() - Method in class com.jcraft.jsch.Buffer
calculates the length of this buffer, which is the difference between index and offset.
getLong() - Method in class com.jcraft.jsch.Buffer
reads a 64-bit number from the buffer.
getLongname() - Method in class com.jcraft.jsch.ChannelSftp.LsEntry
returns the "longname" of a file.
getMarker() - Method in class com.jcraft.jsch.HostKey
 
getMaximumFilenameLength() - Method in class com.jcraft.jsch.SftpStatVFS
 
getMIC(byte[], int, int) - Method in interface com.jcraft.jsch.GSSContext
calculates a Message Integrity Code for a message.
getMountFlag() - Method in class com.jcraft.jsch.SftpStatVFS
 
getMPInt() - Method in class com.jcraft.jsch.Buffer
reads a multiple-precision (signed) integer.
getMPIntBits() - Method in class com.jcraft.jsch.Buffer
reads a multiple precision signed integer as unsigned (i.e. the highest-order bit is guaranteed to be 0).
getMTime() - Method in class com.jcraft.jsch.SftpATTRS
returns the last modification time.
getMtimeString() - Method in class com.jcraft.jsch.SftpATTRS
returns a string representation of the modifiying time.
getN() - Method in interface com.jcraft.jsch.KeyPairGenRSA
The modulus of the key-pair.
getName() - Method in interface com.jcraft.jsch.Identity
returns the name of this identity.
getName() - Method in interface com.jcraft.jsch.IdentityRepository
The name of the repository instance.
getName() - Method in class com.jcraft.jsch.IdentityRepository.Wrapper
 
getName() - Method in interface com.jcraft.jsch.MAC
The name of the algorithm, as defined in RFC 4253.
getOffSet() - Method in class com.jcraft.jsch.Buffer
returns the current offset.
getOutputStream() - Method in class com.jcraft.jsch.Channel
Gets an OutputStream for this channel.
getOutputStream() - Method in interface com.jcraft.jsch.Proxy
Returns an OutputStream to write data to the remote server.
getOutputStream() - Method in class com.jcraft.jsch.ProxyHTTP
 
getOutputStream() - Method in class com.jcraft.jsch.ProxySOCKS4
 
getOutputStream() - Method in class com.jcraft.jsch.ProxySOCKS5
 
getOutputStream(Socket) - Method in interface com.jcraft.jsch.SocketFactory
Creates an OutputStream for a Socket.
getP() - Method in interface com.jcraft.jsch.KeyPairGenDSA
The modulus p, a prime.
getP() - Method in interface com.jcraft.jsch.KeyPairGenRSA
The prime p.
getPassphrase() - Method in interface com.jcraft.jsch.UserInfo
Returns the passphrase entered by the user.
getPassword() - Method in interface com.jcraft.jsch.UserInfo
Returns the password entered by the user.
getPermissions() - Method in class com.jcraft.jsch.SftpATTRS
Returns the Unix permissions of the file.
getPermissionsString() - Method in class com.jcraft.jsch.SftpATTRS
Returns a string representation of the permissions in the format used by ls -l.
getPort() - Method in interface com.jcraft.jsch.ConfigRepository.Config
The port number to use for connecting.
getPort() - Method in class com.jcraft.jsch.Session
returns the port at the remote host we will connect (or already connected) to.
getPortForwardingL() - Method in class com.jcraft.jsch.Session
returns a snapshot of the current local port forwarding configurations.
getPortForwardingR() - Method in class com.jcraft.jsch.Session
Lists the registered remote port forwarding.
getPublicKeyBlob() - Method in interface com.jcraft.jsch.Identity
Returns the public key data.
getPublicKeyBlob() - Method in class com.jcraft.jsch.KeyPair
Returns the blob of the public key.
getPublicKeyBlob() - Method in class com.jcraft.jsch.KeyPairDSA
 
getPublicKeyBlob() - Method in class com.jcraft.jsch.KeyPairECDSA
 
getPublicKeyBlob() - Method in class com.jcraft.jsch.KeyPairPKCS8
 
getPublicKeyBlob() - Method in class com.jcraft.jsch.KeyPairRSA
 
getPublicKeyComment() - Method in class com.jcraft.jsch.KeyPair
 
getQ() - Method in interface com.jcraft.jsch.ECDH
Retrieves the public key (i.e. an elliptic curve point) to be sent to the remote side.
getQ() - Method in interface com.jcraft.jsch.KeyPairGenDSA
The order q of the subgroup of (Z/pZ)^* generated by g, also prime.
getQ() - Method in interface com.jcraft.jsch.KeyPairGenRSA
The prime q.
getR() - Method in interface com.jcraft.jsch.KeyPairGenECDSA
 
getRemotePort() - Method in class com.jcraft.jsch.ChannelForwardedTCPIP
retrieves the local port at the remote side where this TCP connection came in.
getS() - Method in interface com.jcraft.jsch.KeyPairGenECDSA
 
getSecret(byte[], byte[]) - Method in interface com.jcraft.jsch.ECDH
calculates and returns the shared secret for this key exchange.
getServerAliveCountMax() - Method in class com.jcraft.jsch.Session
Returns setting for the threshold to send keep-alive messages.
getServerAliveInterval() - Method in class com.jcraft.jsch.Session
Returns setting for the interval to send a keep-alive message.
getServerVersion() - Method in class com.jcraft.jsch.ChannelSftp
returns the server's protocol version number.
getServerVersion() - Method in class com.jcraft.jsch.Session
returns the version string sent by the server.
getSession() - Method in class com.jcraft.jsch.Channel
Retrieves the session to which this channel belongs.
getSession(String) - Method in class com.jcraft.jsch.JSch
Instantiates the Session object with host.
getSession(String, String) - Method in class com.jcraft.jsch.JSch
Instantiates the Session object with username and host.
getSession(String, String, int) - Method in class com.jcraft.jsch.JSch
Instantiates the Session object with given username, host and port.
getSignature(byte[]) - Method in interface com.jcraft.jsch.Identity
Signs some data with our private key and signature algorithm.
getSignature(byte[]) - Method in class com.jcraft.jsch.KeyPair
 
getSignature(byte[]) - Method in class com.jcraft.jsch.KeyPairDSA
 
getSignature(byte[]) - Method in class com.jcraft.jsch.KeyPairECDSA
 
getSignature(byte[]) - Method in class com.jcraft.jsch.KeyPairPKCS8
 
getSignature(byte[]) - Method in class com.jcraft.jsch.KeyPairRSA
 
getSize() - Method in class com.jcraft.jsch.SftpATTRS
Returns the size of the file, in bytes.
getSize() - Method in class com.jcraft.jsch.SftpStatVFS
 
getSocket() - Method in interface com.jcraft.jsch.Proxy
Returns the socket used for the connection.
getSocket() - Method in class com.jcraft.jsch.ProxyHTTP
 
getSocket() - Method in class com.jcraft.jsch.ProxySOCKS4
 
getSocket() - Method in class com.jcraft.jsch.ProxySOCKS5
 
getState() - Method in class com.jcraft.jsch.DHECN
 
getState() - Method in class com.jcraft.jsch.DHG1
 
getState() - Method in class com.jcraft.jsch.DHG14
 
getState() - Method in class com.jcraft.jsch.DHGEX
 
getState() - Method in class com.jcraft.jsch.KeyExchange
returns the identifier of the next SSH packet expected, or KeyExchange.STATE_END if the KeyExchange was already successfully finished.
getStatus() - Method in interface com.jcraft.jsch.IdentityRepository
The status of the repository instance.
getStatus() - Method in class com.jcraft.jsch.IdentityRepository.Wrapper
 
getStreamForwarder(String, int) - Method in class com.jcraft.jsch.Session
Instantiates an instance of stream-forwarder to host:port.
getString() - Method in class com.jcraft.jsch.Buffer
reads a string.
getTimeout() - Method in class com.jcraft.jsch.Session
retrieves the current timeout setting.
getType() - Method in class com.jcraft.jsch.HostKey
returns the type of the key.
getUId() - Method in class com.jcraft.jsch.SftpATTRS
returns the numerical user identifier of the owning user.
getUInt() - Method in class com.jcraft.jsch.Buffer
reads an unsigned 32-bit number from the buffer.
getUsed() - Method in class com.jcraft.jsch.SftpStatVFS
 
getUser() - Method in interface com.jcraft.jsch.ConfigRepository.Config
The user name to use for connecting.
getUserInfo() - Method in class com.jcraft.jsch.Session
returns the current value of the UserInfo object.
getUserName() - Method in class com.jcraft.jsch.Session
returns the user name used for login (and set when creating the session).
getValue(String) - Method in interface com.jcraft.jsch.ConfigRepository.Config
A configuration value for a named key, as a string.
getValues(String) - Method in interface com.jcraft.jsch.ConfigRepository.Config
A list of configuration values for a named key, as an array of strings.
getVerifier() - Method in class com.jcraft.jsch.KeyPair
 
getVerifier() - Method in class com.jcraft.jsch.KeyPairDSA
 
getVerifier() - Method in class com.jcraft.jsch.KeyPairECDSA
 
getVerifier() - Method in class com.jcraft.jsch.KeyPairPKCS8
 
getVerifier() - Method in class com.jcraft.jsch.KeyPairRSA
 
getX() - Method in interface com.jcraft.jsch.KeyPairGenDSA
The secret key x.
getY() - Method in interface com.jcraft.jsch.KeyPairGenDSA
The public key y = g^x mod p.
GSSContext - Interface in com.jcraft.jsch
Usually not to be used by applications.
GUESS - Static variable in class com.jcraft.jsch.HostKey
Type constant for "try to guess the type".
guess(byte[], byte[]) - Static method in class com.jcraft.jsch.KeyExchange
 

H

H - Variable in class com.jcraft.jsch.KeyExchange
 
hardlink(String, String) - Method in class com.jcraft.jsch.ChannelSftp
 
hash - Variable in class com.jcraft.jsch.DHGEX
 
HASH - Interface in com.jcraft.jsch
Usually not to be used by applications.
host - Variable in class com.jcraft.jsch.HostKey
the host list
HostKey - Class in com.jcraft.jsch
The public key of a SSH server.
HostKey(String, byte[]) - Constructor for class com.jcraft.jsch.HostKey
creates a host key by guessing it's type from the data.
HostKey(String, int, byte[]) - Constructor for class com.jcraft.jsch.HostKey
creates a host key with given type.
HostKey(String, int, byte[], String) - Constructor for class com.jcraft.jsch.HostKey
 
HostKey(String, String, int, byte[], String) - Constructor for class com.jcraft.jsch.HostKey
 
HostKeyRepository - Interface in com.jcraft.jsch
A repository for known host keys.

I

id - Variable in exception com.jcraft.jsch.SftpException
The status code which caused the exception to be thrown.
Identity - Interface in com.jcraft.jsch
A user identity for public-key authentication.
IdentityRepository - Interface in com.jcraft.jsch
A repository for identities (basically key pairs usable for authentication to a server).
IdentityRepository.Wrapper - Class in com.jcraft.jsch
JSch will accept ciphered keys, but some implementations of IdentityRepository can not.
INFLATER - Static variable in interface com.jcraft.jsch.Compression
Constant for inflating (decompressing) mode.
INFO - Static variable in interface com.jcraft.jsch.Logger
Log level constant: The second lowest level, information.
init(int, byte[], byte[]) - Method in interface com.jcraft.jsch.Cipher
Initializes the Cipher object for a new encryption or decryption operation.
init(int, byte[], byte[]) - Method in class com.jcraft.jsch.CipherNone
 
init(int, int) - Method in interface com.jcraft.jsch.Compression
Initializes the compression engine.
init() - Method in interface com.jcraft.jsch.DH
initializes the algorithm object for a new exchange.
init(Session, byte[], byte[], byte[], byte[]) - Method in class com.jcraft.jsch.DHECN
 
init(Session, byte[], byte[], byte[], byte[]) - Method in class com.jcraft.jsch.DHG1
 
init(Session, byte[], byte[], byte[], byte[]) - Method in class com.jcraft.jsch.DHG14
 
init(Session, byte[], byte[], byte[], byte[]) - Method in class com.jcraft.jsch.DHGEX
 
init(int) - Method in interface com.jcraft.jsch.ECDH
Initializes this instance for key pairs of a specific size.
init(byte[], int, int) - Method in interface com.jcraft.jsch.GSSContext
Tries to establish the secure context by processing a token from the server and (maybe) creating a new token to send to the server.
init() - Method in interface com.jcraft.jsch.HASH
initializes the algorithm for new input data.
init(Session, byte[], byte[], byte[], byte[]) - Method in class com.jcraft.jsch.KeyExchange
Initializes the key exchange object.
init(int) - Method in interface com.jcraft.jsch.KeyPairGenDSA
Generates a key pair.
init(int) - Method in interface com.jcraft.jsch.KeyPairGenECDSA
 
init(int) - Method in interface com.jcraft.jsch.KeyPairGenRSA
Generates a new key pair.
init(byte[]) - Method in interface com.jcraft.jsch.MAC
Initializes the MAC, providing the key.
init(int, String, String, long) - Method in interface com.jcraft.jsch.SftpProgressMonitor
Will be called when a new operation starts.
init() - Method in interface com.jcraft.jsch.Signature
Initializes the signature object.
IO - Class in com.jcraft.jsch
Usually not to be used by applications.
IO() - Constructor for class com.jcraft.jsch.IO
 
isBlk() - Method in class com.jcraft.jsch.SftpATTRS
 
isCBC() - Method in interface com.jcraft.jsch.Cipher
Checks whether this cipher is in Cipher Block Chaining mode.
isCBC() - Method in class com.jcraft.jsch.CipherNone
 
isChr() - Method in class com.jcraft.jsch.SftpATTRS
 
isClosed() - Method in class com.jcraft.jsch.Channel
returns true if this channel is already closed (or another thread is in progress of closing the channel).
isConnected() - Method in class com.jcraft.jsch.Channel
returns true if this channel is currently connected (which also means that the session is still connected).
isConnected() - Method in class com.jcraft.jsch.Session
retrieves the current connection status.
isDir() - Method in class com.jcraft.jsch.SftpATTRS
checks whether this file is a directory.
isEnabled(int) - Method in interface com.jcraft.jsch.Logger
Checks if logging of some level is actually enabled.
isEncrypted() - Method in interface com.jcraft.jsch.Identity
Checks whether the private key is encrypted.
isEncrypted() - Method in class com.jcraft.jsch.KeyPair
checks whether the private key currently is encrypted.
isEOF() - Method in class com.jcraft.jsch.Channel
Checks if we have already read all the data, i.e. whether the remote side sent an end-of-file notification for this channel.
isEstablished() - Method in interface com.jcraft.jsch.GSSContext
Checks is the context establishing already succeeded.
isFifo() - Method in class com.jcraft.jsch.SftpATTRS
 
isLink() - Method in class com.jcraft.jsch.SftpATTRS
checks whether this file is a symbolic link.
isReg() - Method in class com.jcraft.jsch.SftpATTRS
 
isSock() - Method in class com.jcraft.jsch.SftpATTRS
 

J

JSch - Class in com.jcraft.jsch
This class serves as a central configuration point, and as a factory for Session objects configured with these settings.
JSch() - Constructor for class com.jcraft.jsch.JSch
Creates a new JSch object.
JSchException - Exception in com.jcraft.jsch
Will be thrown if anything goes wrong with the SSH protocol.
JSchException() - Constructor for exception com.jcraft.jsch.JSchException
Creates a JSchException without message.
JSchException(String) - Constructor for exception com.jcraft.jsch.JSchException
Creates a JSchException with message.
JSchException(String, Throwable) - Constructor for exception com.jcraft.jsch.JSchException
Creates a JSchException with message and cause

K

K - Variable in class com.jcraft.jsch.KeyExchange
 
K_S - Variable in class com.jcraft.jsch.KeyExchange
 
key - Variable in class com.jcraft.jsch.HostKey
the key data
key_size - Variable in class com.jcraft.jsch.DHECN
 
KeyExchange - Class in com.jcraft.jsch
Usually not to be used by applications.
KeyExchange() - Constructor for class com.jcraft.jsch.KeyExchange
 
KeyPair - Class in com.jcraft.jsch
Base class for a pair of public and private key.
KeyPair(JSch) - Constructor for class com.jcraft.jsch.KeyPair
Creates a new KeyPair.
KeyPairDSA - Class in com.jcraft.jsch
Usually not to be used by applications.
KeyPairDSA(JSch) - Constructor for class com.jcraft.jsch.KeyPairDSA
 
KeyPairDSA(JSch, byte[], byte[], byte[], byte[], byte[]) - Constructor for class com.jcraft.jsch.KeyPairDSA
 
KeyPairECDSA - Class in com.jcraft.jsch
Usually not to be used by applications.
KeyPairECDSA(JSch) - Constructor for class com.jcraft.jsch.KeyPairECDSA
 
KeyPairECDSA(JSch, byte[], byte[], byte[], byte[]) - Constructor for class com.jcraft.jsch.KeyPairECDSA
 
KeyPairGenDSA - Interface in com.jcraft.jsch
Usually not to be used by applications.
KeyPairGenECDSA - Interface in com.jcraft.jsch
Usually not to be used by applications.
KeyPairGenRSA - Interface in com.jcraft.jsch
Usually not to be used by applications.
KeyPairPKCS8 - Class in com.jcraft.jsch
Usually not to be used by an application.
KeyPairPKCS8(JSch) - Constructor for class com.jcraft.jsch.KeyPairPKCS8
 
KeyPairRSA - Class in com.jcraft.jsch
Usually not to be used by applications.
KeyPairRSA(JSch) - Constructor for class com.jcraft.jsch.KeyPairRSA
 
KeyPairRSA(JSch, byte[], byte[], byte[]) - Constructor for class com.jcraft.jsch.KeyPairRSA
 
KnownHosts - Class in com.jcraft.jsch
Usually not to be used by applications.

L

lcd(String) - Method in class com.jcraft.jsch.ChannelSftp
load(JSch, String) - Static method in class com.jcraft.jsch.KeyPair
Loads a key pair from a pair of files.
load(JSch, String, String) - Static method in class com.jcraft.jsch.KeyPair
Loads a key pair from a pair of files.
load(JSch, byte[], byte[]) - Static method in class com.jcraft.jsch.KeyPair
 
log(int, String) - Method in interface com.jcraft.jsch.Logger
Logs some message.
Logger - Interface in com.jcraft.jsch
Provides logging abilities to the library.
lpwd() - Method in class com.jcraft.jsch.ChannelSftp
returns the current local directory in absolute form.
ls(String) - Method in class com.jcraft.jsch.ChannelSftp
lists the contents of a remote directory.
ls(String, ChannelSftp.LsEntrySelector) - Method in class com.jcraft.jsch.ChannelSftp
List files specified by the remote path.
lstat(String) - Method in class com.jcraft.jsch.ChannelSftp
Retrieves the file attributes of a file or directory.

M

MAC - Interface in com.jcraft.jsch
Usually not to be used by applications.
marker - Variable in class com.jcraft.jsch.HostKey
 
mkdir(String) - Method in class com.jcraft.jsch.ChannelSftp
creates a new remote directory.

N

name2type(String) - Static method in class com.jcraft.jsch.HostKey
 
next(Buffer) - Method in class com.jcraft.jsch.DHECN
 
next(Buffer) - Method in class com.jcraft.jsch.DHG1
 
next(Buffer) - Method in class com.jcraft.jsch.DHG14
 
next(Buffer) - Method in class com.jcraft.jsch.DHGEX
 
next(Buffer) - Method in class com.jcraft.jsch.KeyExchange
Does the next step in the key exchange algorithm.
noMoreSessionChannels() - Method in class com.jcraft.jsch.Session
 
normalize(byte[]) - Method in class com.jcraft.jsch.KeyExchange
 
NOT_INCLUDED - Static variable in interface com.jcraft.jsch.HostKeyRepository
Constant for the result of HostKeyRepository.check(java.lang.String, byte[]): The host does not exist yet in the list.
NOTRUNNING - Static variable in interface com.jcraft.jsch.IdentityRepository
 
nullConfig - Static variable in interface com.jcraft.jsch.ConfigRepository
A dummy ConfigRepository, where each host has an empty configuration.

O

OK - Static variable in interface com.jcraft.jsch.HostKeyRepository
Constant for the result of HostKeyRepository.check(java.lang.String, byte[]): The host has the given key.
openChannel(String) - Method in class com.jcraft.jsch.Session
Opens a new channel of some type over this connection.
OpenSSHConfig - Class in com.jcraft.jsch
This class implements ConfigRepository interface, and parses OpenSSH's configuration file.
OVERWRITE - Static variable in class com.jcraft.jsch.ChannelSftp
file transfer mode: overwrite the existing file, if any.

P

Packet - Class in com.jcraft.jsch
Usually not to be used by applications.
Packet(Buffer) - Constructor for class com.jcraft.jsch.Packet
creates a new Packet, based on a buffer.
packet - Variable in class com.jcraft.jsch.UserAuth
 
parse(String) - Static method in class com.jcraft.jsch.OpenSSHConfig
Parses the given string, and returns an instance of ConfigRepository.
parseFile(String) - Static method in class com.jcraft.jsch.OpenSSHConfig
Parses the given file, and returns an instance of ConfigRepository.
PBKDF - Interface in com.jcraft.jsch
The PBKDF2 algorithm for password-based key derivation.
promptKeyboardInteractive(String, String, String, String[], boolean[]) - Method in interface com.jcraft.jsch.UIKeyboardInteractive
Retrieves answers from the user to a number of questions.
promptPassphrase(String) - Method in interface com.jcraft.jsch.UserInfo
Prompts the user for a passphrase for a public key.
promptPassword(String) - Method in interface com.jcraft.jsch.UserInfo
Prompts the user for a password used for authentication for the remote server.
promptYesNo(String) - Method in interface com.jcraft.jsch.UserInfo
Prompts the user to answer a yes-no-question.
Proxy - Interface in com.jcraft.jsch
Allows routing connections through some proxy.
ProxyHTTP - Class in com.jcraft.jsch
A Proxy implementation using a HTTP proxy.
ProxyHTTP(String) - Constructor for class com.jcraft.jsch.ProxyHTTP
Creates a new ProxyHTTP object.
ProxyHTTP(String, int) - Constructor for class com.jcraft.jsch.ProxyHTTP
Creates a new ProxyHTTP object.
ProxySOCKS4 - Class in com.jcraft.jsch
A Proxy implementation using a SOCKS V5 proxy.
ProxySOCKS4(String) - Constructor for class com.jcraft.jsch.ProxySOCKS4
Creates a new ProxySOCKS5 object.
ProxySOCKS4(String, int) - Constructor for class com.jcraft.jsch.ProxySOCKS4
Creates a new ProxyHTTP object.
ProxySOCKS5 - Class in com.jcraft.jsch
A Proxy implementation using a SOCKS V5 proxy.
ProxySOCKS5(String) - Constructor for class com.jcraft.jsch.ProxySOCKS5
Creates a new ProxySOCKS5 object.
ProxySOCKS5(String, int) - Constructor for class com.jcraft.jsch.ProxySOCKS5
Creates a new ProxyHTTP object.
publicKeyComment - Variable in class com.jcraft.jsch.KeyPair
 
put(String, String) - Method in class com.jcraft.jsch.ChannelSftp
Uploads a file.
put(String, String, int) - Method in class com.jcraft.jsch.ChannelSftp
Uploads a file.
put(String, String, SftpProgressMonitor) - Method in class com.jcraft.jsch.ChannelSftp
Uploads a file.
put(String, String, SftpProgressMonitor, int) - Method in class com.jcraft.jsch.ChannelSftp
Uploads a file.
put(InputStream, String) - Method in class com.jcraft.jsch.ChannelSftp
Uploads a file from an input stream.
put(InputStream, String, int) - Method in class com.jcraft.jsch.ChannelSftp
Uploads a file from an input stream.
put(InputStream, String, SftpProgressMonitor) - Method in class com.jcraft.jsch.ChannelSftp
Uploads a file from an input stream.
put(InputStream, String, SftpProgressMonitor, int) - Method in class com.jcraft.jsch.ChannelSftp
Uploads a file from an input stream.
put(String) - Method in class com.jcraft.jsch.ChannelSftp
Starts an upload by OutputStream.
put(String, int) - Method in class com.jcraft.jsch.ChannelSftp
Starts an upload by OutputStream.
put(String, SftpProgressMonitor, int) - Method in class com.jcraft.jsch.ChannelSftp
Starts an upload by OutputStream.
put(String, SftpProgressMonitor, int, long) - Method in class com.jcraft.jsch.ChannelSftp
Starts an upload by OutputStream.
put(Packet) - Method in class com.jcraft.jsch.IO
 
PUT - Static variable in interface com.jcraft.jsch.SftpProgressMonitor
Direction constant for upload.
putByte(byte) - Method in class com.jcraft.jsch.Buffer
puts one byte into the buffer.
putByte(byte[]) - Method in class com.jcraft.jsch.Buffer
puts all bytes in the given byte array in the buffer.
putByte(byte[], int, int) - Method in class com.jcraft.jsch.Buffer
puts a subsequence of the given byte array in the buffer.
putInt(int) - Method in class com.jcraft.jsch.Buffer
Puts a 32-bit number as 4 bytes into the buffer.
putLong(long) - Method in class com.jcraft.jsch.Buffer
Puts a 64-bit number as 8 bytes into the buffer.
putMPInt(byte[]) - Method in class com.jcraft.jsch.Buffer
Puts a byte[] as an unsigned multiple precision integer (mpint).
putString(byte[]) - Method in class com.jcraft.jsch.Buffer
puts a byte sequence formatted as a SSH string into the buffer.
putString(byte[], int, int) - Method in class com.jcraft.jsch.Buffer
puts a byte sequence formatted as a SSH string into the buffer.
pwd() - Method in class com.jcraft.jsch.ChannelSftp
returns the current remote directory in absolute form.

Q

quit() - Method in class com.jcraft.jsch.ChannelSftp
Quits the Channel.

R

Random - Interface in com.jcraft.jsch
A random number generator.
read(Buffer) - Method in class com.jcraft.jsch.Session
reads some bytes - not to be used from outside.
readlink(String) - Method in class com.jcraft.jsch.ChannelSftp
reads a symbolic link.
realpath(String) - Method in class com.jcraft.jsch.ChannelSftp
converts a remote path to its absolute (and to a certain degree canonical) version.
rekey() - Method in class com.jcraft.jsch.Session
initiates a new key exchange.
remove(String, String) - Method in interface com.jcraft.jsch.HostKeyRepository
Removes a host key if there exists mached key with host, type.
remove(String, String, byte[]) - Method in interface com.jcraft.jsch.HostKeyRepository
removes a specific key of a host from the repository.
remove(byte[]) - Method in interface com.jcraft.jsch.IdentityRepository
Removes an identy from the repository, given the public key.
remove(byte[]) - Method in class com.jcraft.jsch.IdentityRepository.Wrapper
 
remove(String, String) - Method in class com.jcraft.jsch.KnownHosts
 
remove(String, String, byte[]) - Method in class com.jcraft.jsch.KnownHosts
 
removeAll() - Method in interface com.jcraft.jsch.IdentityRepository
Removes all identities from this repository.
removeAll() - Method in class com.jcraft.jsch.IdentityRepository.Wrapper
 
removeAllIdentity() - Method in class com.jcraft.jsch.JSch
Removes all identities.
removeIdentity(String) - Method in class com.jcraft.jsch.JSch
Deprecated.
use #removeIdentity(Identity identity)
removeIdentity(Identity) - Method in class com.jcraft.jsch.JSch
Removes the identity from identityRepository.
removeSession(Session) - Method in class com.jcraft.jsch.JSch
Removes a session from our session pool.
rename(String, String) - Method in class com.jcraft.jsch.ChannelSftp
Renames a file or directory.
request(Session, Channel) - Method in class com.jcraft.jsch.RequestSftp
 
request(Session, Channel, String, boolean) - Method in class com.jcraft.jsch.RequestSubsystem
 
request(Session, Channel) - Method in class com.jcraft.jsch.RequestSubsystem
 
RequestSftp - Class in com.jcraft.jsch
Usually not to be used by applications.
RequestSubsystem - Class in com.jcraft.jsch
Usually not to be used by applications.
RequestSubsystem() - Constructor for class com.jcraft.jsch.RequestSubsystem
 
reset() - Method in class com.jcraft.jsch.Buffer
resets index and offset.
reset() - Method in class com.jcraft.jsch.Packet
resets the buffer's index to point to the start of the payload.
RESUME - Static variable in class com.jcraft.jsch.ChannelSftp
file transfer mode: resume an interrupted upload/download.
rm(String) - Method in class com.jcraft.jsch.ChannelSftp
removes one or several files.
rmdir(String) - Method in class com.jcraft.jsch.ChannelSftp
Removes one or several remote directories.
RSA - Variable in class com.jcraft.jsch.KeyExchange
 
RSA - Static variable in class com.jcraft.jsch.KeyPair
Key type constant: RSA.
run() - Method in class com.jcraft.jsch.Channel
not to be called externally.
run() - Method in class com.jcraft.jsch.ChannelDirectTCPIP
Not for external use - the channel transfer loop.
run() - Method in class com.jcraft.jsch.ChannelForwardedTCPIP
Not for external use - the channel transfer loop.
run() - Method in interface com.jcraft.jsch.ForwardedTCPIPDaemon
Does the actual connection handling.
run() - Method in class com.jcraft.jsch.Session
Not to be called from outside.
RUNNING - Static variable in interface com.jcraft.jsch.IdentityRepository
 

S

select(ChannelSftp.LsEntry) - Method in interface com.jcraft.jsch.ChannelSftp.LsEntrySelector
The select method will be invoked in ls method for each file entry.
sendChannelOpen() - Method in class com.jcraft.jsch.Channel
 
sendIgnore() - Method in class com.jcraft.jsch.Session
sends an ignored package.
sendKeepAliveMsg() - Method in class com.jcraft.jsch.Session
Sends a keep-alive message.
sendOpenConfirmation() - Method in class com.jcraft.jsch.Channel
sends a message confirming the opening of the channel.
sendOpenFailure(int) - Method in class com.jcraft.jsch.Channel
sends a message indicating the failure of a channel-opening to the remote side.
sendSignal(String) - Method in class com.jcraft.jsch.Channel
sends a signal to the process at the other side.
ServerSocketFactory - Interface in com.jcraft.jsch
A factory for ServerSockets.
session - Variable in class com.jcraft.jsch.KeyExchange
 
Session - Class in com.jcraft.jsch
A Session represents a connection to a SSH server.
setACMODTIME(int, int) - Method in class com.jcraft.jsch.SftpATTRS
Sets access and modification time.
setArg(Object[]) - Method in interface com.jcraft.jsch.ForwardedTCPIPDaemon
Sets additional arguments given when the forwarding was created.
setBulkRequests(int) - Method in class com.jcraft.jsch.ChannelSftp
Specify how many requests may be sent at any one time.
setChannel(ChannelForwardedTCPIP, InputStream, OutputStream) - Method in interface com.jcraft.jsch.ForwardedTCPIPDaemon
Sets the streams to be used for communication.
setClientVersion(String) - Method in class com.jcraft.jsch.Session
changes the version string to be sent to the server.
setCommand(String) - Method in class com.jcraft.jsch.ChannelExec
sets the command to be executed.
setCommand(byte[]) - Method in class com.jcraft.jsch.ChannelExec
sets the command to be executed.
setConfig(Hashtable) - Static method in class com.jcraft.jsch.JSch
Sets multiple default configuration options at once.
setConfig(String, String) - Static method in class com.jcraft.jsch.JSch
Sets a default configuration option.
setConfig(Properties) - Method in class com.jcraft.jsch.Session
sets several configuration options at once.
setConfig(Hashtable) - Method in class com.jcraft.jsch.Session
sets several configuration options at once.
setConfig(String, String) - Method in class com.jcraft.jsch.Session
sets a single configuration option for this session.
setConfigRepository(ConfigRepository) - Method in class com.jcraft.jsch.JSch
 
setDaemonThread(boolean) - Method in class com.jcraft.jsch.Session
Sets the deamon thread property.
setErrStream(OutputStream) - Method in class com.jcraft.jsch.ChannelExec
Sets the error stream.
setErrStream(OutputStream, boolean) - Method in class com.jcraft.jsch.ChannelExec
Sets the error stream.
setErrStream(OutputStream) - Method in class com.jcraft.jsch.ChannelSubsystem
Sets the error stream.
setExtOutputStream(OutputStream) - Method in class com.jcraft.jsch.Channel
Sets the OutputStream for extended data for this channel.
setExtOutputStream(OutputStream, boolean) - Method in class com.jcraft.jsch.Channel
Sets the OutputStream for extended data for this channel.
setF(byte[]) - Method in interface com.jcraft.jsch.DH
Sets the value of f, that is the result of g^y mod P
setFilenameEncoding(String) - Method in class com.jcraft.jsch.ChannelSftp
Sets the encoding used to convert file names from Strings to bytes.
setG(byte[]) - Method in interface com.jcraft.jsch.DH
Sets the generator of the group.
setHost(String) - Method in class com.jcraft.jsch.ChannelDirectTCPIP
Sets the remote host name (or IP address) to connect to (which should be valid at the remote side).
setHost(String) - Method in class com.jcraft.jsch.Session
Sets the host to connect to.
setHostKeyAlias(String) - Method in class com.jcraft.jsch.Session
sets the host key alias used when comparing the host key to the known hosts list.
setHostKeyRepository(HostKeyRepository) - Method in class com.jcraft.jsch.JSch
Sets the Host key repository.
setHostKeyRepository(HostKeyRepository) - Method in class com.jcraft.jsch.Session
Sets the hostkeyRepository, which will be referred in checking host keys.
setIdentityRepository(IdentityRepository) - Method in class com.jcraft.jsch.JSch
Sets the identityRepository, which will be referred in the public key authentication.
setIdentityRepository(IdentityRepository) - Method in class com.jcraft.jsch.Session
Sets the identityRepository, which will be referred in the public key authentication.
setInputStream(InputStream) - Method in class com.jcraft.jsch.Channel
Sets the InputStream for this channel.
setInputStream(InputStream, boolean) - Method in class com.jcraft.jsch.Channel
Sets the InputStream for this channel.
setInputStream(InputStream) - Method in class com.jcraft.jsch.ChannelDirectTCPIP
Sets the InputStream to be forwarded.
setInputStream(InputStream) - Method in class com.jcraft.jsch.Session
(I have no idea what this is for.
setKnownHosts(String) - Method in class com.jcraft.jsch.JSch
Creates a host key repository from a file name.
setKnownHosts(InputStream) - Method in class com.jcraft.jsch.JSch
Creates a Host key repository from an InputStream.
setLogger(Logger) - Static method in class com.jcraft.jsch.JSch
sets the Logger to be used by this library.
setMtime(String, int) - Method in class com.jcraft.jsch.ChannelSftp
sets the modification time of one or several remote files.
setOffSet(int) - Method in class com.jcraft.jsch.Buffer
changes the current offset.
setOrgIPAddress(String) - Method in class com.jcraft.jsch.ChannelDirectTCPIP
Sets the local originator IP address we pretend the connection came from.
setOrgPort(int) - Method in class com.jcraft.jsch.ChannelDirectTCPIP
Sets the local originator port number we pretend the connection came from.
setOutputStream(OutputStream) - Method in class com.jcraft.jsch.Channel
Sets the OutputStream for this channel.
setOutputStream(OutputStream, boolean) - Method in class com.jcraft.jsch.Channel
Sets the OutputStream for this channel.
setOutputStream(OutputStream) - Method in class com.jcraft.jsch.ChannelDirectTCPIP
Sets the OutputStream to be forwarded.
setOutputStream(OutputStream) - Method in class com.jcraft.jsch.Session
(I have no idea what this is for.
setP(byte[]) - Method in interface com.jcraft.jsch.DH
Sets the prime number, modulo which the calculations should be done.
setPassphrase(byte[]) - Method in interface com.jcraft.jsch.Identity
Provides a passphrase to decrypt the private key.
setPassphrase(String) - Method in class com.jcraft.jsch.KeyPair
Deprecated.
use #writePrivateKey(java.io.OutputStream out, byte[] passphrase)
setPassphrase(byte[]) - Method in class com.jcraft.jsch.KeyPair
Deprecated.
use #writePrivateKey(String name, byte[] passphrase)
setPassword(String) - Method in class com.jcraft.jsch.Session
sets the password to use for authentication.
setPassword(byte[]) - Method in class com.jcraft.jsch.Session
sets the password to use for authentication.
setPERMISSIONS(int) - Method in class com.jcraft.jsch.SftpATTRS
sets the file permissions.
setPort(int) - Method in class com.jcraft.jsch.ChannelDirectTCPIP
Sets the remote port number to connect to.
setPort(int) - Method in class com.jcraft.jsch.Session
Sets the port on the server to connect to.
setPortForwardingL(int, String, int) - Method in class com.jcraft.jsch.Session
Registers the local port forwarding for loop-back interface.
setPortForwardingL(String, int, String, int) - Method in class com.jcraft.jsch.Session
Registers the local port forwarding.
setPortForwardingL(String, int, String, int, ServerSocketFactory) - Method in class com.jcraft.jsch.Session
Registers the local port forwarding.
setPortForwardingL(String, int, String, int, ServerSocketFactory, int) - Method in class com.jcraft.jsch.Session
Registers the local port forwarding.
setPortForwardingL(String) - Method in class com.jcraft.jsch.Session
Registers the local port forwarding.
setPortForwardingR(int, String, int) - Method in class com.jcraft.jsch.Session
Registers the remote port forwarding for the loopback interface of the remote.
setPortForwardingR(String, int, String, int) - Method in class com.jcraft.jsch.Session
Registers the remote port forwarding.
setPortForwardingR(int, String, int, SocketFactory) - Method in class com.jcraft.jsch.Session
Registers the remote port forwarding for the loopback interface of the remote.
setPortForwardingR(String, int, String, int, SocketFactory) - Method in class com.jcraft.jsch.Session
Registers the remote port forwarding.
setPortForwardingR(int, String) - Method in class com.jcraft.jsch.Session
Registers the remote port forwarding for the loopback interface of the remote.
setPortForwardingR(int, String, Object[]) - Method in class com.jcraft.jsch.Session
Registers the remote port forwarding for the loopback interface of the remote.
setPortForwardingR(String, int, String, Object[]) - Method in class com.jcraft.jsch.Session
Registers the remote port forwarding.
setPortForwardingR(String) - Method in class com.jcraft.jsch.Session
Registers the remote port forwarding.
setProxy(Proxy) - Method in class com.jcraft.jsch.Session
Sets the proxy property.
setPrvKey(byte[], byte[], byte[], byte[]) - Method in interface com.jcraft.jsch.SignatureDSA
Sets the private key and prepares this signature object for signing.
setPrvKey(byte[]) - Method in interface com.jcraft.jsch.SignatureECDSA
Sets the private key to be used for signing.
setPrvKey(byte[], byte[]) - Method in interface com.jcraft.jsch.SignatureRSA
Sets the private key and prepares this signature object for signing.
setPty(boolean) - Method in class com.jcraft.jsch.ChannelSubsystem
 
setPubKey(byte[], byte[], byte[], byte[]) - Method in interface com.jcraft.jsch.SignatureDSA
Sets the public key and prepares this signature object for signature verifying.
setPubKey(byte[], byte[]) - Method in interface com.jcraft.jsch.SignatureECDSA
Sets the public key to be used for signature verification.
setPubKey(byte[], byte[]) - Method in interface com.jcraft.jsch.SignatureRSA
Sets the public key and prepares this signature object for signature verifying.
setPublicKeyComment(String) - Method in class com.jcraft.jsch.KeyPair
 
setServerAliveCountMax(int) - Method in class com.jcraft.jsch.Session
Sets the number of keep-alive messages which may be sent without receiving any messages back from the server.
setServerAliveInterval(int) - Method in class com.jcraft.jsch.Session
sets the server alive interval property.
setSIZE(long) - Method in class com.jcraft.jsch.SftpATTRS
sets the size.
setSocketFactory(SocketFactory) - Method in class com.jcraft.jsch.Session
sets the socket factory.
setStat(String, SftpATTRS) - Method in class com.jcraft.jsch.ChannelSftp
Changes attributes of a remote file or directory.
setSubsystem(String) - Method in class com.jcraft.jsch.ChannelSubsystem
Sets the name of the remote subsystem name.
setTimeout(int) - Method in class com.jcraft.jsch.Session
sets the timeout setting.
setUIDGID(int, int) - Method in class com.jcraft.jsch.SftpATTRS
Sets user and group Identifier.
setUserInfo(UserInfo) - Method in class com.jcraft.jsch.Session
Sets the userInfo property.
setUserPasswd(String, String) - Method in class com.jcraft.jsch.ProxyHTTP
Sets the user name and password needed for authentication to the proxy.
setUserPasswd(String, String) - Method in class com.jcraft.jsch.ProxySOCKS4
Sets the user name and password needed for authentication to the proxy.
setUserPasswd(String, String) - Method in class com.jcraft.jsch.ProxySOCKS5
Sets the user name and password needed for authentication to the proxy.
setWantReply(boolean) - Method in class com.jcraft.jsch.ChannelSubsystem
Indicates whether we want a confirmation/error reply to this request.
setX11Cookie(String) - Method in class com.jcraft.jsch.Session
sets the X11 cookie necessary to access the local X11 server.
setX11Host(String) - Method in class com.jcraft.jsch.Session
sets the host (on the local side) where the X11 server (whose display we want to forward) can be found.
setX11Port(int) - Method in class com.jcraft.jsch.Session
sets the port (on the local side) where the X11 server (whose display we want to forward) can be found.
setXForwarding(boolean) - Method in class com.jcraft.jsch.Channel
Enables or disables X forwarding for this channel.
setXForwarding(boolean) - Method in class com.jcraft.jsch.ChannelSubsystem
 
SftpATTRS - Class in com.jcraft.jsch
Attributes of a (remote) file manipulated via Sftp.
SftpException - Exception in com.jcraft.jsch
This exception will be thrown if anything goes wrong while using the SFTP protocol.
SftpException(int, String) - Constructor for exception com.jcraft.jsch.SftpException
Creates a new SftpException.
SftpException(int, String, Throwable) - Constructor for exception com.jcraft.jsch.SftpException
Creates a new SftpException.
SftpProgressMonitor - Interface in com.jcraft.jsch
A callback to get information about the progress of a file transfer operation.
SftpStatVFS - Class in com.jcraft.jsch
 
sha - Variable in class com.jcraft.jsch.KeyExchange
 
sha_name - Variable in class com.jcraft.jsch.DHECN
 
shift() - Method in class com.jcraft.jsch.Buffer
Shifts the contents between offset and index back to the start of the buffer, and then sets these two values accordingly.
showMessage(String) - Method in interface com.jcraft.jsch.UserInfo
Shows an informational message to the user.
sign() - Method in interface com.jcraft.jsch.Signature
Signs the data given so far to the Signature.update(byte[]) method.
Signature - Interface in com.jcraft.jsch
Usually not to be used by applications.
SignatureDSA - Interface in com.jcraft.jsch
Usually not to be used by applications.
SignatureECDSA - Interface in com.jcraft.jsch
Usually not to be used by applications.
SignatureRSA - Interface in com.jcraft.jsch
Usually not to be used by applications.
SocketFactory - Interface in com.jcraft.jsch
A factory for (client) sockets.
SSH_FILEXFER_ATTR_ACMODTIME - Static variable in class com.jcraft.jsch.SftpATTRS
Flag indicating the presence of the atime and mtime attributes.
SSH_FILEXFER_ATTR_EXTENDED - Static variable in class com.jcraft.jsch.SftpATTRS
Flag indicating the presence of extended attributes.
SSH_FILEXFER_ATTR_PERMISSIONS - Static variable in class com.jcraft.jsch.SftpATTRS
Flag indicating the presence of the permissions attribute.
SSH_FILEXFER_ATTR_SIZE - Static variable in class com.jcraft.jsch.SftpATTRS
Flag indicating the presence of the size attribute.
SSH_FILEXFER_ATTR_UIDGID - Static variable in class com.jcraft.jsch.SftpATTRS
Flag indicating the presence of the uid and gid attributes.
SSH_FX_BAD_MESSAGE - Static variable in class com.jcraft.jsch.ChannelSftp
 
SSH_FX_CONNECTION_LOST - Static variable in class com.jcraft.jsch.ChannelSftp
 
SSH_FX_EOF - Static variable in class com.jcraft.jsch.ChannelSftp
 
SSH_FX_FAILURE - Static variable in class com.jcraft.jsch.ChannelSftp
 
SSH_FX_NO_CONNECTION - Static variable in class com.jcraft.jsch.ChannelSftp
 
SSH_FX_NO_SUCH_FILE - Static variable in class com.jcraft.jsch.ChannelSftp
 
SSH_FX_OK - Static variable in class com.jcraft.jsch.ChannelSftp
 
SSH_FX_OP_UNSUPPORTED - Static variable in class com.jcraft.jsch.ChannelSftp
 
SSH_FX_PERMISSION_DENIED - Static variable in class com.jcraft.jsch.ChannelSftp
 
SSH_MSG_USERAUTH_BANNER - Static variable in class com.jcraft.jsch.UserAuth
 
SSH_MSG_USERAUTH_FAILURE - Static variable in class com.jcraft.jsch.UserAuth
 
SSH_MSG_USERAUTH_INFO_REQUEST - Static variable in class com.jcraft.jsch.UserAuth
 
SSH_MSG_USERAUTH_INFO_RESPONSE - Static variable in class com.jcraft.jsch.UserAuth
 
SSH_MSG_USERAUTH_PK_OK - Static variable in class com.jcraft.jsch.UserAuth
 
SSH_MSG_USERAUTH_REQUEST - Static variable in class com.jcraft.jsch.UserAuth
 
SSH_MSG_USERAUTH_SUCCESS - Static variable in class com.jcraft.jsch.UserAuth
 
SSHDSS - Static variable in class com.jcraft.jsch.HostKey
Type constant for a DSS key.
SSHRSA - Static variable in class com.jcraft.jsch.HostKey
Type constant for a DSA key.
start() - Method in class com.jcraft.jsch.Channel
Not to be called externally.
start() - Method in class com.jcraft.jsch.ChannelExec
 
start() - Method in class com.jcraft.jsch.ChannelSftp
 
start() - Method in class com.jcraft.jsch.ChannelShell
 
start() - Method in class com.jcraft.jsch.ChannelSubsystem
 
start(Session) - Method in class com.jcraft.jsch.UserAuth
Will be called by the Session to do the authentication.
start(Session) - Method in class com.jcraft.jsch.UserAuthGSSAPIWithMIC
Does the actual authentication, i.e. sends the necessary packets to the other side and receives some from there.
stat(String) - Method in class com.jcraft.jsch.ChannelSftp
Retrieves the file attributes of a file or directory.
STATE_END - Static variable in class com.jcraft.jsch.KeyExchange
constant used by KeyExchange.getState() when no more key exchange packet is expected.
statVFS(String) - Method in class com.jcraft.jsch.ChannelSftp
 
symlink(String, String) - Method in class com.jcraft.jsch.ChannelSftp
Creates a new symbolic link.
sync() - Method in class com.jcraft.jsch.KnownHosts
 
sync(String) - Method in class com.jcraft.jsch.KnownHosts
 

T

toString() - Method in class com.jcraft.jsch.ChannelSftp.LsEntry
toString simply returns the longname.
toString() - Method in class com.jcraft.jsch.SftpATTRS
creates a string representation of this object.
toString() - Method in exception com.jcraft.jsch.SftpException
returns a String representation of this exception.
type - Variable in class com.jcraft.jsch.Channel
 
type - Variable in class com.jcraft.jsch.HostKey
the type of this key.

U

UIKeyboardInteractive - Interface in com.jcraft.jsch
Provides a way to prompt the user for keyboard-interactive authentication.
UNAVAILABLE - Static variable in interface com.jcraft.jsch.IdentityRepository
 
uncompress(byte[], int, int[]) - Method in interface com.jcraft.jsch.Compression
Uncompresses a chunk of data.
UNKNOWN - Static variable in class com.jcraft.jsch.KeyPair
Key type constant: unknown key type.
UNKNOWN_SIZE - Static variable in interface com.jcraft.jsch.SftpProgressMonitor
 
update(byte[], int, int, byte[], int) - Method in interface com.jcraft.jsch.Cipher
Encrypts or decrypts some more data.
update(byte[], int, int, byte[], int) - Method in class com.jcraft.jsch.CipherNone
 
update(byte[], int, int) - Method in interface com.jcraft.jsch.HASH
Updates the algorithm with new data.
update(byte[], int, int) - Method in interface com.jcraft.jsch.MAC
Updates the MAC with some data.
update(int) - Method in interface com.jcraft.jsch.MAC
Updates the MAC with 4 bytes of data.
update(byte[]) - Method in interface com.jcraft.jsch.Signature
adds some more data to be signed/verified.
UserAuth - Class in com.jcraft.jsch
Usually not to be used by applications.
UserAuth() - Constructor for class com.jcraft.jsch.UserAuth
 
UserAuthGSSAPIWithMIC - Class in com.jcraft.jsch
Usually not to be used by applications.
UserAuthGSSAPIWithMIC() - Constructor for class com.jcraft.jsch.UserAuthGSSAPIWithMIC
 
userinfo - Variable in class com.jcraft.jsch.UserAuth
 
UserInfo - Interface in com.jcraft.jsch
Allows user interaction.
username - Variable in class com.jcraft.jsch.UserAuth
 

V

validate(byte[], byte[]) - Method in interface com.jcraft.jsch.ECDH
Validates a public key (i.e. an elliptic curve point) sent by the remote side.
verify(String, byte[], int, byte[]) - Method in class com.jcraft.jsch.KeyExchange
 
verify(byte[]) - Method in interface com.jcraft.jsch.Signature
Verifies that the given signature is a correct signature.
version() - Method in class com.jcraft.jsch.ChannelSftp
returns the protocol version number supported by this client.
VERSION - Static variable in class com.jcraft.jsch.JSch
The version number.

W

WARN - Static variable in interface com.jcraft.jsch.Logger
Log level constant: the middle level, a warning.
write(Packet) - Method in class com.jcraft.jsch.Session
Not to be used from outside - Writes a packet.
writePrivateKey(OutputStream) - Method in class com.jcraft.jsch.KeyPair
Writes the plain private key to the given output stream.
writePrivateKey(OutputStream, byte[]) - Method in class com.jcraft.jsch.KeyPair
Writes the cyphered private key to the given output stream.
writePrivateKey(String) - Method in class com.jcraft.jsch.KeyPair
Writes the plain private key to the file.
writePrivateKey(String, byte[]) - Method in class com.jcraft.jsch.KeyPair
Writes the cyphered private key to the file.
writePublicKey(OutputStream, String) - Method in class com.jcraft.jsch.KeyPair
Writes the public key with the specified comment to the output stream.
writePublicKey(String, String) - Method in class com.jcraft.jsch.KeyPair
Writes the public key with the specified comment to the file.
writeSECSHPublicKey(OutputStream, String) - Method in class com.jcraft.jsch.KeyPair
Writes the public key with the specified comment to the output stream in the format defined in RFC 4716, The Secure Shell (SSH) Public Key File Format.
writeSECSHPublicKey(String, String) - Method in class com.jcraft.jsch.KeyPair
Writes the public key with the specified comment to the output stream in the format defined in RFC 4716, The Secure Shell (SSH) Public Key File Format

_

_put(InputStream, String, SftpProgressMonitor, int) - Method in class com.jcraft.jsch.ChannelSftp
Not for external use.
A B C D E F G H I J K L M N O P Q R S T U V W _ 
Skip navigation links

This is an inofficial Javadoc created by PaĆ­lo Ebermann. Have a look at the official homepage.