Top Description Constructors Methods
org.bouncycastle.crypto.macs

public Class CMacWithIV

extends CMac
Class Inheritance
Imports
org.bouncycastle.crypto.BlockCipher, .CipherParameters

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

AccessConstructor and Description
public
public
CMacWithIV(BlockCipher cipher, int macSizeInBits)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
Inherited from org.bouncycastle.crypto.macs.CMac:
doFinalgetAlgorithmNamegetMacSizeinitresetupdateupdate

Constructor Detail

CMacWithIVback to summary
public CMacWithIV(BlockCipher cipher)
CMacWithIVback to summary
public CMacWithIV(BlockCipher cipher, int macSizeInBits)

Method Detail

validateback to summary
pack-priv void validate(CipherParameters params)

Overrides org.bouncycastle.crypto.macs.CMac.validate.