GMac(GcmBlockCipher) Constructor
Creates a GMAC based on the operation of a block cipher in GCM mode.
Namespace: Org.BouncyCastle.Crypto.MacsAssembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
Org.BouncyCastle.Crypto.Macs.GMac = function(cipher);
Parameters
- cipher GcmBlockCipher
- the cipher to be used in GCM mode to generate the MAC.
This will produce an authentication code the length of the block size of the cipher.