pub struct AgreementKeyOptions {
pub derive_bits: bool,
pub derive_key: bool,
pub extractable: bool,
}Expand description
Mint-time policy for an AgreementSecretKey. See MacKeyOptions
for the options contract; the derive grants are copied onto every
DeriveInput the key agrees
(WebCrypto’s model: derive usages live on the secret key).
Fields§
§derive_bits: boolWhether inputs agreed by the key may yield raw bits. See
DeriveOptions::derive_bits.
derive_key: boolWhether inputs agreed by the key may mint keys. See
DeriveOptions::derive_key.
extractable: boolWhether the secret key’s material may be exported.
Trait Implementations§
Source§impl Clone for AgreementKeyOptions
impl Clone for AgreementKeyOptions
Source§fn clone(&self) -> AgreementKeyOptions
fn clone(&self) -> AgreementKeyOptions
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 AgreementKeyOptions
impl Debug for AgreementKeyOptions
Source§impl Default for AgreementKeyOptions
impl Default for AgreementKeyOptions
Source§fn default() -> AgreementKeyOptions
fn default() -> AgreementKeyOptions
Returns the “default value” for a type. Read more
impl Copy for AgreementKeyOptions
Auto Trait Implementations§
impl Freeze for AgreementKeyOptions
impl RefUnwindSafe for AgreementKeyOptions
impl Send for AgreementKeyOptions
impl Sync for AgreementKeyOptions
impl Unpin for AgreementKeyOptions
impl UnsafeUnpin for AgreementKeyOptions
impl UnwindSafe for AgreementKeyOptions
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