public class TimestampChecker extends java.lang.Object implements KeyIntegrityChecker
| Modifier and Type | Field and Description |
|---|---|
private static CipherTextHandler |
CIPHER_TEXT_HANDLER |
private static long |
FIVE_MINUTES |
| Constructor and Description |
|---|
TimestampChecker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkKeyIntegrity(byte[] encryptedData,
javax.security.auth.kerberos.KerberosKey kerberosKey)
Checks the integrity of a KerberosKey to decrypt-decode and compare an
encrypted encoded generalized timestamp representing the preauth data.
|
private static final long FIVE_MINUTES
private static final CipherTextHandler CIPHER_TEXT_HANDLER
public boolean checkKeyIntegrity(byte[] encryptedData,
javax.security.auth.kerberos.KerberosKey kerberosKey)
KeyIntegrityCheckercheckKeyIntegrity in interface KeyIntegrityCheckerencryptedData - the generalized timestamp encrypted with client hotp
generated KerberosKeykerberosKey - the KerberosKey generated from server side hotp value