-
Oliver Wiese authoredOliver Wiese authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
PGPSignatureSubpacketCreationTime.h 846 B
//
// PGPSignatureSubpacketCreationTime.h
// ObjectivePGP
//
// Created by Marcin Krzyzanowski on 10/07/2017.
// Copyright © 2017 Marcin Krzyżanowski. All rights reserved.
//
// 5.2.3.4. Signature Creation Time
// Signature Creation Time MUST be present in the hashed area.
#import <ObjectivePGP/PGPTypes.h>
#import <ObjectivePGP/PGPMacros.h>
#import <ObjectivePGP/PGPExportableProtocol.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface PGPSignatureSubpacketCreationTime : NSObject <PGPExportable>
@property (nonatomic, copy, readonly) NSDate *value;
@property (class, nonatomic, readonly) PGPSignatureSubpacketType type;
PGP_EMPTY_INIT_UNAVAILABLE
- (instancetype)initWithDate:(NSDate *)date NS_DESIGNATED_INITIALIZER;
+ (instancetype)packetWithData:(NSData *)packetBodyData;
@end
NS_ASSUME_NONNULL_END