Struct x509_parser::public_key::RSAPublicKey
source · pub struct RSAPublicKey<'a> {
pub modulus: &'a [u8],
pub exponent: &'a [u8],
}
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§
Trait Implementations§
source§impl<'a> Debug for RSAPublicKey<'a>
impl<'a> Debug for RSAPublicKey<'a>
source§impl<'a> FromDer<'a, X509Error> for RSAPublicKey<'a>
impl<'a> FromDer<'a, X509Error> for RSAPublicKey<'a>
source§fn 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)
source§impl<'a> PartialEq for RSAPublicKey<'a>
impl<'a> PartialEq for RSAPublicKey<'a>
impl<'a> Eq for RSAPublicKey<'a>
impl<'a> StructuralPartialEq for RSAPublicKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for RSAPublicKey<'a>
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§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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