EMDskppProvisioningCallback

Objective-C


@interface EMDskppProvisioningCallback : NSObject <NSObject>

Swift

class EMDskppProvisioningCallback : NSObject, NSObjectProtocol

Callback for 4-pass Dskpp provisioning.

Since

4.1
  • 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.

    Warning

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

    Since

    4.1

    Declaration

    Objective-C

    @property (nonatomic, copy) OnServerPinRequestBlock onServerRequestBlock;

    Swift

    var onServerRequestBlock: OnServerPinRequestBlock! { get set }
  • 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.

    Warning

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

    Since

    4.1

    Declaration

    Objective-C

    @property (nonatomic, copy) OnLocalPinRequestBlock onLocalPinRequestBlock;

    Swift

    var onLocalPinRequestBlock: OnLocalPinRequestBlock! { get set }
  • 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

    Since

    4.1

    Declaration

    Objective-C

    @property (nonatomic, copy) OnPolicyStringProvidedBlock onPolicyStringProvidedBlock;

    Swift

    var onPolicyStringProvidedBlock: OnPolicyStringProvidedBlock! { get set }
  • Callback function to provide data received from the Server by DSKPP message.

    Since

    4.1

    Declaration

    Objective-C

    @property (nonatomic, copy) OnPolicyExtensionProvidedBlock onPolicyExtensionProvidedBlock;

    Swift

    var onPolicyExtensionProvidedBlock: OnPolicyExtensionProvidedBlock! { get set }
  • Callback function to provide data received from the Server by DSKPP after the provisioning has completed.

    Since

    4.1

    Declaration

    Objective-C

    @property (nonatomic, copy) OnKeyProvisionedBlock onKeyProvisionedBlock;

    Swift

    var onKeyProvisionedBlock: OnKeyProvisionedBlock! { get set }