pub struct ParsedCertificate<'a>(/* private fields */);
Expand description
Wrapper around internal representation of a parsed certificate.
This is used in order to avoid parsing twice when specifying custom verification
Implementations§
Source§impl ParsedCertificate<'_>
impl ParsedCertificate<'_>
Sourcepub fn subject_public_key_info(&self) -> SubjectPublicKeyInfoDer<'static>
pub fn subject_public_key_info(&self) -> SubjectPublicKeyInfoDer<'static>
Get the parsed certificate’s SubjectPublicKeyInfo (SPKI)
Trait Implementations§
Source§impl<'a> TryFrom<&'a CertificateDer<'a>> for ParsedCertificate<'a>
impl<'a> TryFrom<&'a CertificateDer<'a>> for ParsedCertificate<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParsedCertificate<'a>
impl<'a> RefUnwindSafe for ParsedCertificate<'a>
impl<'a> Send for ParsedCertificate<'a>
impl<'a> Sync for ParsedCertificate<'a>
impl<'a> Unpin for ParsedCertificate<'a>
impl<'a> UnwindSafe for ParsedCertificate<'a>
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 248 bytes