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 |
---|---|
Encryption |
clientToServerEncryptionFor(java.lang.String name,
KeyFactory keyFactory,
EncryptionFactory.Mode mode)
Returns an encryption operation for client-server direction.
|
java.util.List<java.lang.String> |
encryptions()
Returns supported encryption algorithms.
|
Encryption |
serverToClientEncryptionFor(java.lang.String name,
KeyFactory keyFactory,
EncryptionFactory.Mode mode)
Returns an encryption operation for server-client direction.
|
java.util.List<java.lang.String> encryptions()
Encryption clientToServerEncryptionFor(java.lang.String name, KeyFactory keyFactory, EncryptionFactory.Mode mode) throws EncryptionFactory.OperationException
name
- a SSH algorithm namekeyFactory
- a key factorymode
- an encryption modeEncryptionFactory.OperationException
- if an error occursEncryption serverToClientEncryptionFor(java.lang.String name, 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