Package org.bouncycastle.crypto.macs
Class CMacWithIV
java.lang.Object
org.bouncycastle.crypto.macs.CMac
org.bouncycastle.crypto.macs.CMacWithIV
- All Implemented Interfaces:
Mac
A non-NIST variant which allows passing of an IV to the underlying CBC cipher.
Note: there isn't really a good reason to use an IV here, use the regular CMac where possible.
-
Constructor Summary
ConstructorsConstructorDescriptionCMacWithIV
(BlockCipher cipher) CMacWithIV
(BlockCipher cipher, int macSizeInBits) -
Method Summary
Methods inherited from class org.bouncycastle.crypto.macs.CMac
doFinal, getAlgorithmName, getMacSize, init, reset, update, update
-
Constructor Details
-
CMacWithIV
-
CMacWithIV
-