Class KeyLengthCriterion

  • All Implemented Interfaces:
    Criterion

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

      • keyLength

        private Integer keyLength
        Key length of resolved credentials.
    • Constructor Detail

      • KeyLengthCriterion

        public KeyLengthCriterion​(@Nonnull
                                  Integer length)
        Constructor.
        Parameters:
        length - key length
    • Method Detail

      • getKeyLength

        @Nonnull
        public Integer getKeyLength()
        Get the key length.
        Returns:
        Returns the keyLength.
      • setKeyLength

        public void setKeyLength​(@Nonnull
                                 Integer length)
        Set the key length.
        Parameters:
        length - The keyLength to set.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object