Class OtpKeyGenerator


  • public class OtpKeyGenerator
    extends Object
    Otp key generator.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • OtpKeyGenerator

        public OtpKeyGenerator​(io.vertx.ext.auth.otp.OtpKeyGenerator delegate)
      • OtpKeyGenerator

        public OtpKeyGenerator​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDelegate

        public io.vertx.ext.auth.otp.OtpKeyGenerator getDelegate()
      • generate

        public io.vertx.ext.auth.otp.OtpKey generate()
        Generate key with default size;
        Returns:
        OtpKey
      • generate

        public io.vertx.ext.auth.otp.OtpKey generate​(int keySize)
        Generate key
        Parameters:
        keySize - size of key
        Returns:
        OtpKey
      • getAlgorithm

        public String getAlgorithm()
      • create

        public static OtpKeyGenerator create​(String algorithm)
        Creates an instance of OtpKeyGenerator.
        Parameters:
        algorithm - used hash algorithm.
        Returns:
        the created instance of OtpKeyGenerator.
      • newInstance

        public static OtpKeyGenerator newInstance​(io.vertx.ext.auth.otp.OtpKeyGenerator arg)