// // SDLEncryptionConfiguration.h // SmartDeviceLink // // Created by standa1 on 6/17/19. // Copyright © 2019 smartdevicelink. All rights reserved. // #import #import "SDLServiceEncryptionDelegate.h" @protocol SDLSecurityType; NS_ASSUME_NONNULL_BEGIN /// The encryption configuration data @interface SDLEncryptionConfiguration : NSObject /** * A set of security managers used to encrypt traffic data. Each OEM has their own proprietary security manager. */ @property (copy, nonatomic, nullable) NSArray> *securityManagers; /** * A delegate callback that will tell you when an acknowledgement has occurred for starting as secure service. */ @property (copy, nonatomic, nullable) id delegate; /** * Creates a default encryption configuration. * * @return A default configuration that may be customized. */ + (instancetype)defaultConfiguration; /** Creates a secure configuration for each of the security managers provided. @param securityManagers The security managers to be used. @param delegate The delegate callback. @return The configuration */ - (instancetype)initWithSecurityManagers:(nullable NSArray> *)securityManagers delegate:(nullable id)delegate; @end NS_ASSUME_NONNULL_END