pub struct RootPublicKeyPackage {
pub public_key_package: Vec<u8>,
pub root_public_key: Vec<u8>,
pub verifying_shares: BTreeMap<u16, Vec<u8>>,
}Expand description
Serialized public key package and derived public metadata.
Fields§
§public_key_package: Vec<u8>Serialized FROST public key package.
root_public_key: Vec<u8>Serialized root verifying key.
Serialized verification shares by FROST identifier.
Trait Implementations§
Source§impl Clone for RootPublicKeyPackage
impl Clone for RootPublicKeyPackage
Source§fn clone(&self) -> RootPublicKeyPackage
fn clone(&self) -> RootPublicKeyPackage
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 RootPublicKeyPackage
impl Debug for RootPublicKeyPackage
Source§impl<'de> Deserialize<'de> for RootPublicKeyPackage
impl<'de> Deserialize<'de> for RootPublicKeyPackage
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
impl Eq for RootPublicKeyPackage
Source§impl PartialEq for RootPublicKeyPackage
impl PartialEq for RootPublicKeyPackage
Source§fn eq(&self, other: &RootPublicKeyPackage) -> bool
fn eq(&self, other: &RootPublicKeyPackage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RootPublicKeyPackage
impl Serialize for RootPublicKeyPackage
impl StructuralPartialEq for RootPublicKeyPackage
Auto Trait Implementations§
impl Freeze for RootPublicKeyPackage
impl RefUnwindSafe for RootPublicKeyPackage
impl Send for RootPublicKeyPackage
impl Sync for RootPublicKeyPackage
impl Unpin for RootPublicKeyPackage
impl UnsafeUnpin for RootPublicKeyPackage
impl UnwindSafe for RootPublicKeyPackage
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