pub struct SigningKey<C: IntrinsicCurve> { /* private fields */ }Expand description
This is placeholder struct for compatibility purposes with the ecdsa crate.
Signing from private keys is not supported yet.
Implementations§
Source§impl<C: IntrinsicCurve> SigningKey<C>
impl<C: IntrinsicCurve> SigningKey<C>
pub fn from_slice(_bytes: &[u8]) -> Result<Self>
pub fn verifying_key(&self) -> &VerifyingKey<C>
Source§impl<C> SigningKey<C>where
C: IntrinsicCurve + PrimeCurve,
impl<C> SigningKey<C>where
C: IntrinsicCurve + PrimeCurve,
pub fn sign_prehash_recoverable( &self, _prehash: &[u8], ) -> Result<(Signature<C>, RecoveryId)>
Trait Implementations§
Source§impl<C: Clone + IntrinsicCurve> Clone for SigningKey<C>
impl<C: Clone + IntrinsicCurve> Clone for SigningKey<C>
Auto Trait Implementations§
impl<C> Freeze for SigningKey<C>
impl<C> RefUnwindSafe for SigningKey<C>
impl<C> Send for SigningKey<C>
impl<C> Sync for SigningKey<C>
impl<C> Unpin for SigningKey<C>
impl<C> UnsafeUnpin for SigningKey<C>
impl<C> UnwindSafe for SigningKey<C>
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