pub struct E2EThresholdDecryptionRequest {
pub decryption_request: ThresholdDecryptionRequest,
pub response_encrypting_key: PublicKey,
}Expand description
A request for an Ursula to derive a decryption share that specifies the key to encrypt Ursula’s response.
Fields§
§decryption_request: ThresholdDecryptionRequestThe decryption request.
response_encrypting_key: PublicKeyThe key to encrypt the corresponding decryption response.
Implementations§
source§impl E2EThresholdDecryptionRequest
impl E2EThresholdDecryptionRequest
sourcepub fn new(
decryption_request: &ThresholdDecryptionRequest,
response_encrypting_key: &PublicKey
) -> Self
pub fn new( decryption_request: &ThresholdDecryptionRequest, response_encrypting_key: &PublicKey ) -> Self
Create E2E decryption request.
Trait Implementations§
source§impl Clone for E2EThresholdDecryptionRequest
impl Clone for E2EThresholdDecryptionRequest
source§fn clone(&self) -> E2EThresholdDecryptionRequest
fn clone(&self) -> E2EThresholdDecryptionRequest
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 E2EThresholdDecryptionRequest
impl<'de> Deserialize<'de> for E2EThresholdDecryptionRequest
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<E2EThresholdDecryptionRequest> for E2EThresholdDecryptionRequest
impl PartialEq<E2EThresholdDecryptionRequest> for E2EThresholdDecryptionRequest
source§fn eq(&self, other: &E2EThresholdDecryptionRequest) -> bool
fn eq(&self, other: &E2EThresholdDecryptionRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> ProtocolObject<'a> for E2EThresholdDecryptionRequest
impl<'a> ProtocolObject<'a> for E2EThresholdDecryptionRequest
impl StructuralPartialEq for E2EThresholdDecryptionRequest
Auto Trait Implementations§
impl RefUnwindSafe for E2EThresholdDecryptionRequest
impl Send for E2EThresholdDecryptionRequest
impl Sync for E2EThresholdDecryptionRequest
impl Unpin for E2EThresholdDecryptionRequest
impl UnwindSafe for E2EThresholdDecryptionRequest
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