pub struct CmsSignedAttributes(/* private fields */);Available on macOS and crate feature
full only.Expand description
Mirrors signed-attribute bits used by the CMS encoder APIs.
Implementations§
Source§impl CmsSignedAttributes
impl CmsSignedAttributes
Sourcepub const SMIME_CAPABILITIES: Self
pub const SMIME_CAPABILITIES: Self
Mirrors a CMS signed-attribute bit.
Sourcepub const SMIME_ENCRYPTION_KEY_PREFS: Self
pub const SMIME_ENCRYPTION_KEY_PREFS: Self
Mirrors a CMS signed-attribute bit.
Sourcepub const SMIME_MS_ENCRYPTION_KEY_PREFS: Self
pub const SMIME_MS_ENCRYPTION_KEY_PREFS: Self
Mirrors a CMS signed-attribute bit.
Sourcepub const SIGNING_TIME: Self
pub const SIGNING_TIME: Self
Mirrors a CMS signed-attribute bit.
Sourcepub const APPLE_CODESIGNING_HASH_AGILITY: Self
pub const APPLE_CODESIGNING_HASH_AGILITY: Self
Mirrors a CMS signed-attribute bit.
Sourcepub const APPLE_CODESIGNING_HASH_AGILITY_V2: Self
pub const APPLE_CODESIGNING_HASH_AGILITY_V2: Self
Mirrors a CMS signed-attribute bit.
Sourcepub const APPLE_EXPIRATION_TIME: Self
pub const APPLE_EXPIRATION_TIME: Self
Mirrors a CMS signed-attribute bit.
pub const fn empty() -> Self
pub const fn all() -> Self
pub const fn bits(self) -> u32
pub const fn from_bits(bits: u32) -> Option<Self>
pub const fn from_bits_retain(bits: u32) -> Self
pub const fn from_bits_truncate(bits: u32) -> Self
pub const fn is_empty(self) -> bool
pub const fn is_all(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn intersects(self, other: Self) -> bool
pub const fn union(self, other: Self) -> Self
pub const fn intersection(self, other: Self) -> Self
pub const fn difference(self, other: Self) -> Self
pub const fn symmetric_difference(self, other: Self) -> Self
pub const fn complement(self) -> Self
pub fn insert(&mut self, other: Self)
pub fn remove(&mut self, other: Self)
pub fn toggle(&mut self, other: Self)
pub fn set(&mut self, other: Self, value: bool)
Trait Implementations§
Source§impl BitAnd for CmsSignedAttributes
impl BitAnd for CmsSignedAttributes
Source§impl BitAndAssign for CmsSignedAttributes
impl BitAndAssign for CmsSignedAttributes
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for CmsSignedAttributes
impl BitOr for CmsSignedAttributes
Source§impl BitOrAssign for CmsSignedAttributes
impl BitOrAssign for CmsSignedAttributes
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for CmsSignedAttributes
impl BitXor for CmsSignedAttributes
Source§impl BitXorAssign for CmsSignedAttributes
impl BitXorAssign for CmsSignedAttributes
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for CmsSignedAttributes
impl Clone for CmsSignedAttributes
impl Copy for CmsSignedAttributes
Source§impl Debug for CmsSignedAttributes
impl Debug for CmsSignedAttributes
impl Eq for CmsSignedAttributes
Source§impl Hash for CmsSignedAttributes
impl Hash for CmsSignedAttributes
Source§impl Not for CmsSignedAttributes
impl Not for CmsSignedAttributes
Source§impl PartialEq for CmsSignedAttributes
impl PartialEq for CmsSignedAttributes
impl StructuralPartialEq for CmsSignedAttributes
Source§impl Sub for CmsSignedAttributes
impl Sub for CmsSignedAttributes
Source§impl SubAssign for CmsSignedAttributes
impl SubAssign for CmsSignedAttributes
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreAuto Trait Implementations§
impl Freeze for CmsSignedAttributes
impl RefUnwindSafe for CmsSignedAttributes
impl Send for CmsSignedAttributes
impl Sync for CmsSignedAttributes
impl Unpin for CmsSignedAttributes
impl UnsafeUnpin for CmsSignedAttributes
impl UnwindSafe for CmsSignedAttributes
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