pub struct BackupKey {
pub id: String,
pub alg: String,
pub public_key: String,
pub private_key: Vec<u8>,
}Expand description
A further key of an identity carried in a backup, such as its ML-DSA-44 key in the “#key-2” slot. The private key is wiped from memory on drop.
Fields§
§id: String§alg: String§public_key: StringThe public key as a Multikey string.
private_key: Vec<u8>The raw private key bytes.
Trait Implementations§
Auto Trait Implementations§
impl Forget for BackupKey
impl Freeze for BackupKey
impl Move for BackupKey
impl RefUnwindSafe for BackupKey
impl Send for BackupKeywhere
RawVecInner: Send,
impl Sync for BackupKeywhere
RawVecInner: Sync,
impl Unpin for BackupKey
impl UnsafeUnpin for BackupKey
impl UnwindSafe for BackupKeywhere
RawVecInner: UnwindSafe,
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