Package org.apache.sshd.common.mac
Interface MacInformation
- All Superinterfaces:
AlgorithmNameProvider
- All Known Subinterfaces:
Mac
,MacFactory
- All Known Implementing Classes:
BaseMac
,BuiltinMacs
,Poly1305Mac
The reported algorithm name refers to the MAC being used
-
Method Summary
Modifier and TypeMethodDescriptionint
int
default boolean
Methods inherited from interface org.apache.sshd.common.AlgorithmNameProvider
getAlgorithm
-
Method Details
-
getBlockSize
int getBlockSize()- Returns:
- MAC output block size in bytes - may be less than the default - e.g., MD5-96
-
getDefaultBlockSize
int getDefaultBlockSize()- Returns:
- The "natural" MAC block size in bytes
-
isEncryptThenMac
default boolean isEncryptThenMac()
-