Discover Packages
github.com/couchbase/gocbcore/v10
scram
package
Version:
v10.1.6
Opens a new window with list of versions in this module.
Published: Oct 27, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Client implements a SCRAM-{SHA-1,etc} client per RFC5802.
http://tools.ietf.org/html/rfc5802
NewClient returns a new instance of the SCRAM client.
Err returns the error that occurred, or nil if there were no errors.
Out returns the data to be sent to the server in the current step.
SetNonce sets the client nonce to the provided value.
If not set, the nonce is generated automatically out of crypto/rand on the first step.
Step processes the incoming data from the server and makes the
next round of data for the server available via Client.Out.
Step returns false if there are no errors and more data is
still expected.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.