pub struct CipherKeyOptions {
pub encrypt: bool,
pub decrypt: bool,
pub wrap: bool,
pub unwrap: bool,
pub extractable: bool,
}Expand description
Mint-time policy for a CipherKey key. See MacKeyOptions for the
options contract.
Fields§
§encrypt: boolWhether the minted key may encrypt.
decrypt: boolWhether the minted key may decrypt.
wrap: boolWhether the minted key may wrap key material.
unwrap: boolWhether the minted key may unwrap key material.
extractable: boolWhether the minted key’s material may be exported.
Trait Implementations§
Source§impl Clone for CipherKeyOptions
impl Clone for CipherKeyOptions
Source§fn clone(&self) -> CipherKeyOptions
fn clone(&self) -> CipherKeyOptions
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 CipherKeyOptions
impl Debug for CipherKeyOptions
Source§impl Default for CipherKeyOptions
impl Default for CipherKeyOptions
Source§fn default() -> CipherKeyOptions
fn default() -> CipherKeyOptions
Returns the “default value” for a type. Read more
impl Copy for CipherKeyOptions
Auto Trait Implementations§
impl Freeze for CipherKeyOptions
impl RefUnwindSafe for CipherKeyOptions
impl Send for CipherKeyOptions
impl Sync for CipherKeyOptions
impl Unpin for CipherKeyOptions
impl UnsafeUnpin for CipherKeyOptions
impl UnwindSafe for CipherKeyOptions
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