Struct wow_srp::client::SrpClientChallenge[][src]

pub struct SrpClientChallenge { /* fields omitted */ }
Expand description

Second step of the client connection. First is SrpClientUser. Next is SrpClient.

The client proof and public key must be sent to the server in the CMD_AUTH_LOGON_PROOF_Client packet before the server proof is available.

All arrays are little endian.

The CRC check also present in the same network packet is out of scope for this crate.

Implementations

Called M in RFC2945, called M1 in other literature. M2 is the argument passed to SrpClientChallenge::verify_server_proof.

Called A in RFC2945. Also sometimes referred to as a, although this is the abbreviation of the private key. If the lowercase version appears in a packet table it is referring to the public key.

Verifies that the server knows the same password as was initially used in SrpClientUser::new.

Errors

This should very rarely return an error unless something weird is going on with the server, ther server deliberately sends an incorrect value, or the packet has been read incorrectly.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.