Struct ethers::signers::yubihsm::authentication::Credentials [−][src]
Expand description
Credentials used to establish a session with the HSM
Fields
authentication_key_id: u16
Key ID to authenticate with
authentication_key: Key
Auth key to authenticate with
Implementations
Create new Credentials
(auth key ID + authentication::Key
)
Create a set of credentials from the given auth key and password Uses the same password-based key derivation method as yubihsm-shell (PBKDF2 + static salt), which is not particularly strong, so use of a long, random password is recommended.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnwindSafe for Credentials
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