ChallengeFormat Property
The format in which the challenge will be created.
Syntax
ANSI (Cross Platform) int GetChallengeFormat();
int SetChallengeFormat(int iChallengeFormat); Unicode (Windows) INT GetChallengeFormat();
INT SetChallengeFormat(INT iChallengeFormat);
Possible Values
CF_ALPHANUMERIC(0),
CF_NUMERIC(1),
CF_HEX(2)
@property (nonatomic,readwrite,assign,getter=challengeFormat,setter=setChallengeFormat:) int challengeFormat; - (int)challengeFormat; - (void)setChallengeFormat:(int)newChallengeFormat;
Possible Values
CF_ALPHANUMERIC(0),
CF_NUMERIC(1),
CF_HEX(2)
#define PID_OCRA_CHALLENGEFORMAT 2 IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_OCRA_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_OCRA_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This setting specifies the format of the created challenge. This is applicable when calling CreateChallenge. Possible values are:
0 (cfAlphanumeric - default) | Alphanumeric characters |
1 (cfNumeric) | Digits |
2 (cfHex) | Hex characters |
Data Type
Integer