pub struct RevocationBlob {
pub user_email: String,
pub key_fingerprint: String,
pub encapsulated_key: Vec<u8>,
pub ciphertext: Vec<u8>,
pub nonce: Vec<u8>,
}Expand description
A revocation blob prepared by the user’s client.
Fields§
§user_email: StringEmail associated with the key (for verification flow).
key_fingerprint: StringFingerprint of the key being revoked.
encapsulated_key: Vec<u8>Threshold KEM encapsulated key (encrypted to service quorum’s public key).
ciphertext: Vec<u8>AEAD ciphertext of (revocation_signature + public_key).
nonce: Vec<u8>AEAD nonce.
Trait Implementations§
Source§impl Clone for RevocationBlob
impl Clone for RevocationBlob
Source§fn clone(&self) -> RevocationBlob
fn clone(&self) -> RevocationBlob
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RevocationBlob
impl Debug for RevocationBlob
Source§impl<'de> Deserialize<'de> for RevocationBlob
impl<'de> Deserialize<'de> for RevocationBlob
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
Auto Trait Implementations§
impl Freeze for RevocationBlob
impl RefUnwindSafe for RevocationBlob
impl Send for RevocationBlob
impl Sync for RevocationBlob
impl Unpin for RevocationBlob
impl UnsafeUnpin for RevocationBlob
impl UnwindSafe for RevocationBlob
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