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: KeyctlSupportFlagsFeatures supported by the key.
key_size: u32The size of the key (in bits).
max_data_size: u16The maximum size of a data blob which may be signed.
max_sig_size: u16The maximum size of a signature blob.
max_enc_size: u16The maximum size of a blob to be encrypted.
max_dec_size: u16The 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 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 moreSource§impl Debug for KeySupportInfo
impl Debug for KeySupportInfo
impl Copy for KeySupportInfo
Auto Trait Implementations§
impl Freeze for KeySupportInfo
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