[][src]Struct iop_keyvault::multicipher::MPublicKey

pub struct MPublicKey { /* fields omitted */ }

Type-erased PublicKey

Implementations

impl MPublicKey[src]

pub fn suite(&self) -> CipherSuite[src]

Returns the cipher suite of the multicipher object

impl MPublicKey[src]

pub const PREFIX: char[src]

All multicipher public keys start with this prefix

pub fn to_bytes(&self) -> Vec<u8>[src]

Even the binary representation of a multicipher public key is readable with this.

pub fn from_bytes(bytes: &[u8]) -> Result<Self>[src]

Even the binary representation of a multicipher public key is readable with this.

Trait Implementations

impl Clone for MPublicKey[src]

impl Debug for MPublicKey[src]

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

impl Display for MPublicKey[src]

impl Eq for MPublicKey[src]

impl<'_> From<&'_ MPublicKey> for String[src]

impl From<EdPublicKey> for MPublicKey[src]

impl From<MPublicKey> for String[src]

impl From<SecpPublicKey> for MPublicKey[src]

impl FromStr for MPublicKey[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<MPublicKey> for MPublicKey[src]

impl PublicKey<MultiCipher> for MPublicKey[src]

impl Serialize for MPublicKey[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> 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> 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>,