public class IdentSsh2Context extends Ssh2Context
CIPHER_AES_GCM_128, CIPHER_AES_GCM_256, CIPHER_AES128_CBC, CIPHER_AES128_CTR, CIPHER_AES192_CBC, CIPHER_AES192_CTR, CIPHER_AES256_CBC, CIPHER_AES256_CTR, CIPHER_ARCFOUR, CIPHER_ARCFOUR_128, CIPHER_ARCFOUR_256, CIPHER_BLOWFISH_CBC, CIPHER_CHACHA20_POLY1305, CIPHER_TRIPLEDES_CBC, CIPHER_TRIPLEDES_CTR, COMPRESSION_NONE, COMPRESSION_ZLIB, HMAC_MD5, HMAC_MD5_96, HMAC_MD5_ETM, HMAC_RIPEMD160, HMAC_RIPEMD160_ETM, HMAC_SHA1, HMAC_SHA1_96, HMAC_SHA1_ETM, HMAC_SHA256, HMAC_SHA256_96, HMAC_SHA256_ETM, HMAC_SHA512, HMAC_SHA512_96, HMAC_SHA512_ETM, KEX_CURVE_25519_SHA256, KEX_CURVE_25519_SHA256_LIBSSH_ORG, KEX_DIFFIE_HELLMAN_ECDH_NISTP_256, KEX_DIFFIE_HELLMAN_ECDH_NISTP_384, KEX_DIFFIE_HELLMAN_ECDH_NISTP_521, KEX_DIFFIE_HELLMAN_GROUP_EXCHANGE_SHA1, KEX_DIFFIE_HELLMAN_GROUP_EXCHANGE_SHA256, KEX_DIFFIE_HELLMAN_GROUP1_SHA1, KEX_DIFFIE_HELLMAN_GROUP14_SHA1, KEX_DIFFIE_HELLMAN_GROUP14_SHA256, KEX_DIFFIE_HELLMAN_GROUP15_SHA512, KEX_DIFFIE_HELLMAN_GROUP16_SHA512, KEX_DIFFIE_HELLMAN_GROUP17_SHA512, KEX_DIFFIE_HELLMAN_GROUP18_SHA512, KEX_RSA_1024_SHA1, KEX_RSA_2048_SHA256, PUBLIC_KEY_ECDSA_256, PUBLIC_KEY_ECDSA_384, PUBLIC_KEY_ECDSA_521, PUBLIC_KEY_ED25519, PUBLIC_KEY_RSA_SHA256, PUBLIC_KEY_RSA_SHA512, PUBLIC_KEY_SSHDSS, PUBLIC_KEY_SSHRSA, PUBLIC_KEY_X509_SIGN_DSA, PUBLIC_KEY_X509_SIGN_RSA, PUBLIC_KEY_X509_SIGN_RSA_SHA1| Constructor and Description |
|---|
IdentSsh2Context(String identification) |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
getBooleanValue(String key,
Boolean defaultValue) |
int |
getChannelLimit()
Get the maximum number of channels that are allowed open at any one time.
|
int |
getDHGroupExchangeKeySize() |
int |
getIdleConnectionTimeoutSeconds() |
protected Integer |
getIntValue(String key,
Integer defaultValue) |
int |
getKeepAliveMaxDataLength() |
protected Long |
getLongValue(String key,
Long defaultValue) |
int |
getMaximumPacketLength()
Get the maximim packet size supported by the transport layer.
|
int |
getMaxNumBytesBeforeReKey() |
int |
getMaxNumPacketsBeforeReKey() |
int |
getMessageTimeout() |
String |
getPreferredCipherCS()
Get the currently preferred cipher for the Client->Server stream.
|
String |
getPreferredCipherSC()
Get the currently preferred cipher for the Server->Client stream.
|
String |
getPreferredCompressionCS()
Get the currently preferred compression for the Client->Server stream.
|
String |
getPreferredCompressionSC()
Get the currently preferred compression for the Server->Client stream.
|
String |
getPreferredKeyExchange()
Get the currently preferred key exchange method.
|
String |
getPreferredMacCS()
Get the currently preferred mac for the Client->Server stream.
|
String |
getPreferredMacSC()
Get the currently supported mac for the Server-Client stream.
|
int |
getSessionMaxPacketSize() |
int |
getSessionMaxWindowSpace() |
int |
getSftpMaxPacketSize() |
int |
getSftpMaxWindowSpace() |
int |
getSocketTimeout() |
protected String |
getStringValue(String key,
String defaultValue) |
boolean |
isKeyReExchangeDisabled() |
allowHostKeyUpdates, disableCompression, disableETM, disableNonStandardAlgorithms, enableCompression, enableETM, enableFIPSMode, enableNonStandardAlgorithms, getBannerDisplay, getCiphersCS, getCiphersSC, getExecutorService, getGssCallback, getHostKeyVerification, getKeyExchanges, getMacsCS, getMacsSC, getMaxDHGroupSize, getMinDHGroupSize, getPartialMessageTimeout, getPreferredPublicKey, getPublicKeys, getSecurityPolicy, getSFTPProvider, getX11AuthenticationCookie, getX11Display, getX11RealCookie, getX11RequestListener, isDHGroupExchangeBackwardsCompatible, isEnableETM, isNonStandardAlgorithmsEnabled, isPreferKeyboardInteractiveOverPassword, isSendIgnorePacketOnIdle, isTreatIdleConnectionAsError, isTriedBackwardsCompatibility, isTriedMinimalKeyExchangePacket, setAllowHostKeyUpdates, setBannerDisplay, setChannelLimit, setCipherPreferredPositionCS, setCipherPreferredPositionSC, setDHGroupExchangeBackwardsCompatible, setDHGroupExchangeKeySize, setExecutorService, setGssCallback, setHostKeyVerification, setIdleConnectionTimeoutSeconds, setKeepAliveMaxDataLength, setKeyExchangePreferredPosition, setKeyReExchangeDisabled, setMacPreferredPositionCS, setMacPreferredPositionSC, setMaxDHGroupSize, setMaximumPacketLength, setMaxNumBytesBeforeReKey, setMaxNumPacketsBeforeReKey, setMessageTimeout, setMinDHGroupSize, setPartialMessageTimeout, setPreferKeyboardInteractiveOverPassword, setPreferredCipherCS, setPreferredCipherCS, setPreferredCipherSC, setPreferredCipherSC, setPreferredCompressionCS, setPreferredCompressionSC, setPreferredKeyExchange, setPreferredMacCS, setPreferredMacCS, setPreferredMacSC, setPreferredMacSC, setPreferredPublicKey, setPublicKeyPreferredPosition, setSendIgnorePacketOnIdle, setSessionMaxPacketSize, setSessionMaxWindowSpace, setSftpMaxPacketSize, setSftpMaxWindowSpace, setSFTPProvider, setSocketTimeout, setTreatIdleConnectionAsError, setTriedBackwardsCompatibility, setTriedMinimalKeyExchangePacket, setX11AuthenticationCookie, setX11Display, setX11RealCookie, setX11RequestListener, supportedCiphersCS, supportedCiphersSC, supportedCompressionsCS, supportedCompressionsSC, supportedKeyExchanges, supportedMacsCS, supportedMacsSC, supportedPublicKeyspublic IdentSsh2Context(String identification) throws SshException, IOException
SshExceptionIOExceptionpublic int getMaximumPacketLength()
Ssh2ContextgetMaximumPacketLength in class Ssh2Contextpublic int getChannelLimit()
SshContextgetChannelLimit in interface SshContextgetChannelLimit in class Ssh2Contextpublic String getPreferredCipherCS()
Ssh2ContextgetPreferredCipherCS in class Ssh2Contextpublic String getPreferredCipherSC()
Ssh2ContextgetPreferredCipherSC in class Ssh2Contextpublic String getPreferredMacCS()
Ssh2ContextgetPreferredMacCS in class Ssh2Contextpublic String getPreferredMacSC()
Ssh2ContextgetPreferredMacSC in class Ssh2Contextpublic String getPreferredCompressionCS()
Ssh2ContextgetPreferredCompressionCS in class Ssh2Contextpublic String getPreferredCompressionSC()
Ssh2ContextgetPreferredCompressionSC in class Ssh2Contextpublic String getPreferredKeyExchange()
Ssh2ContextgetPreferredKeyExchange in class Ssh2Contextpublic boolean isKeyReExchangeDisabled()
isKeyReExchangeDisabled in class Ssh2Contextpublic int getIdleConnectionTimeoutSeconds()
getIdleConnectionTimeoutSeconds in class Ssh2Contextpublic int getDHGroupExchangeKeySize()
getDHGroupExchangeKeySize in class Ssh2Contextpublic int getKeepAliveMaxDataLength()
getKeepAliveMaxDataLength in class Ssh2Contextpublic int getSocketTimeout()
getSocketTimeout in class Ssh2Contextpublic int getMessageTimeout()
getMessageTimeout in interface SshContextgetMessageTimeout in class Ssh2Contextpublic int getSftpMaxWindowSpace()
getSftpMaxWindowSpace in class Ssh2Contextpublic int getSftpMaxPacketSize()
getSftpMaxPacketSize in class Ssh2Contextpublic int getSessionMaxWindowSpace()
getSessionMaxWindowSpace in class Ssh2Contextpublic int getSessionMaxPacketSize()
getSessionMaxPacketSize in class Ssh2Contextpublic int getMaxNumPacketsBeforeReKey()
getMaxNumPacketsBeforeReKey in class Ssh2Contextpublic int getMaxNumBytesBeforeReKey()
getMaxNumBytesBeforeReKey in class Ssh2ContextCopyright © 2021. All rights reserved.