HID APPROVE SDK  5.11
HID Approve SDK for iOS/macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
HIDConstants.h
Go to the documentation of this file.
1 /* ---------------------------------------------------------------------------
2  (c) 2015-2024, HID Global Corporation, part of ASSA ABLOY.
3  All rights reserved.
4 
5  Redistribution and use in source and binary forms, with or without modification,
6  are permitted provided that the following conditions are met:
7  - Redistributions of source code must retain the above copyright notice,
8  this list of conditions and the following disclaimer.
9  - Redistributions in binary form must reproduce the above copyright notice,
10  this list of conditions and the following disclaimer in the documentation
11  and/or other materials provided with the distribution.
12 
13  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
14  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
17  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
20  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 --------------------------------------------------------------------------- */
24 
25 #import <Foundation/Foundation.h>
26 
32 extern NSString *const HID_DEVICE_INFO_BRAND;
33 extern NSString *const HID_DEVICE_INFO_KEYSTORE;
34 extern NSString *const HID_DEVICE_INFO_MANUFACTURER;
35 extern NSString *const HID_DEVICE_INFO_MODEL;
36 extern NSString *const HID_DEVICE_INFO_NAME;
37 extern NSString *const HID_DEVICE_INFO_OS;
38 extern NSString *const HID_DEVICE_INFO_OS_NAME;
39 extern NSString *const HID_DEVICE_INFO_OS_VERSION;
40 extern NSString *const HID_DEVICE_INFO_PUSHID;
41 extern NSString *const HID_DEVICE_INFO_PRODUCT;
42 extern NSString *const HID_DEVICE_INFO_LOCALE;
43 extern NSString *const HID_DEVICE_INFO_ISROOTED;
44 
45 extern NSString *const HID_KEY_PROPERTY_CREATE;
46 extern NSString *const HID_KEY_PROPERTY_EXPIRY;
47 extern NSString *const HID_KEY_PROPERTY_LABEL;
48 extern NSString *const HID_KEY_PROPERTY_USAGE;
49 
50 extern NSString *const HID_KEY_PROPERTY_USAGE_ENCRYPT;
51 extern NSString *const HID_KEY_PROPERTY_USAGE_SIGN;
52 extern NSString *const HID_KEY_PROPERTY_USAGE_TXPROTECT;
53 extern NSString *const HID_KEY_PROPERTY_USAGE_OTP;
54 extern NSString *const HID_KEY_PROPERTY_USAGE_AUTH;
55 extern NSString *const HID_KEY_PROPERTY_USAGE_OPPRO;
56 
57 extern NSString *const HID_CONTAINER_NAME;
58 extern NSString *const HID_CONTAINER_URL;
59 extern NSString *const HID_CONTAINER_ID;
60 extern NSString *const HID_CONTAINER_USERID;
61 
62 extern NSString *const HID_PARAM_TX_MOBILE_CONTEXT;
63 
64 extern NSString *const HID_PARAM_PROGRESSEVENT_LEVEL;
65 extern NSString *const HID_PARAM_PROGRESSEVENT_MESSAGE;
66 extern NSString *const HID_PARAM_PROGRESSEVENT_PERCENT;
67 
68 //new for 5.5
69 extern NSString *const HID_PARAM_PASSWORD_PROGRESS_EVENT_TYPE;
70 extern NSString *const HID_PARAM_PASSWORD_PROGRESS_EVENT_KEY_LABEL;
71 extern NSString *const HID_PARAM_PASSWORD_PROGRESS_EVENT_KEY_USAGE;
73 extern NSString *const HID_PARAM_PASSWORD_PROGRESS_EVENT_TYPE_KEY;
74 //
75 
76 extern NSString *const HID_PLATFORM_CLASS_SOFTTOKEN;
77 
78 extern NSString *const HID_PARAM_SYNC_PROV_AUTHPOLICYID;
79 extern NSString *const HID_PARAM_SYNC_TDS_AUTHPOLICYID;
80 extern NSString *const HID_PARAM_SYNC_DEVICE_NAME;
81 extern NSString *const HID_PARAM_SYNC_DEVICE_TYPECODE;
82 extern NSString *const HID_PARAM_SYNC_DEVICEID;
83 extern NSString *const HID_PARAM_SYNC_PSS;
84 extern NSString *const HID_PARAM_SYNC_PUSHID;
85 extern NSString *const HID_PARAM_SYNC_PWD_ENCRYPT;
86 extern NSString *const HID_PARAM_SYNC_PWD_SIGN;
87 extern NSString *const HID_PARAM_SYNC_PWD_TXPROTECT;
88 extern NSString *const HID_PARAM_SYNC_SECRET;
89 extern NSString *const HID_PARAM_SYNC_PROTOCOL_VERSION;
90 extern NSString *const HID_PARAM_SYNC_SERVER_CHANNEL;
91 extern NSString *const HID_PARAM_SYNC_SERVER_CONTEXT;
92 extern NSString *const HID_PARAM_SYNC_SERVER_DOMAIN;
93 extern NSString *const HID_PARAM_SYNC_SERVER_RETRY;
94 extern NSString *const HID_PARAM_SYNC_SERVER_TIMEOUT;
95 extern NSString *const HID_PARAM_SYNC_SERVER_URL;
96 extern NSString *const HID_PARAM_SYNC_USERID;
97 
98 extern NSString *const HID_PROPERTY_APPCUSTOMIZATION;
99 extern NSString *const HID_PROPERTY_CHANNEL;
100 extern NSString *const HID_PROPERTY_DOMAIN;
101 extern NSString *const HID_PROPERTY_SERIALNUMBER;
102 extern NSString *const HID_PROPERTY_EXTERNALID;
103 extern NSString *const HID_PROPERTY_TXURI;
104 
105 extern NSString *const HID_ERROR_MESSAGE;
106 extern NSString *const HID_ERROR_AUTH_REMAINING_TRIES;
107 extern NSString *const HID_ERROR_PARAMETERS;
108 
109 extern NSString *const HID_OTP_AUTHMODE_CHALLENGE_RESPONSE;
110 extern NSString *const HID_OTP_AUTHMODE_MUTUAL_CHALLENGE_RESPONSE;
111 extern NSString *const HID_OTP_AUTHMODE_SIGNATURE;
112 extern NSString *const HID_OTP_AUTHMODE_SIGNATURE_SERVER_AUTH;
113 
114 extern NSString *const HID_OCRASUITE_CHALLENGE_FORMAT_ALPHANUM;
115 extern NSString *const HID_OCRASUITE_CHALLENGE_FORMAT_NUMERIC;
116 extern NSString *const HID_OCRASUITE_CHALLENGE_FORMAT_HEX;
117 
118 extern NSString *const HID_PROPERTY_PROTOCOL_VERSION;
119 extern NSString *const HID_PROPERTY_ORIGINAL_CREATION_DATE;
120 extern NSString *const HID_PROPERTY_CREATION_DATE;
121 extern NSString *const HID_PROPERTY_RENEWAL_DATE;
122 extern NSString *const HID_PROPERTY_EXPIRY_DATE;
123 
NSString *const HID_CONTAINER_ID
Container unique id.
NSString *const HID_PARAM_SYNC_PSS
SyncManager Parameter: Pre-Shared Secret.
NSString *const HID_ERROR_MESSAGE
Custom error in NSError userInfo: internal message.
NSString *const HID_PROPERTY_TXURI
Property: Transaction gateway URL.
NSString *const HID_PROPERTY_EXPIRY_DATE
Property: container expiry date.
NSString *const HID_CONTAINER_NAME
Container friendly name.
NSString *const HID_ERROR_PARAMETERS
Custom error in NSError userInfo: list of user identifiers suitable for this transaction.
NSString *const HID_PARAM_SYNC_PWD_ENCRYPT
SyncManager Parameter: Encryption key password.
NSString *const HID_PROPERTY_ORIGINAL_CREATION_DATE
Property: container original creation date.
NSString *const HID_PARAM_SYNC_PWD_SIGN
SyncManager Parameter: Signature key password.
NSString *const HID_KEY_PROPERTY_USAGE_AUTH
Key Usage Value of authentication.
NSString *const HID_PARAM_SYNC_SERVER_DOMAIN
SyncManager Config: Server domain.
NSString *const HID_PARAM_SYNC_SERVER_TIMEOUT
SyncManager Config: Connection timeout.
NSString *const HID_DEVICE_INFO_PUSHID
Device Info: Base64 representation of Apple Push Notification (APN) device token identifier.
NSString *const HID_PARAM_PROGRESSEVENT_MESSAGE
Sync Event Message.
NSString *const HID_PARAM_SYNC_PROTOCOL_VERSION
SyncManager Config: Requested protocol version.
NSString *const HID_PARAM_SYNC_TDS_AUTHPOLICYID
SyncManager Parameter: End-user Transaction Signing Authentication Policy configured on server...
NSString *const HID_PARAM_SYNC_USERID
SyncManager Parameter: Server user identifier.
NSString *const HID_PARAM_SYNC_PUSHID
SyncManager Parameter: APN device token identifier.
NSString *const HID_PARAM_SYNC_SERVER_URL
SyncManager Config: provisioning URL.
NSString *const HID_OTP_AUTHMODE_CHALLENGE_RESPONSE
OTP key can be used in One-Way Challenge-Response mode.
NSString *const HID_CONTAINER_USERID
User id.
NSString *const HID_PROPERTY_EXTERNALID
Property: Device ID.
NSString *const HID_OTP_AUTHMODE_MUTUAL_CHALLENGE_RESPONSE
OTP key can be used in Challenge-Response mode with server authentication.
NSString *const HID_DEVICE_INFO_ISROOTED
Device Info: Device is rooted.
NSString *const HID_PARAM_SYNC_SERVER_CHANNEL
SyncManager Config: SyncManager server channel.
NSString *const HID_PROPERTY_RENEWAL_DATE
Property: container renewal date.
NSString *const HID_PARAM_SYNC_DEVICEID
SyncManager Parameter: Server device identifier.
NSString *const HID_PARAM_SYNC_SECRET
SyncManager Parameter: Authentication secret (otp/password/challenge/etc)
NSString *const HID_DEVICE_INFO_OS_NAME
Device Info: Operating System platform name.
NSString *const HID_PARAM_SYNC_DEVICE_NAME
SyncManager Parameter: Server device friendly name (optional)
NSString *const HID_OTP_AUTHMODE_SIGNATURE
OTP key can be used in signature mode.
NSString *const HID_PARAM_TX_MOBILE_CONTEXT
Transaction Parameter: mobile context data.
NSString *const HID_OCRASUITE_CHALLENGE_FORMAT_HEX
OCRA challenge format is hex.
NSString *const HID_DEVICE_INFO_MANUFACTURER
Device Info: Device manufacturer name.
NSString *const HID_KEY_PROPERTY_USAGE_TXPROTECT
Key Usage Value of transaction protection session keys.
NSString *const HID_DEVICE_INFO_OS
Device Info: Operating System Name.
NSString *const HID_CONTAINER_URL
URL of server managing this container.
NSString *const HID_OCRASUITE_CHALLENGE_FORMAT_NUMERIC
OCRA challenge format is numeric.
NSString *const HID_KEY_PROPERTY_USAGE
Key Usage.
NSString *const HID_PARAM_PASSWORD_PROGRESS_EVENT_TYPE_CONTAINER
password event type container
NSString *const HID_PARAM_SYNC_PROV_AUTHPOLICYID
SyncManager Parameter: End-user Provisioning Authentication Policy configured on server.
NSString *const HID_ERROR_AUTH_REMAINING_TRIES
Custom error in NSError userInfo: number of remaining tries in case of authentication failure...
NSString *const HID_PARAM_SYNC_SERVER_CONTEXT
SyncManager Config: Server context (optional)
NSString *const HID_KEY_PROPERTY_LABEL
Key Label.
NSString *const HID_KEY_PROPERTY_USAGE_OPPRO
Key Usage Value of oppro.
NSString *const HID_PROPERTY_CREATION_DATE
Property: container creation date.
NSString *const HID_DEVICE_INFO_LOCALE
Device Info: Device locale charset.
NSString *const HID_PARAM_PASSWORD_PROGRESS_EVENT_TYPE_KEY
password event type key
NSString *const HID_DEVICE_INFO_BRAND
Device Info: Device brand name.
NSString *const HID_KEY_PROPERTY_EXPIRY
Key Expiration Date as long.
NSString *const HID_PARAM_SYNC_PWD_TXPROTECT
SyncManager Parameter: Transaction Protection Session key password.
NSString *const HID_KEY_PROPERTY_USAGE_OTP
Key Usage Value of OTP keys.
NSString *const HID_PLATFORM_CLASS_SOFTTOKEN
The class name of the soft token.
NSString *const HID_PROPERTY_PROTOCOL_VERSION
Property: current protocol version.
NSString *const HID_KEY_PROPERTY_USAGE_ENCRYPT
Key Usage Value of encryption keys.
NSString *const HID_PARAM_PASSWORD_PROGRESS_EVENT_TYPE
password event type
NSString *const HID_KEY_PROPERTY_USAGE_SIGN
Key Usage Value of signing private keys.
NSString *const HID_PROPERTY_SERIALNUMBER
Property: Device Serial number.
NSString *const HID_PARAM_PROGRESSEVENT_PERCENT
Sync Event Percent.
NSString *const HID_DEVICE_INFO_PRODUCT
Device Info: Device product name.
NSString *const HID_DEVICE_INFO_MODEL
Device Info: Device model name.
NSString *const HID_PARAM_PASSWORD_PROGRESS_EVENT_KEY_USAGE
password event key usage
NSString *const HID_KEY_PROPERTY_CREATE
Key Creation Date as long.
NSString *const HID_PARAM_PASSWORD_PROGRESS_EVENT_KEY_LABEL
password event key label
NSString *const HID_PROPERTY_DOMAIN
Property: Server domain.
NSString *const HID_PROPERTY_CHANNEL
Property: Server provisioning channel.
NSString *const HID_OCRASUITE_CHALLENGE_FORMAT_ALPHANUM
OCRA challenge format is alphanumeric.
NSString *const HID_DEVICE_INFO_KEYSTORE
Device Info: Keystore type. ("soft" or "hw")
NSString *const HID_PARAM_PROGRESSEVENT_LEVEL
Sync Event Level.
NSString *const HID_PROPERTY_APPCUSTOMIZATION
Property: Application customization.
NSString *const HID_OTP_AUTHMODE_SIGNATURE_SERVER_AUTH
OTP key can be used in signature mode with server authentication.
NSString *const HID_DEVICE_INFO_OS_VERSION
Device Info: Operating System platform version.
NSString *const HID_PARAM_SYNC_SERVER_RETRY
SyncManager Config: Connection retry.
NSString *const HID_DEVICE_INFO_NAME
Device Info: User-assigned device name for iOS15 and earlier. Generic device name for iOS16 and later...
NSString *const HID_PARAM_SYNC_DEVICE_TYPECODE
SyncManager Parameter: Server Device Type Code.