pub struct KwKeyOptions { /* private fields */ }Expand description
Mint-time policy for a kw-key. Grants nothing by default; see
README.md, “Key-options contract”. The vocabulary is the W3C Web
Cryptography API’s usage pair for AES-KW keys, which serve no
other operations.
Implementations§
Source§impl KwKeyOptions
impl KwKeyOptions
Source§impl KwKeyOptions
impl KwKeyOptions
Source§impl KwKeyOptions
impl KwKeyOptions
Sourcepub fn can_unwrap(&self, allowed: bool)
pub fn can_unwrap(&self, allowed: bool)
Whether the minted key may unwrap. Disabled by default.
Source§impl KwKeyOptions
impl KwKeyOptions
Sourcepub fn extractable(&self, allowed: bool)
pub fn extractable(&self, allowed: bool)
Whether the minted key’s material may be exported. Disabled by default.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for KwKeyOptions
impl RefUnwindSafe for KwKeyOptions
impl Send for KwKeyOptions
impl Sync for KwKeyOptions
impl Unpin for KwKeyOptions
impl UnsafeUnpin for KwKeyOptions
impl UnwindSafe for KwKeyOptions
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