pub struct SigningKey<'a, M: RawMutex, PHY> { /* private fields */ }Implementations§
Source§impl<'a, M: RawMutex, PHY> SigningKey<'a, M, PHY>
impl<'a, M: RawMutex, PHY> SigningKey<'a, M, PHY>
pub fn verifying_key(&'a mut self) -> VerifyingKey<'a, M, PHY>
Source§impl<'a, M, PHY> SigningKey<'a, M, PHY>
impl<'a, M, PHY> SigningKey<'a, M, PHY>
Source§impl<'a, M, PHY> SigningKey<'a, M, PHY>
impl<'a, M, PHY> SigningKey<'a, M, PHY>
Trait Implementations§
Source§impl<'a, M, PHY, D> DigestSigner<D, Signature<NistP256>> for SigningKey<'a, M, PHY>
impl<'a, M, PHY, D> DigestSigner<D, Signature<NistP256>> for SigningKey<'a, M, PHY>
Source§fn try_sign_digest(&self, digest: D) -> Result<Signature>
fn try_sign_digest(&self, digest: D) -> Result<Signature>
Attempt to sign the given prehashed message
Digest, returning a
digital signature on success, or an error if something went wrong.Source§fn sign_digest(&self, digest: D) -> S
fn sign_digest(&self, digest: D) -> S
Source§impl<'a, M, PHY, D> DigestSigner<D, Signature<NistP256>> for SigningKey<'a, M, PHY>
impl<'a, M, PHY, D> DigestSigner<D, Signature<NistP256>> for SigningKey<'a, M, PHY>
Source§fn try_sign_digest(&self, digest: D) -> Result<DerSignature>
fn try_sign_digest(&self, digest: D) -> Result<DerSignature>
Attempt to sign the given prehashed message
Digest, returning a
digital signature on success, or an error if something went wrong.Source§fn sign_digest(&self, digest: D) -> S
fn sign_digest(&self, digest: D) -> S
Source§impl<'a, M, PHY> Keypair for SigningKey<'a, M, PHY>
impl<'a, M, PHY> Keypair for SigningKey<'a, M, PHY>
Source§type VerifyingKey = PublicKey
type VerifyingKey = PublicKey
Verifying key type for this keypair.
Source§fn verifying_key(&self) -> Self::VerifyingKey
fn verifying_key(&self) -> Self::VerifyingKey
Get the verifying key which can verify signatures produced by the
signing key portion of this keypair.
Source§impl<'a, M, PHY> PrehashSigner<Signature<NistP256>> for SigningKey<'a, M, PHY>
impl<'a, M, PHY> PrehashSigner<Signature<NistP256>> for SigningKey<'a, M, PHY>
Source§impl<'a, M, PHY> PrehashSigner<Signature<NistP256>> for SigningKey<'a, M, PHY>
impl<'a, M, PHY> PrehashSigner<Signature<NistP256>> for SigningKey<'a, M, PHY>
Source§fn sign_prehash(&self, prehash: &[u8]) -> Result<DerSignature>
fn sign_prehash(&self, prehash: &[u8]) -> Result<DerSignature>
Attempt to sign the given message digest, returning a digital signature
on success, or an error if something went wrong. Read more
Auto Trait Implementations§
impl<'a, M, PHY> !RefUnwindSafe for SigningKey<'a, M, PHY>
impl<'a, M, PHY> !UnwindSafe for SigningKey<'a, M, PHY>
impl<'a, M, PHY> Forget for SigningKey<'a, M, PHY>
impl<'a, M, PHY> Freeze for SigningKey<'a, M, PHY>where
&'a AtCaClient<M, PHY>: Freeze,
impl<'a, M, PHY> Move for SigningKey<'a, M, PHY>
impl<'a, M, PHY> Send for SigningKey<'a, M, PHY>where
&'a AtCaClient<M, PHY>: Send,
impl<'a, M, PHY> Sync for SigningKey<'a, M, PHY>where
&'a AtCaClient<M, PHY>: Sync,
impl<'a, M, PHY> Unpin for SigningKey<'a, M, PHY>where
&'a AtCaClient<M, PHY>: Unpin,
impl<'a, M, PHY> UnsafeUnpin for SigningKey<'a, M, PHY>where
&'a AtCaClient<M, PHY>: UnsafeUnpin,
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