EMDskppProvisioningCallback Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSObject |
| Declared in | EMDskppProvisioningCallback.h |
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 onServerRequestBlockAvailability
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 onLocalPinRequestBlockAvailability
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 onPolicyStringProvidedBlockAvailability
4.1
Declared In
EMDskppProvisioningCallback.h
onPolicyExtensionProvidedBlock
Callback function to provide data received from the Server by DSKPP message.
@property (nonatomic, copy) OnPolicyExtensionProvidedBlock onPolicyExtensionProvidedBlockAvailability
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 onKeyProvisionedBlockAvailability
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 ))onPolicyExtensionProvidedBlockParameters
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 ))onServerRequestBlockParameters
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 ))onLocalPinRequestBlockParameters
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 ))onPolicyStringProvidedBlockParameters
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 ))onKeyProvisionedBlockParameters
onKeyProvisionedBlock |
The block to invoke when the Dskpp provisioning has completed. |
|---|
Availability
4.1
Declared In
EMDskppProvisioningCallback.h