pub struct EncryptedShareSet {
pub ciphertext: Vec<u8>,
pub encrypted_shares: Vec<Vec<u8>>,
pub eph_public_key: PublicKey,
}
Expand description
A set of encrypted shares, together with the public key used for encryption and the encrypted secret
Fields
ciphertext: Vec<u8>
eph_public_key: PublicKey
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EncryptedShareSet
impl Send for EncryptedShareSet
impl Sync for EncryptedShareSet
impl Unpin for EncryptedShareSet
impl UnwindSafe for EncryptedShareSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more