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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax protected delegate byte[] Hmac(
UTF8Encoding encoding,
byte[] data,
string key
)
Protected Delegate Function Hmac (
encoding As UTF8Encoding,
data As Byte(),
key As String
) As Byte()
type Hmac =
delegate of
encoding : UTF8Encoding *
data : byte[] *
key : string -> byte[]
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:
ByteSee Also