pub struct VerifyingKey<S: Scheme, K: KeySize> { /* private fields */ }Expand description
An RSA verifying key
Implementations§
Source§impl<S: Scheme, K: KeySize> VerifyingKey<S, K>
impl<S: Scheme, K: KeySize> VerifyingKey<S, K>
Sourcepub fn from_parameters(modulus: &[u8], exponent: &[u8]) -> Option<Self>
pub fn from_parameters(modulus: &[u8], exponent: &[u8]) -> Option<Self>
Create an RSA key from its parameters
Trait Implementations§
Source§impl<S: Scheme, K: KeySize> Parameters for VerifyingKey<S, K>
impl<S: Scheme, K: KeySize> Parameters for VerifyingKey<S, K>
Source§impl<S1: Scheme, S2: Scheme, K: KeySize> SetScheme<S2> for VerifyingKey<S1, K>
impl<S1: Scheme, S2: Scheme, K: KeySize> SetScheme<S2> for VerifyingKey<S1, K>
Source§type Output = VerifyingKey<S2, K>
type Output = VerifyingKey<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> VerifySignature for VerifyingKey<S, K>
impl<S: Scheme, K: KeySize> VerifySignature for VerifyingKey<S, K>
Auto Trait Implementations§
impl<S, K> Freeze for VerifyingKey<S, K>
impl<S, K> RefUnwindSafe for VerifyingKey<S, K>where
S: RefUnwindSafe,
K: RefUnwindSafe,
impl<S, K> Send for VerifyingKey<S, K>
impl<S, K> Sync for VerifyingKey<S, K>
impl<S, K> Unpin for VerifyingKey<S, K>
impl<S, K> UnwindSafe for VerifyingKey<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