EMSoftOathSettings Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | EMSoftOathSettings.h |
hotpLength
required method
Returns the length of an HOTP.
@property (assign, nonatomic, readonly) NSInteger hotpLengthDiscussion
Default: 8
Declared In
EMSoftOathSettings.h
hotpHashAlgorithm
required method
Returns the hash algorithm used in the HMAC computation for HOTP.
@property (assign, nonatomic, readonly) EMOathHashAlgorithm hotpHashAlgorithmDiscussion
Default: EMOathHashSHA1. see EMOathHashAlgorithm.
Declared In
EMSoftOathSettings.h
totpLength
required method
Returns the length of an TOTP.
@property (assign, nonatomic, readonly) NSInteger totpLengthDiscussion
Default: 8
Declared In
EMSoftOathSettings.h
totpHashAlgorithm
required method
Returns the hash algorithm used in the HMAC computation for TOTP.
@property (assign, nonatomic, readonly) EMOathHashAlgorithm totpHashAlgorithmDiscussion
Default: EMOathHashSHA1. see EMOathHashAlgorithm.
Declared In
EMSoftOathSettings.h
totpStartTime
required method
Returns the T0 start time used in the settings.
@property (assign, nonatomic, readonly) int64_t totpStartTimeDiscussion
Default: 0
Declared In
EMSoftOathSettings.h
totpTimestepSize
required method
Returns the time step size used in the settings.
@property (assign, nonatomic, readonly) NSInteger totpTimestepSizeDiscussion
Default: 30
Declared In
EMSoftOathSettings.h
totpTimestepType
required method
Returns the time step type for TOTP.
@property (assign, nonatomic, readonly) EMOathTimestepType totpTimestepTypeDiscussion
Default: Seconds
Declared In
EMSoftOathSettings.h
ocraOtpLength
required method
Returns the length of an OCRA OTP.
@property (assign, nonatomic, readonly) NSInteger ocraOtpLengthDiscussion
Default: 8
Declared In
EMSoftOathSettings.h
ocraHashAlgorithm
required method
Returns the hash algorithm used in the HMAC computation.
Default: EMOathHashSHA1. See EMOathHashAlgorithm.
@property (assign, nonatomic, readonly) EMOathHashAlgorithm ocraHashAlgorithmDeclared In
EMSoftOathSettings.h
ocraStartTime
required method
Returns the T0 start time used in the settings.
Default: 0
@property (assign, nonatomic, readonly) int64_t ocraStartTimeDeclared In
EMSoftOathSettings.h
ocraTimestepType
required method
Returns the time step type used in the settings.
@property (assign, nonatomic, readonly) EMOathTimestepType ocraTimestepTypeDiscussion
Default: EMTotpTimestepTypeSeconds. See EMOathTimestepType.
Declared In
EMSoftOathSettings.h
ocraTimestepSize
required method
Returns the time step size used in the settings.
@property (assign, nonatomic, readonly) NSInteger ocraTimestepSizeDiscussion
Default: 30
Declared In
EMSoftOathSettings.h
ocraCounterUsed
required method
Returns YES if Counter is used, NO otherwise.
@property (assign, nonatomic, readonly, getter=isOcraCounterUsed) BOOL ocraCounterUsedDiscussion
Default: NO
Declared In
EMSoftOathSettings.h
ocraChallengeQuestionFormat
required method
Returns the format of the Challenge Question field.
@property (assign, nonatomic, readonly) EMOcraChallengeQuestionFormat ocraChallengeQuestionFormatDiscussion
Default: EMOcraChallengeQuestionFormatNumeric. See EMOcraChallengeQuestionFormat.
Declared In
EMSoftOathSettings.h
ocraSessionLength
required method
Returns the session length, -1 if not used.
@property (assign, nonatomic, readonly) NSInteger ocraSessionLengthDiscussion
Default: -1
Declared In
EMSoftOathSettings.h
ocraPasswordHashAlgorithm
required method
Returns the used password hash algorithm.
@property (assign, nonatomic, readonly) EMOcraPasswordHashAlgorithm ocraPasswordHashAlgorithmDiscussion
Default: EMOcraPasswordNone. See EMOcraPasswordHashAlgorithm.
Declared In
EMSoftOathSettings.h
ocraMaximumChallengeQuestionLength
required method
Returns the maximum length of Challenge Question.
@property (assign, nonatomic, readonly) NSInteger ocraMaximumChallengeQuestionLengthDiscussion
Default: 8
Declared In
EMSoftOathSettings.h
– getOcraSuite:
required method
Returns the OCRA suite for the OCRA settings.
- (id<EMSecureString>)getOcraSuite:(NSError **)errorParameters
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in Default OCRA-1:HOTP-SHA1-8:QN08-T30S |
|---|
Declared In
EMSoftOathSettings.h