ADYServiceParameters Class Reference

Inherits from NSObject
Declared in ADYServiceParameters.h

Overview

A collection of arbitrary parameters used during the initialization of the ADYService class.

Note: This class corresponds to the ConfigParameters class in the specification.

  directoryServerIdentifier

The identifier of the directory server to use during the transaction creation phase.

@property (nonatomic, copy, readwrite, nullable) NSString *directoryServerIdentifier

Discussion

The identifier of the directory server to use during the transaction creation phase.

Usage of this property is optional.

Declared In

ADYServiceParameters.h

  directoryServerPublicKey

The public key of the directory server to use during the transaction creation phase.

@property (nonatomic, copy, readwrite, nullable) NSString *directoryServerPublicKey

Discussion

The public key of the directory server to use during the transaction creation phase.

The value of this property should be a base64-encoded JSON Web Key.

Usage of this property is optional.

Declared In

ADYServiceParameters.h

– valueForKey:

Returns the value associated with a given key in the default group.

- (nullable NSString *)valueForKey:(NSString *)key

Parameters

key

The key for which to return the corresponding value.

Return Value

The value associated with @p key, or @p nil if no value was set.

Discussion

Returns the value associated with a given key in the default group.

Declared In

ADYServiceParameters.h

– valueForKey:inGroup:

Returns the value associated with a given key in a specific group.

- (nullable NSString *)valueForKey:(NSString *)key inGroup:(nullable NSString *)group

Parameters

key

The key for which to return the corresponding value.

group

The group from which the value should be retrieved, or @p nil if the default group should be used.

Return Value

The value associated with @p key, or @p nil if no value was set.

Discussion

Returns the value associated with a given key in a specific group.

Declared In

ADYServiceParameters.h

– setValue:forKey:

Sets the value for a given key in the default group.

- (void)setValue:(nullable NSString *)value forKey:(NSString *)key

Parameters

value

The value to set, or @p nil to remove the value.

key

The key for @p value.

Discussion

Sets the value for a given key in the default group.

Declared In

ADYServiceParameters.h

– setValue:forKey:inGroup:

Sets the value for a given key in a specific group.

- (void)setValue:(nullable NSString *)value forKey:(NSString *)key inGroup:(nullable NSString *)group

Parameters

value

The value to set, or @p nil to remove the value.

key

The key for @p value.

group

The group in which to set the value, or @p nil if the default group should be used.

Discussion

Sets the value for a given key in a specific group.

Declared In

ADYServiceParameters.h

– removeValueForKey:

Removes the given key and its associated value from the default group.

- (void)removeValueForKey:(NSString *)key

Parameters

key

The key to remove along with its associated value.

Discussion

Removes the given key and its associated value from the default group.

Declared In

ADYServiceParameters.h

– removeValueForKey:inGroup:

Removes the given key and its associated value from a specific group.

- (void)removeValueForKey:(NSString *)key inGroup:(nullable NSString *)group

Parameters

key

The key to remove along with its associated value.

group

The group from which to remove the key and its associated value, or @p if the default group should be used.

Discussion

Removes the given key and its associated value from a specific group.

Declared In

ADYServiceParameters.h