Struct tugger_apple_codesign::SignedMachOInfo [−][src]
pub struct SignedMachOInfo { pub code_directory_blob: Vec<u8>, pub designated_code_requirement: Option<String>, }
Metadata about a signed Mach-O file or bundle.
If referring to a bundle, the metadata refers to the 1st Mach-O in the bundle’s main executable.
This contains enough metadata to construct references to the file/bundle in crate::code_resources::CodeResources files.
Fields
code_directory_blob: Vec<u8>
Raw data constituting the code directory blob.
Is typically digested to construct a
designated_code_requirement: Option<String>
Designated code requirements string.
Typically pccupies a <key>requirement</key>
in a
crate::code_resources::CodeResources file.
Implementations
impl SignedMachOInfo
[src]
impl SignedMachOInfo
[src]pub fn parse_data(data: &[u8]) -> Result<Self, AppleCodesignError>
[src]
pub fn parse_data(data: &[u8]) -> Result<Self, AppleCodesignError>
[src]Parse Mach-O data to obtain an instance.
Auto Trait Implementations
impl RefUnwindSafe for SignedMachOInfo
impl Send for SignedMachOInfo
impl Sync for SignedMachOInfo
impl Unpin for SignedMachOInfo
impl UnwindSafe for SignedMachOInfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,