Class FipsAlgorithm

java.lang.Object
org.bouncycastle.crypto.fips.FipsAlgorithm
All Implemented Interfaces:
Serializable, Algorithm
Direct Known Subclasses:
FipsDigestAlgorithm

public class FipsAlgorithm extends Object implements Algorithm
Base class for FIPS approved algorithm identifier implementations.
See Also:
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Algorithm
      Return a string representation of the algorithm.
      Specified by:
      getName in interface Algorithm
      Returns:
      the algorithm name.
    • requiresAlgorithmParameters

      public final boolean requiresAlgorithmParameters()
      Description copied from interface: Algorithm
      Returns true if this algorithm requires additional parameter fields, false otherwise.
      Specified by:
      requiresAlgorithmParameters in interface Algorithm
      Returns:
      true if algorithm requires parameters.
    • equals

      public boolean equals(Object o)
      Description copied from interface: Algorithm
      Object equals method.
      Specified by:
      equals in interface Algorithm
      Overrides:
      equals in class Object
      Parameters:
      o - the object to be checked for equality.
      Returns:
      true if o is equal to this, false otherwise.
    • hashCode

      public int hashCode()
      Description copied from interface: Algorithm
      Object hashCode method.
      Specified by:
      hashCode in interface Algorithm
      Overrides:
      hashCode in class Object
      Returns:
      calculated hash code for this object.