Function tugger_apple_codesign::parse_signature_data[][src]

pub fn parse_signature_data(
    data: &[u8]
) -> Result<EmbeddedSignature<'_>, AppleCodesignError>

Parse raw Mach-O signature data into a data structure.

The source data likely came from the __LINKEDIT segment and was discovered via find_signature_data().

Only a high-level parse of the super blob and its blob indices is performed: the parser does not look inside individual blob payloads.