pub struct Ed25519Seed<'a> { /* private fields */ }
Expand description
The seed value for the EdDSA
signature scheme using Curve25519
Trait Implementations§
Source§impl AsBigEndian<Curve25519SeedBin<'static>> for Seed<'_>
impl AsBigEndian<Curve25519SeedBin<'static>> for Seed<'_>
Source§fn as_be_bytes(&self) -> Result<Curve25519SeedBin<'static>, Unspecified>
fn as_be_bytes(&self) -> Result<Curve25519SeedBin<'static>, Unspecified>
Exposes the seed encoded as a big-endian fixed-length integer.
For most use-cases, EcdsaKeyPair::to_pkcs8()
should be preferred.
§Errors
error::Unspecified
if serialization failed.
Auto Trait Implementations§
impl<'a> Freeze for Seed<'a>
impl<'a> RefUnwindSafe for Seed<'a>
impl<'a> Send for Seed<'a>
impl<'a> Sync for Seed<'a>
impl<'a> Unpin for Seed<'a>
impl<'a> UnwindSafe for Seed<'a>
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