Struct lair_keystore_api::entry::EntryX25519 [−][src]
pub struct EntryX25519 {
pub priv_key: X25519PrivKey,
pub pub_key: X25519PubKey,
}
Expand description
Keypair struct for X25519 ECDH.
Fields
priv_key: X25519PrivKey
Private key bytes. @todo security
pub_key: X25519PubKey
Public key bytes.
Implementations
Encode an X25519 keypair for storage.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for EntryX25519
impl Send for EntryX25519
impl Sync for EntryX25519
impl Unpin for EntryX25519
impl UnwindSafe for EntryX25519
Blanket Implementations
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more