public class HOTPUtil extends Object
HOTPpublic static boolean validate(String submittedOTP, byte[] secret, int timeValueInMins) throws GeneralSecurityException
submittedOTP - OTP string to validatesecret - Shared secrettimeValueInMins - How many mins back we need to check?GeneralSecurityExceptionCopyright © 2012 JBoss Inc.. All Rights Reserved.