Struct rustls::server::ParsedCertificate
source · 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