EMDskppProvisioningCallback Class Reference

Inherits from NSObject
Conforms to NSObject
Declared in EMDskppProvisioningCallback.h

Overview

Callback for 4-pass Dskpp provisioning.

  onServerRequestBlock

The OnServerPinRequestBlock to call when SERVER_PIN policy is used for the token, in which case must not be nil. If the policy is not SERVER_PIN, this block will not be invoked. See OnServerPinRequestBlock.

@property (nonatomic, copy) OnServerPinRequestBlock onServerRequestBlock

Availability

4.1

Discussion

Warning: If this is implemented, make sure to call appropriate EMDskppServerPinCallback when finished in order for the provisioning process to continue or abort

Declared In

EMDskppProvisioningCallback.h

  onLocalPinRequestBlock

The OnLocalPinRequestBlock to call when USER_PIN or NO_PIN policy is used for the token, in which case must not be nil. If the policy is not USER_PIN or NO_PIN, this block will not be invoked. See OnLocalPinRequestBlock.

@property (nonatomic, copy) OnLocalPinRequestBlock onLocalPinRequestBlock

Availability

4.1

Discussion

Warning: If this is implemented, make sure to call appropriate EMDskppLocalPinCallback when finished In order for the provisioning process to continue or abort

Declared In

EMDskppProvisioningCallback.h

  onPolicyStringProvidedBlock

This callback is invoked after completion of the provisioning. policyString contains the policies for the token. Application needs to stored it for the token and use it when needed. The policy can be parsed by DskppPolicyParser

@property (nonatomic, copy) OnPolicyStringProvidedBlock onPolicyStringProvidedBlock

Availability

4.1

Declared In

EMDskppProvisioningCallback.h

  onPolicyExtensionProvidedBlock

Callback function to provide data received from the Server by DSKPP message.

@property (nonatomic, copy) OnPolicyExtensionProvidedBlock onPolicyExtensionProvidedBlock

Availability

4.1

Declared In

EMDskppProvisioningCallback.h

  onKeyProvisionedBlock

Callback function to provide data received from the Server by DSKPP after the provisioning has completed.

@property (nonatomic, copy) OnKeyProvisionedBlock onKeyProvisionedBlock

Availability

4.1

Declared In

EMDskppProvisioningCallback.h

– setOnPolicyExtensionProvidedBlock:

This callback is invoked when there are extensions to policies. If not used, simply return ‘true’.

- (void)setOnPolicyExtensionProvidedBlock:(BOOL ( ^ ) ( NSString *tokenName , id<EMSecureString> XML , NSMutableDictionary<NSString*,id<EMSecureString> > *fields ))onPolicyExtensionProvidedBlock

Parameters

onPolicyExtensionProvidedBlock

The block to invoke when there are extentions to policies.

Availability

4.1

Discussion

Warning: The fields to fill in must coincide with the extension keywords provided by the XML string otherwise the whole provisioning will fail.

Declared In

EMDskppProvisioningCallback.h

– setOnServerRequestBlock:

The OnServerPinRequestBlock to call when SERVER_PIN policy is used for the token, in which case must not be nil. If the policy is not SERVER_PIN, this block will not be invoked. See OnServerPinRequestBlock.

- (void)setOnServerRequestBlock:(void ( ^ ) ( NSString *tokenName , EMDskppPinPolicy *dskppPinPolicy , id<EMDskppServerPinCallback> callback ))onServerRequestBlock

Parameters

onServerRequestBlock

The block to invoke when SERVER_PIN policy is used.

Availability

4.1

Discussion

Warning: If this is implemented, make sure to call appropriate EMDskppServerPinCallback when finished in order for the provisioning process to continue or abort

Declared In

EMDskppProvisioningCallback.h

– setOnLocalPinRequestBlock:

The OnLocalPinRequestBlock to call when USER_PIN or NO_PIN policy is used for the token, in which case must not be nil. If the policy is not USER_PIN or NO_PIN, this block will not be invoked. See OnLocalPinRequestBlock.

- (void)setOnLocalPinRequestBlock:(void ( ^ ) ( NSString *tokenName , EMDskppPinPolicy *dskppPinPolicy , id<EMDskppLocalPinCallback> callback ))onLocalPinRequestBlock

Parameters

onLocalPinRequestBlock

The block to invoke when USER_PIN/NO_PIN policy is used.

Availability

4.1

Discussion

Warning: If this is implemented, make sure to call appropriate EMDskppLocalPinCallback when finished In order for the provisioning process to continue or abort

Declared In

EMDskppProvisioningCallback.h

– setOnPolicyStringProvidedBlock:

This callback is invoked after completion of the provisioning. policyString contains the policies for the token. Application needs to stored it for the token and use it when needed. The policy can be parsed by DskppPolicyParser

- (void)setOnPolicyStringProvidedBlock:(void ( ^ ) ( NSString *tokenName , id<EMSecureString> policyString ))onPolicyStringProvidedBlock

Parameters

onPolicyStringProvidedBlock

The block to invoke when provisioning has completed.

Availability

4.1

Declared In

EMDskppProvisioningCallback.h

– setOnKeyProvisionedBlock:

This callback is invoked when provisioned is finished. Application needs to save the related key information: eg. tokenSerialNumber for further usage.

- (void)setOnKeyProvisionedBlock:(void ( ^ ) ( NSString *tokenName , EMDskppKeyInformation *keyInfo ))onKeyProvisionedBlock

Parameters

onKeyProvisionedBlock

The block to invoke when the Dskpp provisioning has completed.

Availability

4.1

Declared In

EMDskppProvisioningCallback.h