Struct nucypher_core::ReencryptionResponse
source · [−]pub struct ReencryptionResponse { /* private fields */ }Expand description
A response from Ursula with reencrypted capsule frags.
Implementations
pub fn new(
signer: &Signer,
capsules: &[Capsule],
vcfrags: impl IntoIterator<Item = VerifiedCapsuleFrag>
) -> Self
pub fn new(
signer: &Signer,
capsules: &[Capsule],
vcfrags: impl IntoIterator<Item = VerifiedCapsuleFrag>
) -> Self
Creates and signs a new reencryption response.
Verifies the reencryption response and returns the contained kfrags on success.
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ReencryptionResponse
impl Send for ReencryptionResponse
impl Sync for ReencryptionResponse
impl Unpin for ReencryptionResponse
impl UnwindSafe for ReencryptionResponse
Blanket Implementations
Mutably borrows from an owned value. Read more