ScramShaAuthenticator.Hi Delegate (original) (raw)
ScramShaAuthenticatorHi Delegate
A Hi function used to compute the SaltedPassword as defined in RFC5802, except with "str" parameter replaced with a UsernamePassword credential so that the password can be optionally digested/prepped in a secure fashion before being consumed as the "str" parameter would be in RFC5802's Hi.
Namespace: MongoDB.Driver.Core.Authentication
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
protected delegate byte[] Hi( UsernamePasswordCredential credentials, byte[] salt, int iterations )
Protected Delegate Function Hi ( credentials As UsernamePasswordCredential, salt As Byte(), iterations As Integer ) As Byte()
type Hi = delegate of credentials : UsernamePasswordCredential * salt : byte[] * iterations : int -> byte[]
Parameters
credentials
Type: MongoDB.Driver.Core.AuthenticationUsernamePasswordCredential
The credential to be digested/prepped before being consumed as the "str" parameter would be in RFC5802's Hi
salt
Type: SystemByte
The salt.
iterations
Type: SystemInt32
The iteration count.
Return Value
Type: Byte
See Also