pub struct CmsSignerInfo<'a> { /* private fields */ }Expand description
A borrowed reference to a CMS_SignerInfo within a CmsContentInfo.
The lifetime is tied to the CmsContentInfo that owns the signer info
stack; the pointer is valid only while that parent is alive.
Implementations§
Source§impl CmsSignerInfo<'_>
impl CmsSignerInfo<'_>
Sourcepub fn signer_cert(&self) -> Option<X509>
pub fn signer_cert(&self) -> Option<X509>
Return the signer certificate embedded in this signer info, if any.
Returns None if the certificate was not embedded (e.g. CmsSignFlags::NOCERTS
was set when signing).
Auto Trait Implementations§
impl<'a> Freeze for CmsSignerInfo<'a>
impl<'a> RefUnwindSafe for CmsSignerInfo<'a>
impl<'a> !Send for CmsSignerInfo<'a>
impl<'a> !Sync for CmsSignerInfo<'a>
impl<'a> Unpin for CmsSignerInfo<'a>
impl<'a> UnsafeUnpin for CmsSignerInfo<'a>
impl<'a> UnwindSafe for CmsSignerInfo<'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