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