public class JceEncryptionFactory extends java.lang.Object implements EncryptionFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
JceEncryptionFactory.Entry
An algorithm entry.
|
EncryptionFactory.Mode, EncryptionFactory.OperationException| Constructor and Description |
|---|
JceEncryptionFactory(JceEncryptionFactory.Entry... entries)
Creates a new factory instance.
|
| 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.
|
JceEncryptionFactory |
set(JceEncryptionFactory.Entry... entries)
Sets algorithm entries.
|
java.lang.String |
toString() |
public JceEncryptionFactory(JceEncryptionFactory.Entry... entries)
entries - entriespublic JceEncryptionFactory set(JceEncryptionFactory.Entry... entries)
entries - entriespublic java.util.List<java.lang.String> encryptions()
EncryptionFactoryencryptions in interface EncryptionFactorypublic 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
EncryptionFactoryclientToServerEncryptionFor in interface EncryptionFactoryname - a SSH algorithm namekeyFactory - a key factorymode - an encryption modeEncryptionFactory.OperationException - if an error occurspublic 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)
throws EncryptionFactory.OperationException
EncryptionFactoryserverToClientEncryptionFor in interface EncryptionFactoryname - a SSH algorithm namekeyFactory - a key factorymode - an encryption modeEncryptionFactory.OperationException - if an error occurspublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © JSCAPE LLC. 1999-2023. All Rights Reserved