|
QtPass 2.0.0
Developer documentation
|
Validated TOTP parameters. Only Totp::parse() produces one. More...
#include <totp.h>
Public Attributes | |
| QByteArray | key |
| Decoded shared secret; never empty. | |
| QString | base32Key |
| Sanitized base32 secret, for re-serialisation. | |
| Algorithm | algorithm {Algorithm::Sha1} |
| HMAC hash function. | |
| Encoder | encoder {Encoder::Base10} |
| Digit encoding. | |
| uint | digits {DEFAULT_DIGITS} |
| Code length, MIN_DIGITS..MAX_DIGITS. | |
| uint | step {DEFAULT_STEP} |
| Period in seconds, 1..MAX_STEP. | |
| QString | label |
| otpauth label; may be empty. | |
| QString | issuer |
| QList< QPair< QString, QString > > | extraParams |
Validated TOTP parameters. Only Totp::parse() produces one.
| Algorithm Totp::Settings::algorithm {Algorithm::Sha1} |
| QString Totp::Settings::base32Key |
| uint Totp::Settings::digits {DEFAULT_DIGITS} |
| Encoder Totp::Settings::encoder {Encoder::Base10} |
| QList<QPair<QString, QString> > Totp::Settings::extraParams |
| QByteArray Totp::Settings::key |
| uint Totp::Settings::step {DEFAULT_STEP} |