|
Crescendo SDK
|
Loading...
Searching...
No Matches
CrescendoDLL.PCSC.OATHObject Class Reference
Represents an OATH (Initiative for Open Authentication) credential object for one-time password generation. More...
Public Member Functions |
|
| OATHObject (byte[] data, Version version) | |
| Initializes a new OATHObject by parsing raw credential data. |
|
Properties |
|
| bool | AddCheckSum [get, set]
|
| Enables checksum digit for OTP. |
|
| int | CodeDigits [get, set]
|
| Number of digits in generated OTP. |
|
| ACRCoding | ContactlessUsageACR = default! [get, set] |
| Contactless interface usage Access Control Rule. |
|
| ACRCoding | ContactUsageACR = default! [get, set] |
| Contact interface usage Access Control Rule. |
|
| byte[] | CounterValue = default! [get, set] |
| 8-byte counter value for HOTP, OCRA |
|
| string | FriendlyName = default! [get, set] |
| Human-readable credential name. |
|
| HashAlgoValues | HashAlgo [get, set]
|
| Hashing algorithm used for OTP generation. |
|
| UsePValues | HashUsedForOCRAPinOrPassword [get, set]
|
| Indicates whether the PIN/Password is to be used in OCRA. |
|
| int | KeyLengthInBytes [get, set]
|
| Cryptographic key length in bytes. |
|
| bool | KeyOrPasswordInitialized [get, set]
|
| Indicates if key/password material is initialized. |
|
| OATHModeName | OATHMode [get, set]
|
| OATH operation mode (HOTP/TOTP/OCRA/Static password) |
|
| string | OATHObjectKeyReferenceValue = default! [get, set] |
| Key reference identifier for the OATH credential. |
|
| string | OCRASuite = default! [get, set] |
| OCRA suite configuration string. |
|
| ACRCoding | PersonalizationACR = default! [get, set] |
| Access Control Rule for key personalization. |
|
| QFormatValues | QFormat [get, set]
|
| Question format for challenge-response in OCRA. |
|
| int | QMaxLength [get, set]
|
| Maximum challenge length. |
|
| int | TimeStep [get, set]
|
| Time step interval for TOTP, OCRA. |
|
| TimeStepUnits | TimeStepUnit [get, set]
|
| Time step units (Seconds/Minutes) for TOTP, OCRA. |
|
| byte | TruncationOffset [get, set]
|
| Truncation offset for OTP extraction. |
|
| UseCounterValues | UseCounter [get, set]
|
| Counter usage policy for OCRA. |
|
| UseSValues | UseSessionInformation [get, set]
|
| Indicates whether the Session Information are to be used in OCRA Suite and what is their size. |
|
| UseTimeValues | UseTime [get, set]
|
| Time synchronization policy for OCRA. |
|
Detailed Description
Represents an OATH (Initiative for Open Authentication) credential object for one-time password generation.
Implements parsing of OATH credentials per RFC 4226 (HOTP) and RFC 6238 (TOTP). Supports both legacy and modern applet versions with different encoding schemes.