pub struct BackupSeal {
pub wrapped_dek: String,
pub oprf_id: String,
pub epoch: u32,
}Expand description
Threshold seal carried in a backup: the wrapped DEK plus the OPRF params needed to re-derive the unwrapping key. Only ciphertext/params, never plaintext, so a backup never contains a threshold secret’s value in the clear.
Fields§
§wrapped_dek: StringHex-encoded wrapped DEK (the per-secret key encrypted under the OPRF key).
oprf_id: StringOPRF domain-separation label (hex secret id).
epoch: u32OPRF epoch (rotation counter for the derived key).
Trait Implementations§
Source§impl Clone for BackupSeal
impl Clone for BackupSeal
Source§impl<'de> Deserialize<'de> for BackupSeal
impl<'de> Deserialize<'de> for BackupSeal
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 Drop for BackupSeal
impl Drop for BackupSeal
Source§impl Serialize for BackupSeal
impl Serialize for BackupSeal
Auto Trait Implementations§
impl Forget for BackupSeal
impl Freeze for BackupSeal
impl Move for BackupSeal
impl RefUnwindSafe for BackupSeal
impl Send for BackupSeal
impl Sync for BackupSeal
impl Unpin for BackupSeal
impl UnsafeUnpin for BackupSeal
impl UnwindSafe for BackupSeal
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