pub struct SigningKey<S: Scheme, K: KeySize> { /* private fields */ }Expand description
An RSA signing key
Trait Implementations§
Source§impl<S1: Scheme, S2: Scheme, K: KeySize> SetScheme<S2> for SigningKey<S1, K>
impl<S1: Scheme, S2: Scheme, K: KeySize> SetScheme<S2> for SigningKey<S1, K>
Source§type Output = SigningKey<S2, K>
type Output = SigningKey<S2, K>
The output type
Source§fn set_scheme(self) -> Self::Output
fn set_scheme(self) -> Self::Output
Set the scheme for this key.
Source§impl<S: Scheme, K: KeySize> SignMessage for SigningKey<S, K>
impl<S: Scheme, K: KeySize> SignMessage for SigningKey<S, K>
Source§impl<S: Scheme, K: KeySize> ToVerifier for SigningKey<S, K>
impl<S: Scheme, K: KeySize> ToVerifier for SigningKey<S, K>
Source§type Key = VerifyingKey<S, K>
type Key = VerifyingKey<S, K>
The verifying key
Source§fn verifying_key(&self) -> Self::Key
fn verifying_key(&self) -> Self::Key
Create a verifying key from this key.
Auto Trait Implementations§
impl<S, K> Freeze for SigningKey<S, K>
impl<S, K> RefUnwindSafe for SigningKey<S, K>where
S: RefUnwindSafe,
K: RefUnwindSafe,
impl<S, K> Send for SigningKey<S, K>
impl<S, K> Sync for SigningKey<S, K>
impl<S, K> Unpin for SigningKey<S, K>
impl<S, K> UnwindSafe for SigningKey<S, K>where
S: UnwindSafe,
K: UnwindSafe,
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