GMac(GcmBlockCipher) Constructor

Creates a GMAC based on the operation of a block cipher in GCM mode.

Definition

Namespace: Org.BouncyCastle.Crypto.Macs
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public GMac(
	GcmBlockCipher cipher
)

Parameters

cipher  GcmBlockCipher
the cipher to be used in GCM mode to generate the MAC.

Remarks

This will produce an authentication code the length of the block size of the cipher.

See Also