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 © 2018 JBoss by Red Hat. All rights reserved.