pub struct EcdsaPrivateKey<const SIZE: usize> { /* private fields */ }
Available on crate feature
ecdsa
only.Expand description
Elliptic Curve Digital Signature Algorithm (ECDSA) private key.
Implementations§
Trait Implementations§
Source§impl<const SIZE: usize> Clone for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Clone for EcdsaPrivateKey<SIZE>
Source§fn clone(&self) -> EcdsaPrivateKey<SIZE>
fn clone(&self) -> EcdsaPrivateKey<SIZE>
Returns a duplicate 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<const SIZE: usize> ConstantTimeEq for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> ConstantTimeEq for EcdsaPrivateKey<SIZE>
Source§impl<const SIZE: usize> Debug for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Debug for EcdsaPrivateKey<SIZE>
Source§impl<const SIZE: usize> Decode for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Decode for EcdsaPrivateKey<SIZE>
Source§impl<const SIZE: usize> Drop for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Drop for EcdsaPrivateKey<SIZE>
Source§impl<const SIZE: usize> Encode for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Encode for EcdsaPrivateKey<SIZE>
Source§fn encoded_len(&self) -> Result<usize>
fn encoded_len(&self) -> Result<usize>
Get the length of this type encoded in bytes, prior to Base64 encoding.
Source§fn encode(&self, writer: &mut impl Writer) -> Result<()>
fn encode(&self, writer: &mut impl Writer) -> Result<()>
Encode this value using the provided
Writer
.Source§fn encoded_len_prefixed(&self) -> Result<usize, Error>
fn encoded_len_prefixed(&self) -> Result<usize, Error>
Return the length of this type after encoding when prepended with a
uint32
length prefix.Source§fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value, first prepending a
uint32
length prefix
set to Encode::encoded_len
.Source§impl<const SIZE: usize> LowerHex for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> LowerHex for EcdsaPrivateKey<SIZE>
Source§impl<const SIZE: usize> PartialEq for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> PartialEq for EcdsaPrivateKey<SIZE>
Source§impl<const SIZE: usize> UpperHex for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> UpperHex for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Eq for EcdsaPrivateKey<SIZE>
Auto Trait Implementations§
impl<const SIZE: usize> Freeze for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> RefUnwindSafe for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Send for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Sync for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Unpin for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> UnwindSafe for EcdsaPrivateKey<SIZE>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.