Class: Net::IMAP::SASL::ScramSHA256Authenticator

Inherits:
ScramAuthenticator show all
Defined in:
lib/net/imap/sasl/scram_authenticator.rb

Overview

Authenticator for the “SCRAM-SHA-256” SASL mechanism, defined in RFC7677.

Uses the “SHA-256” digest algorithm from OpenSSL::Digest.

See ScramAuthenticator.

Constant Summary collapse

DIGEST_NAME =
"SHA256"

Constants included from GS2Header

GS2Header::NO_NULL_CHARS, GS2Header::RFC5801_SASLNAME

Instance Attribute Summary

Attributes inherited from ScramAuthenticator

#authzid, #cnonce, #iterations, #min_iterations, #password, #salt, #server_error, #snonce, #username

Method Summary

Methods inherited from ScramAuthenticator

#digest, #done?, #initial_client_response, #initialize, #process

Methods included from ScramAlgorithm

#H, #HMAC, #Hi, #Normalize, #XOR, #auth_message, #client_key, #client_proof, #client_signature, #salted_password, #server_key, #server_signature, #stored_key

Methods included from GS2Header

#gs2_authzid, #gs2_cb_flag, #gs2_header, gs2_saslname_encode

Constructor Details

This class inherits a constructor from Net::IMAP::SASL::ScramAuthenticator