Package org.apache.sshd.common.mac
Interface Mac
-
- All Superinterfaces:
AlgorithmNameProvider,MacInformation
- All Known Implementing Classes:
BaseMac,Poly1305Mac
public interface Mac extends MacInformation
Message Authentication Code for use in SSH. It usually wraps a javax.crypto.Mac class.- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default byte[]doFinal()default voiddoFinal(byte[] buf)voiddoFinal(byte[] buf, int offset)static booleanequals(byte[] a1, int a1Offset, byte[] a2, int a2Offset, int length)voidinit(byte[] key)default voidupdate(byte[] buf)voidupdate(byte[] buf, int start, int len)voidupdateUInt(long foo)-
Methods inherited from interface org.apache.sshd.common.AlgorithmNameProvider
getAlgorithm
-
Methods inherited from interface org.apache.sshd.common.mac.MacInformation
getBlockSize, getDefaultBlockSize, isEncryptThenMac
-
-