public interface MacFactory
Modifier and Type | Interface and Description |
---|---|
static class |
MacFactory.OperationException
Represents an operation error.
|
Modifier and Type | Method and Description |
---|---|
Mac |
clientToServerMacFor(java.lang.String name,
KeyFactory keyFactory)
Returns a MAC operation for client-server direction.
|
java.util.List<java.lang.String> |
macs()
Returns supported MAC algorithms.
|
Mac |
serverToClientMacFor(java.lang.String name,
KeyFactory keyFactory)
Returns a MAC operation for server-client direction.
|
java.util.List<java.lang.String> macs()
Mac clientToServerMacFor(java.lang.String name, KeyFactory keyFactory) throws MacFactory.OperationException
name
- a SSH algorithm namekeyFactory
- a key factoryMacFactory.OperationException
- if an error occursMac serverToClientMacFor(java.lang.String name, 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