Struct keyutils::KeySupportInfo
source · pub struct KeySupportInfo {
pub supported_ops: KeyctlSupportFlags,
pub key_size: u32,
pub max_data_size: u16,
pub max_sig_size: u16,
pub max_enc_size: u16,
pub max_dec_size: u16,
}
Expand description
Structure to store results from a query on optional feature support for a key.
Fields§
§supported_ops: KeyctlSupportFlags
Features supported by the key.
key_size: u32
The size of the key (in bits).
max_data_size: u16
The maximum size of a data blob which may be signed.
max_sig_size: u16
The maximum size of a signature blob.
max_enc_size: u16
The maximum size of a blob to be encrypted.
max_dec_size: u16
The maximum size of a blob to be decrypted.
Trait Implementations§
source§impl Clone for KeySupportInfo
impl Clone for KeySupportInfo
source§fn clone(&self) -> KeySupportInfo
fn clone(&self) -> KeySupportInfo
Returns a copy 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 moresource§impl Debug for KeySupportInfo
impl Debug for KeySupportInfo
impl Copy for KeySupportInfo
Auto Trait Implementations§
impl RefUnwindSafe for KeySupportInfo
impl Send for KeySupportInfo
impl Sync for KeySupportInfo
impl Unpin for KeySupportInfo
impl UnwindSafe for KeySupportInfo
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