[−][src]Struct ethereum_rust_utils::keystore::CoreCrypto
Keyfile
related crypto attributes
Fields
cipher: Cipher
Cipher
cipher_text: Vec<u8>
Cipher text
cipher_params: CipherParams
Params for Cipher
kdf_params: KdfParams
Key derivation funciton
mac: Mac
HMAC authentication code
Methods
impl CoreCrypto
[src]
impl CoreCrypto
pub fn try_from(kf: &KeyFile) -> Result<Self, Error>
[src]
pub fn try_from(kf: &KeyFile) -> Result<Self, Error>
Try to create crypto attributes from corresponding Keyfile (simple or HDWallet keyfile)
Trait Implementations
impl Clone for CoreCrypto
[src]
impl Clone for CoreCrypto
fn clone(&self) -> CoreCrypto
[src]
fn clone(&self) -> CoreCrypto
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Into<KeyFile> for CoreCrypto
[src]
impl Into<KeyFile> for CoreCrypto
impl Eq for CoreCrypto
[src]
impl Eq for CoreCrypto
impl Default for CoreCrypto
[src]
impl Default for CoreCrypto
impl PartialEq<CoreCrypto> for CoreCrypto
[src]
impl PartialEq<CoreCrypto> for CoreCrypto
fn eq(&self, other: &CoreCrypto) -> bool
[src]
fn eq(&self, other: &CoreCrypto) -> bool
fn ne(&self, other: &CoreCrypto) -> bool
[src]
fn ne(&self, other: &CoreCrypto) -> bool
impl Debug for CoreCrypto
[src]
impl Debug for CoreCrypto
impl Serialize for CoreCrypto
[src]
impl Serialize for CoreCrypto
impl<'de> Deserialize<'de> for CoreCrypto
[src]
impl<'de> Deserialize<'de> for CoreCrypto
fn deserialize<D>(deserializer: D) -> Result<CoreCrypto, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<CoreCrypto, D::Error> where
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for CoreCrypto
impl Send for CoreCrypto
impl Sync for CoreCrypto
impl Sync for CoreCrypto
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Erased for T
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
fn equivalent(&self, key: &K) -> bool