Struct authenticode_parser::Certificate
source · pub struct Certificate<'a>(/* private fields */);
Expand description
Authenticode certificate.
Implementations§
source§impl Certificate<'_>
impl Certificate<'_>
sourcepub fn sig_alg_oid(&self) -> Option<&[u8]>
pub fn sig_alg_oid(&self) -> Option<&[u8]>
OID of the signature algorithm.
sourcepub fn not_before(&self) -> i64
pub fn not_before(&self) -> i64
NotBefore
validity.
sourcepub fn issuer_attrs(&self) -> Attributes<'_>
pub fn issuer_attrs(&self) -> Attributes<'_>
Parsed X509 Attributes of Issuer.
sourcepub fn subject_attrs(&self) -> Attributes<'_>
pub fn subject_attrs(&self) -> Attributes<'_>
Parsed X509 Attributes of Subject.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Certificate<'a>
impl<'a> !Send for Certificate<'a>
impl<'a> !Sync for Certificate<'a>
impl<'a> Unpin for Certificate<'a>
impl<'a> UnwindSafe for Certificate<'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