pub struct X448PublicKey(pub [u8; 56]);Expand description
A type-safe 56-byte X448 public key.
Wraps the raw Montgomery-form u-coordinate used by the X448 function
(RFC 7748 §6.2). Use as_bytes to access
the inner bytes for KeyAgreement::agree.
Tuple Fields§
§0: [u8; 56]Implementations§
Trait Implementations§
Source§impl AsRef<[u8]> for X448PublicKey
impl AsRef<[u8]> for X448PublicKey
Source§impl Clone for X448PublicKey
impl Clone for X448PublicKey
Source§fn clone(&self) -> X448PublicKey
fn clone(&self) -> X448PublicKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 X448PublicKey
impl Debug for X448PublicKey
Source§impl PartialEq for X448PublicKey
impl PartialEq for X448PublicKey
Source§fn eq(&self, other: &X448PublicKey) -> bool
fn eq(&self, other: &X448PublicKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for X448PublicKey
impl StructuralPartialEq for X448PublicKey
Auto Trait Implementations§
impl Freeze for X448PublicKey
impl RefUnwindSafe for X448PublicKey
impl Send for X448PublicKey
impl Sync for X448PublicKey
impl Unpin for X448PublicKey
impl UnsafeUnpin for X448PublicKey
impl UnwindSafe for X448PublicKey
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