Class HashingStrategy

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

@Deprecated public class HashingStrategy extends Object implements MutinyDelegate
Deprecated.
Hashing Strategy manager. This class will load system provided hashing strategies and algorithms.

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

  • Field Details

  • Constructor Details

    • HashingStrategy

      public HashingStrategy(io.vertx.ext.auth.HashingStrategy delegate)
      Deprecated.
    • HashingStrategy

      public HashingStrategy(Object delegate)
      Deprecated.
  • Method Details

    • getDelegate

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

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

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

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • load

      @Deprecated public static HashingStrategy load()
      Deprecated.
      Returns:
      a Hashing Strategy capable of hashing using the available algorithms
    • hash

      @Deprecated public String hash(String id, Map<String,String> params, String salt, String password)
      Deprecated.
      Parameters:
      id - the algorithm id
      params - the algorithm specific parameters
      salt - the given salt
      password - the given password
      Returns:
      the hashed string
    • verify

      @Deprecated public boolean verify(String hash, String password)
      Deprecated.
      Parameters:
      hash - the hash to verify
      password - the password to test against
      Returns:
      boolean
    • get

      Deprecated.
      Parameters:
      id - the algorithm id
      Returns:
      the algorithm
    • put

      @Deprecated public HashingStrategy put(String id, HashingAlgorithm algorithm)
      Deprecated.
      Parameters:
      id - the algorithm id
      algorithm - the implementation
      Returns:
      self
    • newInstance

      public static HashingStrategy newInstance(io.vertx.ext.auth.HashingStrategy arg)
      Deprecated.