pub struct RekeyParams {
pub new_public_key: Vec<u8>,
pub new_key_id: String,
}Expand description
Storage re-key parameters for a PrepareUpgrade control command. Only
provided for enclaves that have a persistent LUKS-backed storage volume;
None for stateless enclaves.
Fields§
§new_public_key: Vec<u8>DER-encoded SubjectPublicKeyInfo of the new RSA-OAEP KMS key.
The enclave wraps a freshly-generated passphrase under this key and
stores the ciphertext in the key blob alongside new_key_id.
new_key_id: StringIdentifier of the new KMS key (ARN, mock-kms id, etc.). Recorded in the key blob so the post-upgrade enclave decrypts via the right key.
Trait Implementations§
Source§impl Clone for RekeyParams
impl Clone for RekeyParams
Source§fn clone(&self) -> RekeyParams
fn clone(&self) -> RekeyParams
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 RekeyParams
impl Debug for RekeyParams
Source§impl<'de> Deserialize<'de> for RekeyParams
impl<'de> Deserialize<'de> for RekeyParams
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 RekeyParams
impl RefUnwindSafe for RekeyParams
impl Send for RekeyParams
impl Sync for RekeyParams
impl Unpin for RekeyParams
impl UnsafeUnpin for RekeyParams
impl UnwindSafe for RekeyParams
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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