2 // SUCodeSigningVerifier.h
5 // Created by Andy Matuschak on 7/5/12.
9 #ifndef SUCODESIGNINGVERIFIER_H
10 #define SUCODESIGNINGVERIFIER_H
12 #if __has_feature(modules)
15 #import <Foundation/Foundation.h>
19 SU_EXPORT @interface SUCodeSigningVerifier
: NSObject
20 + (BOOL
)codeSignatureAtBundleURL
:(NSURL
*)oldBundlePath matchesSignatureAtBundleURL
:(NSURL
*)newBundlePath error
:(NSError
**)error
;
21 + (BOOL
)codeSignatureIsValidAtBundleURL
:(NSURL
*)bundlePath error
:(NSError
**)error
;
22 + (BOOL
)bundleAtURLIsCodeSigned
:(NSURL
*)bundlePath
;
23 + (NSDictionary
*)codeSignatureInfoAtBundleURL
:(NSURL
*)bundlePath
;