Class KeyAlgorithmCriterion

  • All Implemented Interfaces:
    Criterion

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

      • keyAlgorithm

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

      • KeyAlgorithmCriterion

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

      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object