public interface EncryptionFactory
Modifier and Type | Interface and Description |
---|---|
static class |
EncryptionFactory.Mode
Algorithm mode.
|
static class |
EncryptionFactory.OperationException
Represents an operation error.
|
Modifier and Type | Method and Description |
---|---|
com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.Encryption |
clientToServerEncryptionFor(java.lang.String name,
com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.KeyFactory keyFactory,
EncryptionFactory.Mode mode)
Returns an encryption operation for client-server direction.
|
java.util.List<java.lang.String> |
encryptions()
Returns supported encryption algorithms.
|
com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.Encryption |
serverToClientEncryptionFor(java.lang.String name,
com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.KeyFactory keyFactory,
EncryptionFactory.Mode mode)
Returns an encryption operation for server-client direction.
|
java.util.List<java.lang.String> encryptions()
com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.Encryption clientToServerEncryptionFor(java.lang.String name, com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.KeyFactory keyFactory, EncryptionFactory.Mode mode) throws EncryptionFactory.OperationException
name
- a SSH algorithm namekeyFactory
- a key factorymode
- an encryption modeEncryptionFactory.OperationException
- if an error occurscom.jscape.inet.ssh.protocol.v2.marshaling.algorithms.Encryption serverToClientEncryptionFor(java.lang.String name, com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.KeyFactory keyFactory, EncryptionFactory.Mode mode) throws EncryptionFactory.OperationException
name
- a SSH algorithm namekeyFactory
- a key factorymode
- an encryption modeEncryptionFactory.OperationException
- if an error occursCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved