OTEscrowTranslation.h [plain text]
#ifndef EscrowTranslation_h
#define EscrowTranslation_h
#if __OBJC2__
#import <Foundation/Foundation.h>
#import <Security/Security.h>
#import <OctagonTrust/OTEscrowRecord.h>
#import <OctagonTrust/OTEscrowAuthenticationInformation.h>
#import <OctagonTrust/OTICDPRecordContext.h>
#import <OctagonTrust/OTCDPRecoveryInformation.h>
NS_ASSUME_NONNULL_BEGIN
@interface OTEscrowTranslation : NSObject
+ (OTEscrowAuthenticationInformation* _Nullable )dictionaryToEscrowAuthenticationInfo:(NSDictionary*)dictionary;
+ (NSDictionary* _Nullable)escrowAuthenticationInfoToDictionary:(OTEscrowAuthenticationInformation*)escrowAuthInfo;
+ (OTEscrowRecord* _Nullable)dictionaryToEscrowRecord:(NSDictionary*)dictionary;
+ (NSDictionary* _Nullable)escrowRecordToDictionary:(OTEscrowRecord*)escrowRecord;
+ (OTICDPRecordContext* _Nullable)dictionaryToCDPRecordContext:(NSDictionary*)dictionary;
+ (NSDictionary* _Nullable)CDPRecordContextToDictionary:(OTICDPRecordContext*)context;
+ (NSDictionary * _Nullable) metadataToDictionary:(OTEscrowRecordMetadata*)metadata;
+ (OTEscrowRecordMetadata * _Nullable) dictionaryToMetadata:(NSDictionary*)dictionary;
+ (BOOL)supportedRestorePath:(OTICDPRecordContext*)cdpContext;
@end
NS_ASSUME_NONNULL_END
#endif
#endif