From c2523d123e85c89c78599ae75e4d58ef67b56257 Mon Sep 17 00:00:00 2001 From: Satbir Tanda Date: Thu, 15 Aug 2019 18:00:19 -0700 Subject: Check RPC payloadProtected in SDLProtocol layer --- SmartDeviceLink/SDLProxy.h | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'SmartDeviceLink/SDLProxy.h') diff --git a/SmartDeviceLink/SDLProxy.h b/SmartDeviceLink/SDLProxy.h index 9049cf93f..237823baa 100644 --- a/SmartDeviceLink/SDLProxy.h +++ b/SmartDeviceLink/SDLProxy.h @@ -1,6 +1,7 @@ // SDLProxy.h // +@class SDLEncryptionLifecycleManager; @class SDLProtocol; @class SDLPutFile; @class SDLRPCMessage; @@ -63,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN * @param secondaryTransportManager The secondary transport manager * @return A SDLProxy object */ -+ (SDLProxy *)iapProxyWithListener:(id)delegate secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager; ++ (SDLProxy *)iapProxyWithListener:(id)delegate secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager __deprecated_msg("Use iapProxyWithListener:secondaryTransportManager:encryptionLifecycleManager: instead"); /** * Creates a SDLProxy object with a TCP (WiFi) transport network connection. @@ -74,7 +75,29 @@ NS_ASSUME_NONNULL_BEGIN * @param secondaryTransportManager The secondary transport manager * @return A SDLProxy object */ -+ (SDLProxy *)tcpProxyWithListener:(id)delegate tcpIPAddress:(NSString *)ipaddress tcpPort:(NSString *)port secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager; ++ (SDLProxy *)tcpProxyWithListener:(id)delegate tcpIPAddress:(NSString *)ipaddress tcpPort:(NSString *)port secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager __deprecated_msg("Use tcpProxyWithListener:tcpIPAddress:tcpPort:secondaryTransportManager:encryptionLifecycleManager: instead"); + +/** + * Creates a SDLProxy object with an iap (USB / Bluetooth) transport network connection. + * + * @param delegate The subscriber + * @param secondaryTransportManager The secondary transport manager + * @param encryptionLifecycleManager The encryption life cycle manager + * @return A SDLProxy object + */ ++ (SDLProxy *)iapProxyWithListener:(id)delegate secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager encryptionLifecycleManager:(SDLEncryptionLifecycleManager *)encryptionLifecycleManager; + +/** + * Creates a SDLProxy object with a TCP (WiFi) transport network connection. + * + * @param delegate The subscriber + * @param ipaddress The IP address of Core + * @param port The port address of Core + * @param secondaryTransportManager The secondary transport manager + * @param encryptionLifecycleManager The encryption life cycle manager + * @return A SDLProxy object + */ ++ (SDLProxy *)tcpProxyWithListener:(id)delegate tcpIPAddress:(NSString *)ipaddress tcpPort:(NSString *)port secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager encryptionLifecycleManager:(SDLEncryptionLifecycleManager *)encryptionLifecycleManager; /** * Adds a delegate. -- cgit v1.2.1