pub struct KeyConfig {
pub backend: String,
pub default_ref: String,
pub ed25519_ref: String,
pub secp256k1_ref: String,
pub p256_ref: String,
}Expand description
[key] section for keystore-backed signing. All fields are user-scoped.
Fields§
§backend: StringDefault backend for mkit key commands.
default_ref: StringGeneric key reference.
ed25519_ref: StringEd25519 key reference.
secp256k1_ref: Stringsecp256k1 key reference.
p256_ref: StringP-256 key reference.
Implementations§
Source§impl KeyConfig
impl KeyConfig
pub fn backend_or_fallback(&self) -> &str
pub fn default_ref_or_fallback(&self) -> &str
pub fn ed25519_ref_or_fallback(&self) -> &str
pub fn secp256k1_ref_or_fallback(&self) -> &str
pub fn p256_ref_or_fallback(&self) -> &str
Trait Implementations§
impl Eq for KeyConfig
impl StructuralPartialEq for KeyConfig
Auto Trait Implementations§
impl Freeze for KeyConfig
impl RefUnwindSafe for KeyConfig
impl Send for KeyConfig
impl Sync for KeyConfig
impl Unpin for KeyConfig
impl UnsafeUnpin for KeyConfig
impl UnwindSafe for KeyConfig
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