pub struct SigningKeyOptions { /* private fields */ }Expand description
Mint-time policy for a signing-key. Grants nothing by default;
see README.md, “Key-options contract”. can-sign is the sole
usage today (the public/private resource split already separates
sign from verify structurally); the resource carries extractable
and receives future private-key usages additively.
Implementations§
Source§impl SigningKeyOptions
impl SigningKeyOptions
Sourcepub fn extractable(&self, allowed: bool)
pub fn extractable(&self, allowed: bool)
Whether the minted key’s material may be exported
(signing-key.export-key-jwk/-pkcs8 and the
to-wrap-input-* functions). Disabled by default.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SigningKeyOptions
impl RefUnwindSafe for SigningKeyOptions
impl Send for SigningKeyOptions
impl Sync for SigningKeyOptions
impl Unpin for SigningKeyOptions
impl UnsafeUnpin for SigningKeyOptions
impl UnwindSafe for SigningKeyOptions
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