Struct ring::agreement::EphemeralPrivateKey[][src]

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

An ephemeral private key for use (only) with agree_ephemeral. The signature of agree_ephemeral ensures that an EphemeralPrivateKey can be used for at most one key agreement.

Implementations

Generate a new ephemeral private key for the given algorithm.

Computes the public key from the private key.

The algorithm for the private key.

Trait Implementations

Formats the value using the given formatter. 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.

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.