EN · DE · RU · FR · ES

#1649: TOTP_RFC6238.java

projectforge-business/src/test/java/org/projectforge/security/TOTP_RFC6238.java Type: Java Class · Package: org.projectforge.security · Source: projectforge-business/src/test/java/org/projectforge/security/TOTP_RFC6238.java 202 lines · 111 code · 65 comments · 26 blank
Java Class implementing TOTP_RFC6238.

Methods

ReturnMethodParameters
privateTOTP_RFC6238
cryptoalgorithmHmacSHA1, HmacSHA256, * HmacSHA512
newSecretKeySpeckeyBytes, "RAW"
newUndeclaredThrowableExceptiongse
newBigInteger"10" + hex, 16
StringgenerateTOTPString key, String time, String returnDigits, String crypto
RFC4226HOTP
voidmainString[] args
newSimpleDateFormat"yyyy-MM-dd HH:mm:ss"
ofTHex

Architecture Analysis

Resides in projectforge-business, the core module containing domain logic, services, and persistence.

Git History

CommitWhat changed
868d6abb752025 -> 2026
63081666f6Source file headers: 2024-> 2025.
b6092df092Copyright 2023 -> 2024
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
5f7ef41b8cCopyright 2021 -> 2022
7999deebe62FA: initial revision.