[][src]Struct keynesis::PublicIdentity

pub struct PublicIdentity(_);

Public identity

Making this public (include the public key and the chain code) allows for anyone to derive the public key associated to the different schemes (signing or key exchange).

This key cannot be used for anything else, we restrict its usage to public derivation of different keys

Implementations

impl PublicIdentity[src]

pub const SIZE: usize[src]

pub fn verify_key(&self) -> PublicVerifyKey[src]

pub fn derive<P>(&self, purpose: P) -> PublicKey where
    P: AsRef<[u8]>, 
[src]

Trait Implementations

impl Clone for PublicIdentity[src]

impl Debug for PublicIdentity[src]

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

impl Display for PublicIdentity[src]

impl Eq for PublicIdentity[src]

impl From<[u8; 64]> for PublicIdentity[src]

impl From<PublicIdentity> for String[src]

impl FromStr for PublicIdentity[src]

type Err = PublicIdentityError

The associated error which can be returned from parsing.

impl Hash for PublicIdentity[src]

impl Ord for PublicIdentity[src]

impl PartialEq<PublicIdentity> for PublicIdentity[src]

impl PartialOrd<PublicIdentity> for PublicIdentity[src]

impl Serialize for PublicIdentity[src]

impl StructuralEq for PublicIdentity[src]

impl StructuralPartialEq for PublicIdentity[src]

impl<'a> TryFrom<&'a [u8]> for PublicIdentity[src]

type Error = PublicKeyError

The type returned in the event of a conversion error.

impl<'a> TryFrom<&'a str> for PublicIdentity[src]

type Error = Self::Err

The type returned in the event of a conversion error.

impl TryFrom<String> for PublicIdentity[src]

type Error = Self::Err

The type returned in the event of a conversion error.

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> 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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>,