Class SaltedPasswordAlgorithmSpec

java.lang.Object
org.wildfly.security.password.spec.SaltedPasswordAlgorithmSpec
All Implemented Interfaces:
Serializable, AlgorithmParameterSpec

public final class SaltedPasswordAlgorithmSpec extends Object implements AlgorithmParameterSpec, Serializable
Algorithm parameter specification for salted hashed password types.
Author:
Darran Lofthouse
See Also:
  • Constructor Details

    • SaltedPasswordAlgorithmSpec

      public SaltedPasswordAlgorithmSpec(byte[] salt)
      Create a new instance.
      Parameters:
      salt - the salt bytes
  • Method Details

    • getSalt

      public byte[] getSalt()
      Get the salt bytes.
      Returns:
      the salt bytes
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object