pub struct HandshakeProofVerifier {
    pub server_keys: (PublicKey, PrivateKey),
    pub user: UserDetails,
    pub g: Generator,
    pub N: PrimeModulus,
}
Expand description

This is responsible for verifying a HandshakeProof that is provided by the client to the server

Fields

server_keys: (PublicKey, PrivateKey)

the servers pub and private key

user: UserDetails

the users s, v and I

g: Generator

a generator modulo N

N: PrimeModulus

a big and safe prime number

Implementations

verifies a proof provided by the client

Trait Implementations

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.