Package net.randombit.botan.mac
Class BotanMac.CMac
java.lang.Object
javax.crypto.MacSpi
net.randombit.botan.mac.BotanMac
net.randombit.botan.mac.BotanMac.CMac
- Enclosing class:
- BotanMac
-
Nested Class Summary
Nested classes/interfaces inherited from class net.randombit.botan.mac.BotanMac
BotanMac.CMac, BotanMac.HMacMd5, BotanMac.HMacRipeMd160, BotanMac.HMacSha1, BotanMac.HMacSha224, BotanMac.HMacSha256, BotanMac.HMacSha384, BotanMac.HMacSha512, BotanMac.Poly1305, BotanMac.SipHash -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBotanMacName(int keySize) Gets the native botan cipher name (e.g.Methods inherited from class net.randombit.botan.mac.BotanMac
clone, engineDoFinal, engineGetMacLength, engineInit, engineReset, engineUpdate, engineUpdateMethods inherited from class javax.crypto.MacSpi
engineUpdate
-
Constructor Details
-
CMac
public CMac()
-
-
Method Details
-
getBotanMacName
Description copied from class:BotanMacGets the native botan cipher name (e.g. 'CMAC(AES-128)').- Overrides:
getBotanMacNamein classBotanMac- Parameters:
keySize- the key size- Returns:
Stringcontaining the Botan MAC name.
-