pub struct RawSignKey { /* private fields */ }
Expand description
An Ed25519 signing key.
This is also called a secret key by other implementations.
Implementations§
Trait Implementations§
source§impl AsRef<[u8]> for SigningKey
impl AsRef<[u8]> for SigningKey
source§impl Clone for SigningKey
impl Clone for SigningKey
source§fn clone(&self) -> SigningKey
fn clone(&self) -> SigningKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SigningKey
impl Debug for SigningKey
source§impl<'de> Deserialize<'de> for SigningKey
impl<'de> Deserialize<'de> for SigningKey
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SigningKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SigningKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&SigningKey> for SignKey
impl From<&SigningKey> for SignKey
source§fn from(sk: &RawSignKey) -> SignKey
fn from(sk: &RawSignKey) -> SignKey
Converts to this type from the input type.
source§impl<'a> From<&'a SigningKey> for VerificationKey
impl<'a> From<&'a SigningKey> for VerificationKey
source§fn from(sk: &'a SigningKey) -> VerificationKey
fn from(sk: &'a SigningKey) -> VerificationKey
Converts to this type from the input type.
source§impl From<SerdeHelper> for SigningKey
impl From<SerdeHelper> for SigningKey
source§fn from(helper: SerdeHelper) -> SigningKey
fn from(helper: SerdeHelper) -> SigningKey
Converts to this type from the input type.
source§impl From<SigningKey> for SignKey
impl From<SigningKey> for SignKey
source§fn from(sk: RawSignKey) -> SignKey
fn from(sk: RawSignKey) -> SignKey
Converts to this type from the input type.
source§impl Serialize for SigningKey
impl Serialize for SigningKey
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl Signer<Signature> for SigningKey
impl Signer<Signature> for SigningKey
source§impl TryFrom<&[u8]> for SigningKey
impl TryFrom<&[u8]> for SigningKey
source§impl TryFrom<&SignKey> for RawSignKey
impl TryFrom<&SignKey> for RawSignKey
source§impl TryFrom<SignKey> for RawSignKey
impl TryFrom<SignKey> for RawSignKey
source§impl Zeroize for SigningKey
impl Zeroize for SigningKey
impl Copy for SigningKey
Auto Trait Implementations§
impl Freeze for SigningKey
impl RefUnwindSafe for SigningKey
impl Send for SigningKey
impl Sync for SigningKey
impl Unpin for SigningKey
impl UnwindSafe for SigningKey
Blanket Implementations§
source§impl<T, U> AsByteSlice<T> for U
impl<T, U> AsByteSlice<T> for U
fn as_byte_slice(&self) -> &[u8] ⓘ
source§impl<U> AsSliceOf for U
impl<U> AsSliceOf for U
fn as_slice_of<T>(&self) -> Result<&[T], Error>where
T: FromByteSlice,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<S, T> SignerMut<S> for Twhere
T: Signer<S>,
impl<S, T> SignerMut<S> for Twhere
T: Signer<S>,
source§impl<T> ToHex for T
impl<T> ToHex for T
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)