Click or drag to resize
MimeKit

SaslMechanismScramSha1 Class

The SCRAM-SHA-1 SASL mechanism.
Inheritance Hierarchy

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

The SaslMechanismScramSha1 type exposes the following members.

Constructors
 NameDescription
Public methodSaslMechanismScramSha1(NetworkCredential) Initializes a new instance of the SaslMechanismScramSha1 class.
Public methodSaslMechanismScramSha1(String, String) Initializes a new instance of the SaslMechanismScramSha1 class.
Top
Properties
 NameDescription
Public propertyAuthorizationId Get or set the authorization identifier.
(Inherited from SaslMechanismScramBase)
Public propertyCredentials Get the user's credentials.
(Inherited from SaslMechanism)
Public propertyIsAuthenticated Get or set whether the SASL mechanism has finished authenticating.
(Inherited from SaslMechanism)
Public propertyMechanismName Get the name of the mechanism.
(Overrides SaslMechanismMechanismName)
Public propertyNegotiatedChannelBinding Get whether or not channel-binding was negotiated by the SASL mechanism.
(Inherited from SaslMechanismScramBase)
Public propertyNegotiatedSecurityLayer Get whether or not a security layer was negotiated by the SASL mechanism.
(Inherited from SaslMechanism)
Public propertySupportsChannelBinding Get whether or not the SASL mechanism supports channel binding.
(Inherited from SaslMechanism)
Public propertySupportsInitialResponse Get whether or not the mechanism supports an initial response (SASL-IR).
(Inherited from SaslMechanismScramBase)
Top
Methods
 NameDescription
Public methodChallenge(String, CancellationToken) Decode the base64-encoded server challenge and return the next challenge response encoded in base64.
(Inherited from SaslMechanism)
Protected methodChallenge(Byte, Int32, Int32, CancellationToken) Parse the server's challenge token and return the next challenge response.
(Inherited from SaslMechanismScramBase)
Public methodChallengeAsync(String, CancellationToken) Asynchronously decode the base64-encoded server challenge and return the next challenge response encoded in base64.
(Inherited from SaslMechanism)
Protected methodChallengeAsync(Byte, Int32, Int32, CancellationToken) Asynchronously parse the server's challenge token and return the next challenge response.
(Inherited from SaslMechanism)
Protected methodCreateHMAC Create the HMAC context.
(Overrides SaslMechanismScramBaseCreateHMAC(Byte))
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodHash Apply the cryptographic hash function.
(Overrides SaslMechanismScramBaseHash(Byte))
Protected methodMemberwiseClone
(Inherited from Object)
Public methodReset Reset the state of the SASL mechanism.
(Inherited from SaslMechanismScramBase)
Public methodToString
(Inherited from Object)
Protected methodTryGetChannelBindingToken Try to get a channel-binding token.
(Inherited from SaslMechanism)
Top
Remarks
A salted challenge/response SASL mechanism that uses the HMAC SHA-1 algorithm.
See Also