Struct nucypher_core::RevocationOrder
source · [−]pub struct RevocationOrder { /* private fields */ }Expand description
Represents a string used by characters to perform a revocation on a specific Ursula.
Implementations
pub fn new(
signer: &Signer,
staker_address: &Address,
encrypted_kfrag: &EncryptedKeyFrag
) -> Self
pub fn new(
signer: &Signer,
staker_address: &Address,
encrypted_kfrag: &EncryptedKeyFrag
) -> Self
Create and sign a new revocation order.
Verifies the revocation order against Alice’s key.
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 !=.