[−][src]Struct iop_keyvault::multicipher::MPublicKey
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]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MPublicKey
[src]
impl<'de> Deserialize<'de> for MPublicKey
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Display for MPublicKey
[src]
impl Eq for MPublicKey
[src]
impl<'_> From<&'_ MPublicKey> for String
[src]
fn from(src: &MPublicKey) -> Self
[src]
impl From<EdPublicKey> for MPublicKey
[src]
fn from(src: EdPublicKey) -> Self
[src]
impl From<MPublicKey> for String
[src]
fn from(src: MPublicKey) -> Self
[src]
impl From<SecpPublicKey> for MPublicKey
[src]
fn from(src: SecpPublicKey) -> Self
[src]
impl FromStr for MPublicKey
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(src: &str) -> Result<Self>
[src]
impl PartialEq<MPublicKey> for MPublicKey
[src]
impl PublicKey<MultiCipher> for MPublicKey
[src]
fn key_id(&self) -> MKeyId
[src]
fn validate_id(&self, key_id: &MKeyId) -> bool
[src]
fn verify<D: AsRef<[u8]>>(&self, data: D, sig: &MSignature) -> bool
[src]
impl Serialize for MPublicKey
[src]
Auto Trait Implementations
impl !RefUnwindSafe for MPublicKey
impl Send for MPublicKey
impl Sync for MPublicKey
impl Unpin for MPublicKey
impl !UnwindSafe for MPublicKey
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,