pub struct KeyBundlePublic {
pub apke_pk: MessagePublicKey,
pub metadata_pk: MetadataPublicKey,
}Expand description
The public keys that make up one ephemeral key bundle
Fields§
§apke_pk: MessagePublicKeySD-APKE ephemeral key pk_{J,i}^{APKE_E} = (pk1, pk2).
metadata_pk: MetadataPublicKeySD-PKE ephemeral key, used for metadata protection.
Implementations§
Trait Implementations§
Source§impl Clone for KeyBundlePublic
impl Clone for KeyBundlePublic
Source§fn clone(&self) -> KeyBundlePublic
fn clone(&self) -> KeyBundlePublic
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 KeyBundlePublic
impl Debug for KeyBundlePublic
Source§impl<'de> Deserialize<'de> for KeyBundlePublic
impl<'de> Deserialize<'de> for KeyBundlePublic
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KeyBundlePublic
impl RefUnwindSafe for KeyBundlePublic
impl Send for KeyBundlePublic
impl Sync for KeyBundlePublic
impl Unpin for KeyBundlePublic
impl UnsafeUnpin for KeyBundlePublic
impl UnwindSafe for KeyBundlePublic
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