Struct noise_sv2::StaticKeypair[][src]

pub struct StaticKeypair {
    pub private: Vec<u8, Global>,
    pub public: Vec<u8, Global>,
}
Expand description

Static keypair (aka ‘s’ and ‘rs’) from the noise handshake patterns. This has to be used by users of this noise when Building the responder A keypair object returned by Builder::generate_keypair()

Fields

private: Vec<u8, Global>

The private asymmetric key

public: Vec<u8, Global>

The public asymmetric key

Trait Implementations

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.