|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.macs.CMac
org.bouncycastle.crypto.macs.CMacWithIV
public class CMacWithIV
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 | |
---|---|
CMacWithIV(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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMacWithIV(BlockCipher cipher)
public CMacWithIV(BlockCipher cipher, int macSizeInBits)
|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |