SaslMechanismScramSha256Plus Class

The SCRAM-SHA-256-PLUS SASL mechanism.

Definition

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class SaslMechanismScramSha256Plus : SaslMechanismScramSha256
Inheritance
Object    SaslMechanism    SaslMechanismScramBase    SaslMechanismScramSha256    SaslMechanismScramSha256Plus

Remarks

A salted challenge/response SASL mechanism that uses the HMAC SHA-256 algorithm and Transport Layer Security (TLS) channel binding.

Constructors

SaslMechanismScramSha256Plus(NetworkCredential) Initializes a new instance of the SaslMechanismScramSha256Plus class.
SaslMechanismScramSha256Plus(String, String) Initializes a new instance of the SaslMechanismScramSha256Plus class.

Properties

AuthorizationId Get or set the authorization identifier.
(Inherited from SaslMechanismScramBase)
Credentials Get the user's credentials.
(Inherited from SaslMechanism)
IsAuthenticated Get or set whether the SASL mechanism has finished authenticating.
(Inherited from SaslMechanism)
MechanismName Get the name of the SASL mechanism.
(Overrides SaslMechanismScramSha256MechanismName)
NegotiatedChannelBinding Get whether or not channel-binding was negotiated by the SASL mechanism.
(Inherited from SaslMechanismScramBase)
NegotiatedSecurityLayer Get whether or not a security layer was negotiated by the SASL mechanism.
(Inherited from SaslMechanism)
SupportsChannelBinding Get whether or not the SASL mechanism supports channel binding.
(Overrides SaslMechanismSupportsChannelBinding)
SupportsInitialResponse Get whether or not the mechanism supports an initial response (SASL-IR).
(Inherited from SaslMechanismScramBase)

Methods

Challenge(String, CancellationToken) Decode the base64-encoded server challenge and return the next challenge response encoded in base64.
(Inherited from SaslMechanism)
Challenge(Byte, Int32, Int32, CancellationToken) Parse the server's challenge token and return the next challenge response.
(Inherited from SaslMechanismScramBase)
ChallengeAsync(String, CancellationToken) Asynchronously decode the base64-encoded server challenge and return the next challenge response encoded in base64.
(Inherited from SaslMechanism)
ChallengeAsync(Byte, Int32, Int32, CancellationToken) Asynchronously parse the server's challenge token and return the next challenge response.
(Inherited from SaslMechanism)
CreateHMAC Create the HMAC context.
(Inherited from SaslMechanismScramSha256)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
Hash Apply the cryptographic hash function.
(Inherited from SaslMechanismScramSha256)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Reset Reset the state of the SASL mechanism.
(Inherited from SaslMechanismScramBase)
ToString Returns a string that represents the current object.
(Inherited from Object)
TryGetChannelBinding Try to get a channel-binding.
(Inherited from SaslMechanism)
TryGetChannelBindingToken Try to get a channel-binding token.
(Inherited from SaslMechanism)

See Also