pub struct ParameterCryptoInfo {
pub cek_ordinal: u16,
pub encryption_type: EncryptionTypeWire,
pub algorithm_id: u8,
pub normalization_rule_version: u8,
}Expand description
Encryption directive for a single parameter, parsed from result set 2 of
sp_describe_parameter_encryption.
Fields§
§cek_ordinal: u160-based index into ParameterEncryptionInfo::cek_table.
The server reports a (often 1-based) key ordinal; the parser translates
it to this positional index so cek_table.get(cek_ordinal) resolves the
entry directly.
encryption_type: EncryptionTypeWireEncryption type (deterministic or randomized).
algorithm_id: u8Encryption algorithm ID (2 = AEAD_AES_256_CBC_HMAC_SHA256).
normalization_rule_version: u8Normalization rule version applied to the plaintext before encryption.
Implementations§
Trait Implementations§
Source§impl Clone for ParameterCryptoInfo
impl Clone for ParameterCryptoInfo
Source§fn clone(&self) -> ParameterCryptoInfo
fn clone(&self) -> ParameterCryptoInfo
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 moreAuto Trait Implementations§
impl Freeze for ParameterCryptoInfo
impl RefUnwindSafe for ParameterCryptoInfo
impl Send for ParameterCryptoInfo
impl Sync for ParameterCryptoInfo
impl Unpin for ParameterCryptoInfo
impl UnsafeUnpin for ParameterCryptoInfo
impl UnwindSafe for ParameterCryptoInfo
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