Skip to main content

parse_decoded_provisioning_profile

Function parse_decoded_provisioning_profile 

Source
pub fn parse_decoded_provisioning_profile(
    decoded_plist: &[u8],
) -> Result<ProvisioningProfile, ProvisioningProfileParseError>
Expand description

Parse bounded XML or binary plist bytes obtained after CMS decoding.

This function deliberately does not decode CMS, invoke Security.framework, or run external commands.

ยงErrors

Returns a secret-free typed error for malformed, oversized, incomplete, or internally inconsistent profile metadata.