pub enum SigningKey {}Expand description
Signing key types.
Implementations§
Source§impl SigningKey
impl SigningKey
Sourcepub fn sign_digest(&self, msg_digest: &[u8]) -> Result<Vec<u8>>
pub fn sign_digest(&self, msg_digest: &[u8]) -> Result<Vec<u8>>
Sign the given prehashed message digest with this key.
Sourcepub fn verifying_key(&self) -> VerifyingKey
pub fn verifying_key(&self) -> VerifyingKey
Get the VerifyingKey that corresponds to this signing key.
Auto Trait Implementations§
impl Freeze for SigningKey
impl RefUnwindSafe for SigningKey
impl Send for SigningKey
impl Sync for SigningKey
impl Unpin for SigningKey
impl UnsafeUnpin for SigningKey
impl UnwindSafe for SigningKey
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