pub struct CekMetadata {
pub database_id: u32,
pub cek_id: u32,
pub cek_version: u32,
pub cek_md_version: u64,
pub encrypted_value: Vec<u8>,
pub key_store_provider_name: String,
pub cmk_path: String,
pub encryption_algorithm: String,
}Expand description
Metadata about a Column Encryption Key (CEK).
This metadata is retrieved from SQL Server’s sys.column_encryption_keys
and related system views.
Fields§
§database_id: u32Database-level identifier for this CEK.
cek_id: u32CEK identifier within the database.
cek_version: u32Version of the CEK (for key rotation).
cek_md_version: u64Metadata version (changes with any metadata update).
encrypted_value: Vec<u8>The encrypted CEK value (encrypted by CMK).
key_store_provider_name: StringName of the key store provider (e.g., “AZURE_KEY_VAULT”).
cmk_path: StringPath to the Column Master Key in the key store.
encryption_algorithm: StringAsymmetric algorithm used to encrypt the CEK (e.g., “RSA_OAEP”).
Trait Implementations§
Source§impl Clone for CekMetadata
impl Clone for CekMetadata
Source§fn clone(&self) -> CekMetadata
fn clone(&self) -> CekMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CekMetadata
impl RefUnwindSafe for CekMetadata
impl Send for CekMetadata
impl Sync for CekMetadata
impl Unpin for CekMetadata
impl UnwindSafe for CekMetadata
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