2022-04-05 20:41:55 +01:00
|
|
|
//
|
|
|
|
|
// SUAppcastItem+Private.h
|
|
|
|
|
// Sparkle
|
|
|
|
|
//
|
|
|
|
|
// Created by Mayur Pawashe on 4/30/21.
|
|
|
|
|
// Copyright © 2021 Sparkle Project. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#ifndef SUAppcastItem_Private_h
|
|
|
|
|
#define SUAppcastItem_Private_h
|
|
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
// Available in SPUAppcastItemStateResolver.h (a private exposed header)
|
|
|
|
|
@class SPUAppcastItemStateResolver;
|
2022-12-03 14:51:28 +00:00
|
|
|
@class SUSignatures;
|
2022-04-05 20:41:55 +01:00
|
|
|
|
|
|
|
|
@interface SUAppcastItem (Private) <NSSecureCoding>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
Initializes with data from a dictionary provided by the RSS class and state resolver
|
|
|
|
|
|
|
|
|
|
This initializer method is intended to be marked "private" and discouraged from public usage.
|
|
|
|
|
This method is available however. Talk to us to describe your use case and if you need to construct appcast items yourself.
|
|
|
|
|
*/
|
|
|
|
|
- (nullable instancetype)initWithDictionary:(NSDictionary *)dict relativeToURL:(NSURL * _Nullable)appcastURL stateResolver:(SPUAppcastItemStateResolver *)stateResolver failureReason:(NSString * _Nullable __autoreleasing *_Nullable)error;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
The DSA and EdDSA signatures along with their statuses.
|
|
|
|
|
*/
|
|
|
|
|
@property (readonly, nullable) SUSignatures *signatures;
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
|
|
|
|
|
|
#endif /* SUAppcastItem_Private_h */
|