Class DigestMd5Mechanism
The DIGEST-MD5 SASL authentication mechanism.
Inherited Members
Namespace: FastReport.Messaging.Authentication.Sasl
Assembly: FastReport.dll
Syntax
public class DigestMd5Mechanism : SaslMechanism
Constructors
DigestMd5Mechanism(String, String)
Initializes a new instance of the DigestMd5Mechanism class.
Declaration
public DigestMd5Mechanism(string username, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | username | The username. |
System.String | password | The user's password. |
Fields
MECHANISM_NAME
The mechanism name.
Declaration
public const string MECHANISM_NAME = "DIGEST-MD5"
Field Value
Type | Description |
---|---|
System.String |
Methods
ComputeResponse(Byte[])
Computes client response for server challenge.
Declaration
protected override byte[] ComputeResponse(byte[] challenge)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | challenge | The server challenge. |
Returns
Type | Description |
---|---|
System.Byte[] | The client response. |