Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLEncryptionConfiguration Class Reference

Section Contents

Overview

Undocumented

securityManagers

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

Objective-C

@property (readwrite, copy, nonatomic, 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 (readwrite, copy, nonatomic, nullable) id<SDLServiceEncryptionDelegate>
    delegate;

Swift

@NSCopying 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