Struct cryptid::threshold::Decryption [−][src]
pub struct Decryption { /* fields omitted */ }
Implementations
impl Decryption
[src]
impl Decryption
[src]pub fn new(min_trustees: usize, ct: &Ciphertext) -> Self
[src]
pub fn add_share(
&mut self,
party_id: usize,
party_pubkey_proof: &PubkeyProof,
share: &DecryptShare
)
[src]
&mut self,
party_id: usize,
party_pubkey_proof: &PubkeyProof,
share: &DecryptShare
)
Trait Implementations
impl Debug for Decryption
[src]
impl Debug for Decryption
[src]impl Threshold for Decryption
[src]
impl Threshold for Decryption
[src]type Error = CryptoError
type Destination = Vec<u8>
fn is_complete(&self) -> bool
[src]
fn finish(&self) -> Result<Self::Destination, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Decryption
impl Send for Decryption
impl Sync for Decryption
impl Unpin for Decryption
impl UnwindSafe for Decryption
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
[src]
impl<T> Pointable for T
[src]