Click or drag to resize
MimeKit

SaslMechanismScramSha256 Class

The SCRAM-SHA-256 SASL mechanism.
Inheritance Hierarchy

Namespace:  MailKit.Security
Assembly:  MailKit (in MailKit.dll) Version: 2.7.0
Syntax
C#
public class SaslMechanismScramSha256 : SaslMechanismScramBase

The SaslMechanismScramSha256 type exposes the following members.

Constructors
  NameDescription
Public methodSaslMechanismScramSha256(NetworkCredential)
Initializes a new instance of the SaslMechanismScramSha256 class.
Public methodSaslMechanismScramSha256(String, String)
Initializes a new instance of the SaslMechanismScramSha256 class.
Public methodSaslMechanismScramSha256(Uri, ICredentials) Obsolete.
Initializes a new instance of the SaslMechanismScramSha256 class.
Public methodSaslMechanismScramSha256(Uri, String, String) Obsolete.
Initializes a new instance of the SaslMechanismScramSha256 class.
Top
Properties
  NameDescription
Public propertyCredentials
Gets the user's credentials.
(Inherited from SaslMechanism.)
Public propertyIsAuthenticated
Gets or sets whether the SASL mechanism has finished authenticating.
(Inherited from SaslMechanism.)
Public propertyMechanismName
Gets the name of the mechanism.
(Overrides SaslMechanismMechanismName.)
Public propertyNegotiatedSecurityLayer
Gets whether or not a security layer was negotiated.
(Inherited from SaslMechanism.)
Public propertySupportsInitialResponse
Gets whether or not the mechanism supports an initial response (SASL-IR).
(Inherited from SaslMechanismScramBase.)
Top
Methods
  NameDescription
Public methodChallenge(String)
Decodes the base64-encoded server challenge and returns the next challenge response encoded in base64.
(Inherited from SaslMechanism.)
Protected methodChallenge(Byte, Int32, Int32)
Parses the server's challenge token and returns the next challenge response.
(Inherited from SaslMechanismScramBase.)
Protected methodCreateHMAC
Create the HMAC context.
(Overrides SaslMechanismScramBaseCreateHMAC(Byte).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHash
Apply the cryptographic hash function.
(Overrides SaslMechanismScramBaseHash(Byte).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Resets the state of the SASL mechanism.
(Inherited from SaslMechanismScramBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
A salted challenge/response SASL mechanism that uses the HMAC SHA-256 algorithm.
See Also