public class JceMacFactory extends java.lang.Object implements MacFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
JceMacFactory.Entry
An algorithm entry.
|
MacFactory.OperationException| Constructor and Description |
|---|
JceMacFactory(JceMacFactory.Entry... entries)
Creates a new factory instance.
|
| 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.
|
JceMacFactory |
set(JceMacFactory.Entry... entries)
Sets algorithm entries.
|
java.lang.String |
toString() |
public JceMacFactory(JceMacFactory.Entry... entries)
entries - entriespublic JceMacFactory set(JceMacFactory.Entry... entries)
entries - entriespublic java.util.List<java.lang.String> macs()
MacFactorymacs in interface MacFactorypublic 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
MacFactoryclientToServerMacFor in interface MacFactoryname - a SSH algorithm namekeyFactory - a key factoryMacFactory.OperationException - if an error occurspublic com.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
MacFactoryserverToClientMacFor in interface MacFactoryname - a SSH algorithm namekeyFactory - a key factoryMacFactory.OperationException - if an error occurspublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © JSCAPE LLC. 1999-2023. All Rights Reserved