Class TOTP


  • public class TOTP
    extends java.lang.Object
    Created by bmalkow on 13.12.2016.
    • Constructor Summary

      Constructors 
      Constructor Description
      TOTP()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String generateTOTP()  
      java.lang.String getSecret()  
      void setSecret​(java.lang.String secret)  
      boolean verify​(java.lang.String totp)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TOTP

        public TOTP()
    • Method Detail

      • generateTOTP

        public java.lang.String generateTOTP()
      • getSecret

        public java.lang.String getSecret()
      • setSecret

        public void setSecret​(java.lang.String secret)
      • verify

        public boolean verify​(java.lang.String totp)