Click or drag to resize

ScramShaAuthenticatorHmac Delegate

An HMAC function as defined in RFC5802, plus the encoding of the data.

Namespace:  MongoDB.Driver.Core.Authentication
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
protected delegate byte[] Hmac(
	UTF8Encoding encoding,
	byte[] data,
	string key
)

Parameters

encoding
Type: System.TextUTF8Encoding
The encoding of the data.
data
Type: SystemByte
The data. Also called "str" in RFC5802.
key
Type: SystemString
The key.

Return Value

Type: Byte
See Also