Class HashingAlgorithm

java.lang.Object
io.vertx.mutiny.ext.auth.hashing.HashingAlgorithm
All Implemented Interfaces:
MutinyDelegate

public class HashingAlgorithm extends Object implements MutinyDelegate
Hashing Algorithm. A common interface to interact with any system provided algorithms.

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

Author:
Paulo Lopes
See Also:
  • HashingAlgorithm
  • Field Details

  • Constructor Details

    • HashingAlgorithm

      public HashingAlgorithm(io.vertx.ext.auth.hashing.HashingAlgorithm delegate)
      Create a new instance of HashingAlgorithm delegating to the given (non-null) instance of HashingAlgorithm.
    • HashingAlgorithm

      public HashingAlgorithm(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.auth.hashing.HashingAlgorithm getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • id

      public String id()
      return the symbolic name for the algorithm
      Returns:
      short id e.g.: sha512.
    • params

      public Set<String> params()
      return the list of param names required for this algorithm.
      Returns:
      set of param names.
    • needsSeparator

      public boolean needsSeparator()
      Should the encoded string use the default separator to split fields.
      Returns:
      true by default.
    • newInstance

      public static HashingAlgorithm newInstance(io.vertx.ext.auth.hashing.HashingAlgorithm delegate)
      Creates a new instance of the HashingAlgorithm.
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object