[−][src]Struct indy_data_types::keys::SignKey
A raw signing key used for generating transaction signatures
Fields
key: Vec<u8>alg: KeyTypeImplementations
impl SignKey[src]
pub fn new<K>(key: K, alg: Option<KeyType>) -> SignKey where
K: AsRef<[u8]>, [src]
K: AsRef<[u8]>,
pub fn public_key(&self) -> Result<VerKey, ConversionError>[src]
pub fn key_bytes(&self) -> Vec<u8>[src]
Trait Implementations
impl AsRef<[u8]> for SignKey[src]
impl Clone for SignKey[src]
impl Debug for SignKey[src]
impl Drop for SignKey[src]
impl Eq for SignKey[src]
impl Hash for SignKey[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for SignKey[src]
fn cmp(&self, other: &SignKey) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<SignKey> for SignKey[src]
impl PartialOrd<SignKey> for SignKey[src]
fn partial_cmp(&self, other: &SignKey) -> Option<Ordering>[src]
fn lt(&self, other: &SignKey) -> bool[src]
fn le(&self, other: &SignKey) -> bool[src]
fn gt(&self, other: &SignKey) -> bool[src]
fn ge(&self, other: &SignKey) -> bool[src]
impl StructuralEq for SignKey[src]
impl StructuralPartialEq for SignKey[src]
impl Zeroize for SignKey[src]
Auto Trait Implementations
impl RefUnwindSafe for SignKey
impl Send for SignKey
impl Sync for SignKey
impl Unpin for SignKey
impl UnwindSafe for SignKey
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> From<T> for T[src]
impl<T> Hashable for T where
T: AsRef<[u8]>, [src]
T: AsRef<[u8]>,
fn update_context<D>(&self, context: &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]>,
fn encode_hex<U>(&self) -> U where
U: FromIterator<char>, [src]
U: FromIterator<char>,
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.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
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<Z> Zeroize for Z where
Z: DefaultIsZeroes, [src]
Z: DefaultIsZeroes,