pub struct RsaVerifyingKey(/* private fields */);Expand description
An RSA public key.
Implementations§
Source§impl RsaVerifyingKey
impl RsaVerifyingKey
Sourcepub fn from_der(der: &[u8]) -> Result<RsaVerifyingKey>
pub fn from_der(der: &[u8]) -> Result<RsaVerifyingKey>
Create a verification key from a DER-encoded set of the parameters.
Sourcepub fn from_components(n: &[u8], e: &[u8]) -> Result<RsaVerifyingKey>
pub fn from_components(n: &[u8], e: &[u8]) -> Result<RsaVerifyingKey>
Create a verification key from a modulus and a public exponent.
Trait Implementations§
Source§impl AsRef<RSAPublicKey> for RsaVerifyingKey
impl AsRef<RSAPublicKey> for RsaVerifyingKey
Source§fn as_ref(&self) -> &RSAPublicKey
fn as_ref(&self) -> &RSAPublicKey
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for RsaVerifyingKey
impl Clone for RsaVerifyingKey
Source§fn clone(&self) -> RsaVerifyingKey
fn clone(&self) -> RsaVerifyingKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RsaVerifyingKey
impl Debug for RsaVerifyingKey
impl Eq for RsaVerifyingKey
Source§impl PartialEq for RsaVerifyingKey
impl PartialEq for RsaVerifyingKey
impl StructuralPartialEq for RsaVerifyingKey
Auto Trait Implementations§
impl Freeze for RsaVerifyingKey
impl RefUnwindSafe for RsaVerifyingKey
impl Send for RsaVerifyingKey
impl Sync for RsaVerifyingKey
impl Unpin for RsaVerifyingKey
impl UnsafeUnpin for RsaVerifyingKey
impl UnwindSafe for RsaVerifyingKey
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