IAeadCipherInit Method

Initialise the cipher.

Definition

Namespace: Org.BouncyCastle.Crypto.Modes
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
void Init(
	bool forEncryption,
	ICipherParameters parameters
)

Parameters

forEncryption  Boolean
Initialise for encryption if true, for decryption if false.
parameters  ICipherParameters
The key or other data required by the cipher.

Remarks

Parameter can either be an AeadParameters or a ParametersWithIV object.

See Also