Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLEncryptionConfiguration

SDLEncryptionConfiguration Class Reference

Section Contents

Overview

The encryption configuration data

securityManagers

A set of security managers used to encrypt traffic data. Each OEM has their own proprietary security manager.

Objective-C

@property (nonatomic, copy, nullable) NSArray<Class<SDLSecurityType>> *securityManagers;

delegate

A delegate callback that will tell you when an acknowledgement has occurred for starting as secure service.

Objective-C

@property (nonatomic, weak, nullable) id<SDLServiceEncryptionDelegate> delegate;

Swift

weak var delegate: SDLServiceEncryptionDelegate? { get set }

+defaultConfiguration

Creates a default encryption configuration.

Objective-C

+ (nonnull instancetype)defaultConfiguration;

Swift

class func `default`() -> Self

Return Value

A default configuration that may be customized.

-initWithSecurityManagers:delegate:

Creates a secure configuration for each of the security managers provided.

Objective-C

- (nonnull instancetype)
    initWithSecurityManagers:
        (nullable NSArray<Class<SDLSecurityType>> *)securityManagers
                    delegate:
                        (nullable id<SDLServiceEncryptionDelegate>)delegate;

Parameters

securityManagers

The security managers to be used.

delegate

The delegate callback.

Return Value

The configuration

View on GitHub.com
Previous Section Next Section