[−][src]Struct indy_data_types::keys::PrivateKey
A raw signing key used for generating transaction signatures
Fields
key: Vec<u8, Global>
alg: KeyType
Implementations
impl PrivateKey
[src]
pub fn new<K>(key: K, alg: Option<KeyType>) -> PrivateKey where
K: AsRef<[u8]>,
[src]
K: AsRef<[u8]>,
pub fn public_key(&self) -> Result<VerKey, ConversionError>
[src]
pub fn key_bytes(&self) -> Vec<u8, Global>
[src]
Trait Implementations
impl AsRef<[u8]> for PrivateKey
[src]
impl Clone for PrivateKey
[src]
pub fn clone(&self) -> PrivateKey
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PrivateKey
[src]
impl Drop for PrivateKey
[src]
impl Eq for PrivateKey
[src]
impl Hash for PrivateKey
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for PrivateKey
[src]
pub fn cmp(&self, other: &PrivateKey) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<PrivateKey> for PrivateKey
[src]
pub fn eq(&self, other: &PrivateKey) -> bool
[src]
pub fn ne(&self, other: &PrivateKey) -> bool
[src]
impl PartialOrd<PrivateKey> for PrivateKey
[src]
pub fn partial_cmp(&self, other: &PrivateKey) -> Option<Ordering>
[src]
pub fn lt(&self, other: &PrivateKey) -> bool
[src]
pub fn le(&self, other: &PrivateKey) -> bool
[src]
pub fn gt(&self, other: &PrivateKey) -> bool
[src]
pub fn ge(&self, other: &PrivateKey) -> bool
[src]
impl StructuralEq for PrivateKey
[src]
impl StructuralPartialEq for PrivateKey
[src]
impl Validatable for PrivateKey
[src]
pub fn validate(&self) -> Result<(), ValidationError>
[src]
impl Zeroize for PrivateKey
[src]
Auto Trait Implementations
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
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, 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]>,
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, 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>,