Struct wow_srp::header_crypto::ProofSeed[][src]

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

Random Seed part of the calculation needed to verify that a client knows the session key.

The ProofSeed::into_header_crypto function is used by the server to verify that a client knows the session key.

The ProofSeed::into_proof_and_header_crypto function is used by the client to prove to the server that the client knows the session key.

Implementations

Creates a new, random, seed.

Either the server seed used in SMSG_AUTH_CHALLENGE or the client seed used in CMSG_AUTH_SESSION.

Generates world server proof and HeaderCrypto.

This is not valid until the server has responded with a successful SMSG_AUTH_RESPONSE.

Asserts that the client knows the session key.

Errors

If the client_proof does not match the server generated proof. This should only happen if:

  • There’s an error with the provided parameters.
  • The session key might be out of date.
  • The client is not well behaved and deliberately trying to get past the login server.

Trait Implementations

Returns the “default value” for a type. Read more

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.