public interface MacFactory
Modifier and Type | Interface and Description |
---|---|
static class |
MacFactory.OperationException
Represents an operation error.
|
Modifier and Type | Method and Description |
---|---|
com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.Mac |
clientToServerMacFor(java.lang.String name,
com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.KeyFactory keyFactory)
Returns a MAC operation for client-server direction.
|
java.util.List<java.lang.String> |
macs()
Returns supported MAC algorithms.
|
com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.Mac |
serverToClientMacFor(java.lang.String name,
com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.KeyFactory keyFactory)
Returns a MAC operation for server-client direction.
|
java.util.List<java.lang.String> macs()
com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.Mac clientToServerMacFor(java.lang.String name, com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.KeyFactory keyFactory) throws MacFactory.OperationException
name
- a SSH algorithm namekeyFactory
- a key factoryMacFactory.OperationException
- if an error occurscom.jscape.inet.ssh.protocol.v2.marshaling.algorithms.Mac serverToClientMacFor(java.lang.String name, com.jscape.inet.ssh.protocol.v2.marshaling.algorithms.KeyFactory keyFactory) throws MacFactory.OperationException
name
- a SSH algorithm namekeyFactory
- a key factoryMacFactory.OperationException
- if an error occursCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved