Struct nucypher_core::ReencryptionRequest
source · [−]pub struct ReencryptionRequest {
pub capsules: Box<[Capsule]>,
pub hrac: HRAC,
pub encrypted_kfrag: EncryptedKeyFrag,
pub publisher_verifying_key: PublicKey,
pub bob_verifying_key: PublicKey,
pub conditions: Option<Conditions>,
pub context: Option<Context>,
}Expand description
A request for an Ursula to reencrypt for several capsules.
Fields
capsules: Box<[Capsule]>Capsules to re-encrypt.
hrac: HRACPolicy HRAC.
encrypted_kfrag: EncryptedKeyFragKey frag encrypted for the Ursula.
publisher_verifying_key: PublicKeyPublisher’s verifying key.
bob_verifying_key: PublicKeyRecipient’s (Bob’s) verifying key.
conditions: Option<Conditions>A blob of bytes containing decryption conditions for this message.
context: Option<Context>A blob of bytes containing context required to evaluate conditions.
Implementations
Trait Implementations
sourceimpl Debug for ReencryptionRequest
impl Debug for ReencryptionRequest
sourceimpl<'de> Deserialize<'de> for ReencryptionRequest
impl<'de> Deserialize<'de> for ReencryptionRequest
sourcefn 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
sourceimpl PartialEq<ReencryptionRequest> for ReencryptionRequest
impl PartialEq<ReencryptionRequest> for ReencryptionRequest
sourcefn eq(&self, other: &ReencryptionRequest) -> bool
fn eq(&self, other: &ReencryptionRequest) -> bool
sourceimpl<'a> ProtocolObject<'a> for ReencryptionRequest
impl<'a> ProtocolObject<'a> for ReencryptionRequest
sourceimpl Serialize for ReencryptionRequest
impl Serialize for ReencryptionRequest
impl StructuralPartialEq for ReencryptionRequest
Auto Trait Implementations
impl RefUnwindSafe for ReencryptionRequest
impl Send for ReencryptionRequest
impl Sync for ReencryptionRequest
impl Unpin for ReencryptionRequest
impl UnwindSafe for ReencryptionRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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