[−][src]Struct indy_utils::keys::VerKey
A raw verkey used in verifying signatures
Fields
key: Vec<u8>alg: KeyTypeImplementations
impl VerKey[src]
pub fn new<K: AsRef<[u8]>>(key: K, alg: Option<KeyType>) -> Self[src]
pub fn as_base58(&self) -> Result<EncodedVerKey, ConversionError>[src]
pub fn encode(
&self,
enc: &KeyEncoding
) -> Result<EncodedVerKey, ConversionError>[src]
&self,
enc: &KeyEncoding
) -> Result<EncodedVerKey, ConversionError>
pub fn key_bytes(&self) -> Vec<u8>[src]
pub fn key_exchange(&self) -> Result<Self, ConversionError>[src]
pub fn verify_signature<M: AsRef<[u8]>, S: AsRef<[u8]>>(
&self,
message: M,
signature: S
) -> Result<bool, ConversionError>[src]
&self,
message: M,
signature: S
) -> Result<bool, ConversionError>
Trait Implementations
impl AsRef<[u8]> for VerKey[src]
impl Clone for VerKey[src]
impl Debug for VerKey[src]
impl Display for VerKey[src]
impl Drop for VerKey[src]
impl Eq for VerKey[src]
impl Hash for VerKey[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for VerKey[src]
pub fn cmp(&self, other: &VerKey) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<VerKey> for VerKey[src]
impl PartialOrd<VerKey> for VerKey[src]
pub fn partial_cmp(&self, other: &VerKey) -> Option<Ordering>[src]
pub fn lt(&self, other: &VerKey) -> bool[src]
pub fn le(&self, other: &VerKey) -> bool[src]
pub fn gt(&self, other: &VerKey) -> bool[src]
pub fn ge(&self, other: &VerKey) -> bool[src]
impl StructuralEq for VerKey[src]
impl StructuralPartialEq for VerKey[src]
impl Validatable for VerKey[src]
pub fn validate(&self) -> Result<(), ValidationError>[src]
impl Zeroize for VerKey[src]
Auto Trait Implementations
impl RefUnwindSafe for VerKey[src]
impl Send for VerKey[src]
impl Sync for VerKey[src]
impl Unpin for VerKey[src]
impl UnwindSafe for VerKey[src]
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,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Hashable for T where
T: AsRef<[u8]>, [src]
T: AsRef<[u8]>,
pub fn update_context<D>(&Self, &mut D) -> Result<(), ValidationError> where
D: Digest, [src]
D: Digest,
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> ToHex for T where
T: AsRef<[u8]>, [src]
T: AsRef<[u8]>,
pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>, [src]
U: FromIterator<char>,
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>, [src]
U: FromIterator<char>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub 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.
pub 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.
pub 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>,