pub struct Ed25519PrivateKey { /* private fields */ }Expand description
Private key for the ed25519 algorithm.
Trait Implementations§
Source§impl<RNG: RngCore + CryptoRng> AttenuationKeyGenerator<Ed25519PublicKey, Ed25519PrivateKey> for EddsaKeyGen<RNG>
impl<RNG: RngCore + CryptoRng> AttenuationKeyGenerator<Ed25519PublicKey, Ed25519PrivateKey> for EddsaKeyGen<RNG>
Source§fn generate_attenuation_key(
&self,
) -> Result<(Ed25519PublicKey, Ed25519PrivateKey)>
fn generate_attenuation_key( &self, ) -> Result<(Ed25519PublicKey, Ed25519PrivateKey)>
Generate a new, random attenuation key.
Source§impl Clone for Ed25519PrivateKey
impl Clone for Ed25519PrivateKey
Source§impl Debug for Ed25519PrivateKey
impl Debug for Ed25519PrivateKey
Source§impl<'de> Deserialize<'de> for Ed25519PrivateKey
impl<'de> Deserialize<'de> for Ed25519PrivateKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Ed25519PrivateKey> for JWK
impl From<&Ed25519PrivateKey> for JWK
Source§fn from(k: &Ed25519PrivateKey) -> Self
fn from(k: &Ed25519PrivateKey) -> Self
Converts to this type from the input type.
Source§impl From<Ed25519PrivateKey> for JWK
impl From<Ed25519PrivateKey> for JWK
Source§fn from(k: Ed25519PrivateKey) -> Self
fn from(k: Ed25519PrivateKey) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Ed25519PrivateKey
impl PartialEq for Ed25519PrivateKey
Source§impl PrivateKey for Ed25519PrivateKey
impl PrivateKey for Ed25519PrivateKey
Source§impl Serialize for Ed25519PrivateKey
impl Serialize for Ed25519PrivateKey
Source§impl TryFrom<&JWK> for Ed25519PrivateKey
impl TryFrom<&JWK> for Ed25519PrivateKey
Source§impl TryFrom<JWK> for Ed25519PrivateKey
impl TryFrom<JWK> for Ed25519PrivateKey
impl Eq for Ed25519PrivateKey
Auto Trait Implementations§
impl Freeze for Ed25519PrivateKey
impl RefUnwindSafe for Ed25519PrivateKey
impl Send for Ed25519PrivateKey
impl Sync for Ed25519PrivateKey
impl Unpin for Ed25519PrivateKey
impl UnwindSafe for Ed25519PrivateKey
Blanket Implementations§
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