pub struct RootKeyPackage {
pub frost_identifier: u16,
pub key_package: Vec<u8>,
}Expand description
Serialized FROST key package held by one certifier.
The byte field retains its original Vec shape and caller-owned move
semantics for patch-release source compatibility. Debug output is redacted;
callers that retain this legacy carrier can invoke Zeroize::zeroize
explicitly when the bytes are no longer needed.
Fields§
§frost_identifier: u16Owner’s FROST identifier.
key_package: Vec<u8>Serialized FROST key package.
Trait Implementations§
Source§impl Clone for RootKeyPackage
impl Clone for RootKeyPackage
Source§impl Debug for RootKeyPackage
impl Debug for RootKeyPackage
Source§impl<'de> Deserialize<'de> for RootKeyPackage
impl<'de> Deserialize<'de> for RootKeyPackage
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 RootKeyPackage
Source§impl PartialEq for RootKeyPackage
impl PartialEq for RootKeyPackage
Source§impl Serialize for RootKeyPackage
impl Serialize for RootKeyPackage
impl StructuralPartialEq for RootKeyPackage
Auto Trait Implementations§
impl Freeze for RootKeyPackage
impl RefUnwindSafe for RootKeyPackage
impl Send for RootKeyPackage
impl Sync for RootKeyPackage
impl Unpin for RootKeyPackage
impl UnsafeUnpin for RootKeyPackage
impl UnwindSafe for RootKeyPackage
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