Package org.jivesoftware.openfire.fast
Class FastTokenManager.Ht2ValidationResult
java.lang.Object
org.jivesoftware.openfire.fast.FastTokenManager.Ht2ValidationResult
- Enclosing class:
- FastTokenManager
Result of a successful HT2 token validation, carrying both the rotated token and the
responder HMAC that must be sent to the client for mutual authentication.
-
Constructor Summary
ConstructorsConstructorDescriptionHt2ValidationResult(FastToken rotatedToken, byte[] responderHashedToken) Ht2ValidationResult(FastToken rotatedToken, byte[] responderHashedToken, String clientId) -
Method Summary
Modifier and TypeMethodDescriptionexpired()byte[]Returns a copy of the responder-hashed-token to be included in the server success message.Returns the newly rotated FAST token.boolean
-
Constructor Details
-
Ht2ValidationResult
-
Ht2ValidationResult
-
-
Method Details
-
expired
-
isExpired
public boolean isExpired() -
getRotatedToken
Returns the newly rotated FAST token. -
getResponderHashedToken
@Nonnull public byte[] getResponderHashedToken()Returns a copy of the responder-hashed-token to be included in the server success message. -
getClientId
-