pub struct CmsDecoder { /* private fields */ }Implementations§
Source§impl CmsDecoder
impl CmsDecoder
pub fn type_id() -> usize
pub fn update_message(&mut self, data: &[u8]) -> Result<()>
pub fn finalize_message(&mut self) -> Result<()>
pub fn set_detached_content(&mut self, data: &[u8]) -> Result<()>
pub fn detached_content(&self) -> Result<Option<Vec<u8>>>
pub fn num_signers(&self) -> Result<usize>
pub fn signer_status( &self, signer_index: usize, policy: Option<&Policy>, evaluate_sec_trust: bool, ) -> Result<Value>
pub fn signer_email_address( &self, signer_index: usize, ) -> Result<Option<String>>
pub fn signer_certificate(&self, signer_index: usize) -> Result<Certificate>
pub fn is_content_encrypted(&self) -> Result<bool>
pub fn encapsulated_content_type(&self) -> Result<Option<Vec<u8>>>
pub fn content(&self) -> Result<Option<Vec<u8>>>
pub fn signer_signing_time( &self, signer_index: usize, ) -> Result<Option<SystemTime>>
pub fn signer_timestamp( &self, signer_index: usize, ) -> Result<Option<SystemTime>>
pub fn signer_timestamp_with_policy( &self, policy: Option<&Policy>, signer_index: usize, ) -> Result<Option<SystemTime>>
pub fn signer_timestamp_certificates( &self, signer_index: usize, ) -> Result<Value>
pub fn all_certificates(&self) -> Result<Vec<Certificate>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CmsDecoder
impl RefUnwindSafe for CmsDecoder
impl !Send for CmsDecoder
impl !Sync for CmsDecoder
impl Unpin for CmsDecoder
impl UnsafeUnpin for CmsDecoder
impl UnwindSafe for CmsDecoder
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