public class SftpAlgorithms extends Configuration
| Constructor and Description |
|---|
SftpAlgorithms()
Creates new instance.
|
SftpAlgorithms(SftpAlgorithms that)
Creates new instance from existing instance.
|
SftpAlgorithms(java.lang.String[] supportedKexes,
java.lang.String[] supportedCiphers,
java.lang.String[] supportedMacs,
java.lang.String[] supportedCompressions)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Configuration |
copy() |
java.lang.String[] |
getSupportedCiphers()
Gets ciphers.
|
java.lang.String[] |
getSupportedCompressions()
Gets compression algorithms.
|
java.lang.String[] |
getSupportedKexes()
Gets key exchange algorithms.
|
java.lang.String[] |
getSupportedMacs()
Gets MAC (message authentication) algorithms.
|
void |
setSupportedCiphers(java.lang.String[] value)
Sets ciphers.
|
void |
setSupportedCompressions(java.lang.String[] value)
Sets compression algorithms.
|
void |
setSupportedKexes(java.lang.String[] value)
Sets key exchange algorithms.
|
void |
setSupportedMacs(java.lang.String[] value)
Sets MAC (message authentication) algorithms.
|
java.lang.String |
toString() |
getVersion, setVersionpublic SftpAlgorithms(java.lang.String[] supportedKexes,
java.lang.String[] supportedCiphers,
java.lang.String[] supportedMacs,
java.lang.String[] supportedCompressions)
supportedKexes - supported key exchange algorithmssupportedCiphers - supported cipher algorithmssupportedMacs - supported MAC algorithmssupportedCompressions - supported compression algorithmspublic SftpAlgorithms(SftpAlgorithms that)
that - an instance to copypublic SftpAlgorithms()
public java.lang.String[] getSupportedKexes()
public void setSupportedKexes(java.lang.String[] value)
value - key exchange algorithmspublic java.lang.String[] getSupportedCiphers()
public void setSupportedCiphers(java.lang.String[] value)
value - supported cipher algorithmspublic java.lang.String[] getSupportedMacs()
public void setSupportedMacs(java.lang.String[] value)
value - supported MAC algorithmspublic java.lang.String[] getSupportedCompressions()
public void setSupportedCompressions(java.lang.String[] value)
value - supported compression algorithmspublic Configuration copy()
copy in class Configurationpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2023. Redwood Software Inc. All rights reserved.