Struct x509_parser::public_key::RSAPublicKey
source · [−]Expand description
RSA public Key, defined in rfc3279
Fields
modulus: &'a [u8]
Raw bytes of the modulus
This possibly includes a leading 0 if the MSB is 1
exponent: &'a [u8]
Raw bytes of the exponent
This possibly includes a leading 0 if the MSB is 1
Implementations
sourceimpl<'a> RSAPublicKey<'a>
impl<'a> RSAPublicKey<'a>
Trait Implementations
sourceimpl<'a> Debug for RSAPublicKey<'a>
impl<'a> Debug for RSAPublicKey<'a>
sourceimpl<'a> FromDer<'a, X509Error> for RSAPublicKey<'a>
impl<'a> FromDer<'a, X509Error> for RSAPublicKey<'a>
sourcefn from_der(bytes: &'a [u8]) -> X509Result<'a, Self>
fn from_der(bytes: &'a [u8]) -> X509Result<'a, Self>
Attempt to parse input bytes into a DER object (enforcing constraints)
sourceimpl<'a> PartialEq<RSAPublicKey<'a>> for RSAPublicKey<'a>
impl<'a> PartialEq<RSAPublicKey<'a>> for RSAPublicKey<'a>
sourcefn eq(&self, other: &RSAPublicKey<'a>) -> bool
fn eq(&self, other: &RSAPublicKey<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RSAPublicKey<'a>) -> bool
fn ne(&self, other: &RSAPublicKey<'a>) -> bool
This method tests for !=
.
impl<'a> StructuralPartialEq for RSAPublicKey<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for RSAPublicKey<'a>
impl<'a> Send for RSAPublicKey<'a>
impl<'a> Sync for RSAPublicKey<'a>
impl<'a> Unpin for RSAPublicKey<'a>
impl<'a> UnwindSafe for RSAPublicKey<'a>
Blanket Implementations
sourceimpl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
sourceimpl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more