Class OtpKeyGenerator

java.lang.Object
io.vertx.mutiny.ext.auth.otp.OtpKeyGenerator
All Implemented Interfaces:
MutinyDelegate

public class OtpKeyGenerator extends Object implements MutinyDelegate
Otp key generator.

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

  • Field Details

  • Constructor Details

    • OtpKeyGenerator

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

      public OtpKeyGenerator(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.auth.otp.OtpKeyGenerator getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public io.vertx.ext.auth.otp.OtpKey generate()
      Returns:
      OtpKey
    • generate

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

      public String getAlgorithm()
    • create

      public static OtpKeyGenerator create()
      Returns:
      the created instance of OtpKeyGenerator.
    • create

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

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