pub struct Combinedpub {
pub kyber: [u8; 1184],
pub x25519: PublicKey,
}Expand description
The combination key containing public key for X25519 and Kyber.
Fields§
§kyber: [u8; 1184]§x25519: PublicKeyImplementations§
Source§impl Combinedpub
impl Combinedpub
Sourcepub fn new(key: &Combinedkey) -> Self
pub fn new(key: &Combinedkey) -> Self
Create public keys from private keys
Trait Implementations§
Source§impl Clone for Combinedpub
impl Clone for Combinedpub
Source§fn clone(&self) -> Combinedpub
fn clone(&self) -> Combinedpub
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Combinedpub
impl Debug for Combinedpub
Source§impl Display for Combinedpub
Available on crate feature to_string only.Give public key as string to be sent to network
impl Display for Combinedpub
Available on crate feature
to_string only.Give public key as string to be sent to network
Source§impl Drop for Combinedpub
impl Drop for Combinedpub
Source§impl PartialEq for Combinedpub
impl PartialEq for Combinedpub
Source§impl TryFrom<&str> for Combinedpub
Available on crate feature to_string only.Create public key from info transmitted from network
impl TryFrom<&str> for Combinedpub
Available on crate feature
to_string only.Create public key from info transmitted from network
impl Eq for Combinedpub
impl StructuralPartialEq for Combinedpub
Auto Trait Implementations§
impl Freeze for Combinedpub
impl RefUnwindSafe for Combinedpub
impl Send for Combinedpub
impl Sync for Combinedpub
impl Unpin for Combinedpub
impl UnwindSafe for Combinedpub
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more