Struct diem_sdk::crypto::x25519::x25519_dalek::PublicKey [−][src]
pub struct PublicKey(_);Expand description
A Diffie-Hellman public key, corresponding to an EphemeralSecret or StaticSecret key.
Implementations
Trait Implementations
Given an x25519 EphemeralSecret key, compute its corresponding PublicKey.
Given an x25519 StaticSecret key, compute its corresponding PublicKey.
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self