Struct openssl::pkcs7::Pkcs7SignedRef
source · pub struct Pkcs7SignedRef(/* private fields */);
Expand description
Reference to Pkcs7Signed
Implementations§
source§impl Pkcs7SignedRef
impl Pkcs7SignedRef
sourcepub fn certificates(&self) -> Option<&StackRef<X509>>
pub fn certificates(&self) -> Option<&StackRef<X509>>
Get the stack of certificates from the PKCS7_SIGNED object
Trait Implementations§
source§impl AsRef<Pkcs7SignedRef> for Pkcs7Signed
impl AsRef<Pkcs7SignedRef> for Pkcs7Signed
source§fn as_ref(&self) -> &Pkcs7SignedRef
fn as_ref(&self) -> &Pkcs7SignedRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<Pkcs7SignedRef> for Pkcs7Signed
impl Borrow<Pkcs7SignedRef> for Pkcs7Signed
source§fn borrow(&self) -> &Pkcs7SignedRef
fn borrow(&self) -> &Pkcs7SignedRef
Immutably borrows from an owned value. Read more
source§impl ForeignTypeRef for Pkcs7SignedRef
impl ForeignTypeRef for Pkcs7SignedRef
§type CType = PKCS7_SIGNED
type CType = PKCS7_SIGNED
The raw C type.
source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
source§unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.
impl Send for Pkcs7SignedRef
impl Sync for Pkcs7SignedRef
Auto Trait Implementations§
impl !RefUnwindSafe for Pkcs7SignedRef
impl Unpin for Pkcs7SignedRef
impl UnwindSafe for Pkcs7SignedRef
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