blob: 48e0c710c800ff3c3f9497b64104fd54b18c2a11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
//
// SDLFakeSecurityManager.h
// SmartDeviceLink-iOS
//
// Created by Joel Fischer on 8/15/17.
// Copyright © 2017 smartdevicelink. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SDLSecurityType.h"
NS_ASSUME_NONNULL_BEGIN
@interface SDLFakeSecurityManager : NSObject <SDLSecurityType>
@property (copy, nonatomic) NSString *appId;
- (void)initializeWithAppId:(NSString *)appId completionHandler:(void (^)(NSError *_Nullable error))completionHandler;
- (void)stop;
- (nullable NSData *)runHandshakeWithClientData:(NSData *)data error:(NSError **)error;
- (nullable NSData *)encryptData:(NSData *)data withError:(NSError **)error;
- (nullable NSData *)decryptData:(NSData *)data withError:(NSError **)error;
+ (NSSet<NSString *> *)availableMakes;
@end
NS_ASSUME_NONNULL_END
|