pub struct Curve25519SeedBin<'a>(/* private fields */);
Expand description
Serialized bytes
Trait Implementations§
Source§impl AsBigEndian<Curve25519SeedBin<'static>> for PrivateKey
impl AsBigEndian<Curve25519SeedBin<'static>> for PrivateKey
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.
Only X25519 is supported.
§Errors
error::Unspecified
if serialization failed.
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.
Source§impl Debug for Curve25519SeedBin<'_>
impl Debug for Curve25519SeedBin<'_>
Auto Trait Implementations§
impl<'a> Freeze for Curve25519SeedBin<'a>
impl<'a> RefUnwindSafe for Curve25519SeedBin<'a>
impl<'a> Send for Curve25519SeedBin<'a>
impl<'a> Sync for Curve25519SeedBin<'a>
impl<'a> Unpin for Curve25519SeedBin<'a>
impl<'a> UnwindSafe for Curve25519SeedBin<'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