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
Source§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.