pub struct EncryptedThresholdDecryptionResponse {
pub ritual_id: u32,
/* private fields */
}Expand description
An encrypted response from Ursula with a derived decryption share.
Fields§
§ritual_id: u32The ID of the ritual.
Implementations§
source§impl EncryptedThresholdDecryptionResponse
impl EncryptedThresholdDecryptionResponse
sourcepub fn decrypt(
&self,
shared_secret: &SessionSharedSecret
) -> Result<ThresholdDecryptionResponse, DecryptionError>
pub fn decrypt( &self, shared_secret: &SessionSharedSecret ) -> Result<ThresholdDecryptionResponse, DecryptionError>
Decrypts the decryption request
Trait Implementations§
source§impl Clone for EncryptedThresholdDecryptionResponse
impl Clone for EncryptedThresholdDecryptionResponse
source§fn clone(&self) -> EncryptedThresholdDecryptionResponse
fn clone(&self) -> EncryptedThresholdDecryptionResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'de> Deserialize<'de> for EncryptedThresholdDecryptionResponse
impl<'de> Deserialize<'de> for EncryptedThresholdDecryptionResponse
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
source§impl PartialEq<EncryptedThresholdDecryptionResponse> for EncryptedThresholdDecryptionResponse
impl PartialEq<EncryptedThresholdDecryptionResponse> for EncryptedThresholdDecryptionResponse
source§fn eq(&self, other: &EncryptedThresholdDecryptionResponse) -> bool
fn eq(&self, other: &EncryptedThresholdDecryptionResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> ProtocolObject<'a> for EncryptedThresholdDecryptionResponse
impl<'a> ProtocolObject<'a> for EncryptedThresholdDecryptionResponse
impl StructuralPartialEq for EncryptedThresholdDecryptionResponse
Auto Trait Implementations§
impl RefUnwindSafe for EncryptedThresholdDecryptionResponse
impl Send for EncryptedThresholdDecryptionResponse
impl Sync for EncryptedThresholdDecryptionResponse
impl Unpin for EncryptedThresholdDecryptionResponse
impl UnwindSafe for EncryptedThresholdDecryptionResponse
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