Struct ate::crypto::EncryptedPrivateKey[][src]

pub struct EncryptedPrivateKey { /* fields omitted */ }

Implementations

impl EncryptedPrivateKey[src]

pub fn generate(encrypt_key: &EncryptKey) -> Result<EncryptedPrivateKey, Error>[src]

pub fn from_pair(
    pair: &PrivateSignKey,
    encrypt_key: &EncryptKey
) -> Result<EncryptedPrivateKey, Error>
[src]

pub fn as_private_key(&self, key: &EncryptKey) -> Result<PrivateSignKey, Error>[src]

pub fn as_public_key(&self) -> PublicSignKey[src]

pub fn pk_hash(&self) -> Hash[src]

Trait Implementations

impl Clone for EncryptedPrivateKey[src]

impl Debug for EncryptedPrivateKey[src]

impl<'de> Deserialize<'de> for EncryptedPrivateKey[src]

impl Eq for EncryptedPrivateKey[src]

impl Hash for EncryptedPrivateKey[src]

impl PartialEq<EncryptedPrivateKey> for EncryptedPrivateKey[src]

impl Serialize for EncryptedPrivateKey[src]

impl StructuralEq for EncryptedPrivateKey[src]

impl StructuralPartialEq for EncryptedPrivateKey[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,