Class KeyAlgorithmCriterion

java.lang.Object
org.opensaml.security.criteria.KeyAlgorithmCriterion
All Implemented Interfaces:
Criterion

public final class KeyAlgorithmCriterion
extends Object
implements Criterion
An implementation of Criterion which specifies key algorithm criteria.
  • Field Details

    • keyAlgorithm

      private String keyAlgorithm
      Key algorithm type of resolved credentials.
  • Constructor Details

    • KeyAlgorithmCriterion

      public KeyAlgorithmCriterion​(@Nonnull String algorithm)
      Constructor.
      Parameters:
      algorithm - key algorithm
  • Method Details

    • getKeyAlgorithm

      @Nonnull public String getKeyAlgorithm()
      Get the key algorithm criteria.
      Returns:
      returns the keyAlgorithm.
    • setKeyAlgorithm

      public void setKeyAlgorithm​(@Nonnull String algorithm)
      Set the key algorithm criteria.
      Parameters:
      algorithm - The keyAlgorithm to set.
    • toString

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

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

      public boolean equals​(Object obj)
      Overrides:
      equals in class Object