Update Sparkle to 1.27.1 for Apple Silicon support.
[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 #if __has_feature(modules)
13 @import Foundation;
14 #else
15 #import <Foundation/Foundation.h>
16 #endif
17 #import "SUExport.h"
18
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;
24 @end
25
26 #endif