Upgrade to Sparkle 1.21.3.
[macgdbp.git] / Sparkle.framework / Versions / A / Headers / SUCodeSigningVerifier.h
1 //
2 // SUCodeSigningVerifier.h
3 // Sparkle
4 //
5 // Created by Andy Matuschak on 7/5/12.
6 //
7 //
8
9 #ifndef SUCODESIGNINGVERIFIER_H
10 #define SUCODESIGNINGVERIFIER_H
11
12 #import <Foundation/Foundation.h>
13 #import "SUExport.h"
14
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;
20 @end
21
22 #endif