Struct openssl::pkcs7::Pkcs7Signed
source · pub struct Pkcs7Signed(/* private fields */);
Expand description
A PKCS#7 signed data structure.
Contains signed data.
Methods from Deref<Target = 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 Deref for Pkcs7Signed
impl Deref for Pkcs7Signed
§type Target = Pkcs7SignedRef
type Target = Pkcs7SignedRef
The resulting type after dereferencing.
source§fn deref(&self) -> &Pkcs7SignedRef
fn deref(&self) -> &Pkcs7SignedRef
Dereferences the value.
source§impl DerefMut for Pkcs7Signed
impl DerefMut for Pkcs7Signed
source§fn deref_mut(&mut self) -> &mut Pkcs7SignedRef
fn deref_mut(&mut self) -> &mut Pkcs7SignedRef
Mutably dereferences the value.
source§impl Drop for Pkcs7Signed
impl Drop for Pkcs7Signed
source§impl ForeignType for Pkcs7Signed
impl ForeignType for Pkcs7Signed
§type CType = PKCS7_SIGNED
type CType = PKCS7_SIGNED
The raw C type.
§type Ref = Pkcs7SignedRef
type Ref = Pkcs7SignedRef
The type representing a reference to this type.
source§unsafe fn from_ptr(ptr: *mut PKCS7_SIGNED) -> Pkcs7Signed
unsafe fn from_ptr(ptr: *mut PKCS7_SIGNED) -> Pkcs7Signed
Constructs an instance of this type from its raw type.
source§fn as_ptr(&self) -> *mut PKCS7_SIGNED
fn as_ptr(&self) -> *mut PKCS7_SIGNED
Returns a raw pointer to the wrapped value.
impl Send for Pkcs7Signed
impl Sync for Pkcs7Signed
Auto Trait Implementations§
impl Freeze for Pkcs7Signed
impl RefUnwindSafe for Pkcs7Signed
impl Unpin for Pkcs7Signed
impl UnwindSafe for Pkcs7Signed
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