Skip to main content

adhoc_sign

Function adhoc_sign 

Source
pub fn adhoc_sign(path: &Path) -> Result<(), CodesignError>
Expand description

Sign a file with an ad-hoc identity (no certificate needed).

ยงErrors

  • [CodesignError::Io] if the codesign process cannot be spawned.
  • [CodesignError::Failed] if codesign exits with a non-zero status.