pub struct CodeSigningFlags(/* private fields */);Available on macOS and crate feature
full only.Expand description
Mirrors SecCSFlags.
Implementations§
Source§impl CodeSigningFlags
impl CodeSigningFlags
Sourcepub const CHECK_ALL_ARCHITECTURES: Self
pub const CHECK_ALL_ARCHITECTURES: Self
Mirrors a SecCSFlags bit.
Sourcepub const DO_NOT_VALIDATE_EXECUTABLE: Self
pub const DO_NOT_VALIDATE_EXECUTABLE: Self
Mirrors a SecCSFlags bit.
Sourcepub const DO_NOT_VALIDATE_RESOURCES: Self
pub const DO_NOT_VALIDATE_RESOURCES: Self
Mirrors a SecCSFlags bit.
Sourcepub const BASIC_VALIDATE_ONLY: Self
pub const BASIC_VALIDATE_ONLY: Self
Mirrors a SecCSFlags bit.
Sourcepub const CHECK_NESTED_CODE: Self
pub const CHECK_NESTED_CODE: Self
Mirrors a SecCSFlags bit.
Sourcepub const STRICT_VALIDATE: Self
pub const STRICT_VALIDATE: Self
Mirrors a SecCSFlags bit.
Sourcepub const FULL_REPORT: Self
pub const FULL_REPORT: Self
Mirrors a SecCSFlags bit.
Sourcepub const CHECK_GATEKEEPER_ARCHITECTURES: Self
pub const CHECK_GATEKEEPER_ARCHITECTURES: Self
Mirrors a SecCSFlags bit.
Sourcepub const RESTRICT_SYMLINKS: Self
pub const RESTRICT_SYMLINKS: Self
Mirrors a SecCSFlags bit.
Sourcepub const RESTRICT_TO_APP_LIKE: Self
pub const RESTRICT_TO_APP_LIKE: Self
Mirrors a SecCSFlags bit.
Sourcepub const RESTRICT_SIDEBAND_DATA: Self
pub const RESTRICT_SIDEBAND_DATA: Self
Mirrors a SecCSFlags bit.
Sourcepub const USE_SOFTWARE_SIGNING_CERT: Self
pub const USE_SOFTWARE_SIGNING_CERT: Self
Mirrors a SecCSFlags bit.
Sourcepub const VALIDATE_PEH: Self
pub const VALIDATE_PEH: Self
Mirrors a SecCSFlags bit.
Sourcepub const SINGLE_THREADED: Self
pub const SINGLE_THREADED: Self
Mirrors a SecCSFlags bit.
Sourcepub const ALLOW_NETWORK_ACCESS: Self
pub const ALLOW_NETWORK_ACCESS: Self
Mirrors a SecCSFlags bit.
Sourcepub const FAST_EXECUTABLE_VALIDATION: Self
pub const FAST_EXECUTABLE_VALIDATION: Self
Mirrors a SecCSFlags bit.
pub const CHECK_TRUSTED_ANCHORS: Self
pub const NO_NETWORK_ACCESS: Self
pub const ENFORCE_REVOCATION_CHECKS: Self
pub const CONSIDER_EXPIRATION: Self
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 CodeSigningFlags
impl BitAnd for CodeSigningFlags
Source§impl BitAndAssign for CodeSigningFlags
impl BitAndAssign for CodeSigningFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for CodeSigningFlags
impl BitOr for CodeSigningFlags
Source§impl BitOrAssign for CodeSigningFlags
impl BitOrAssign for CodeSigningFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for CodeSigningFlags
impl BitXor for CodeSigningFlags
Source§impl BitXorAssign for CodeSigningFlags
impl BitXorAssign for CodeSigningFlags
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for CodeSigningFlags
impl Clone for CodeSigningFlags
impl Copy for CodeSigningFlags
Source§impl Debug for CodeSigningFlags
impl Debug for CodeSigningFlags
impl Eq for CodeSigningFlags
Source§impl Hash for CodeSigningFlags
impl Hash for CodeSigningFlags
Source§impl Not for CodeSigningFlags
impl Not for CodeSigningFlags
Source§impl PartialEq for CodeSigningFlags
impl PartialEq for CodeSigningFlags
impl StructuralPartialEq for CodeSigningFlags
Source§impl Sub for CodeSigningFlags
impl Sub for CodeSigningFlags
Source§impl SubAssign for CodeSigningFlags
impl SubAssign for CodeSigningFlags
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 CodeSigningFlags
impl RefUnwindSafe for CodeSigningFlags
impl Send for CodeSigningFlags
impl Sync for CodeSigningFlags
impl Unpin for CodeSigningFlags
impl UnsafeUnpin for CodeSigningFlags
impl UnwindSafe for CodeSigningFlags
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