Skip to content

Latest commit

 

History

History
17 lines (8 loc) · 456 Bytes

README.md

File metadata and controls

17 lines (8 loc) · 456 Bytes

MachOSign

get Signature in MachO file

Codes are copy from the Security library which Apple opensource in here . Codes are at Security/Tool / codesign.c in detail.

Usage

Use MachOSign to get the signature info in the MachO file .

The return of loadSignature is a NSDictionary which contains the signature certificate detail info and the SHA1 of the signature certificate.

Demo :