Struct ethers::signers::yubihsm::wrap::Key [−][src]
pub struct Key { /* fields omitted */ }
Expand description
Wrap key to import into the device
Implementations
Generate a random wrap key with the given key size.
Create a new wrap::Key
instance. Must be 16, 24, or 32-bytes long.
Set the domains this wrap key can be used in (default: all)
Set the capabilities of this key (what it can be used for)
Set the delegated capabilities of this key (what capabilities it can set on imported objects)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Key
impl UnwindSafe for Key
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more