Class EvaluableKeyAlgorithmCredentialCriterion

    • Field Detail

      • log

        private final org.slf4j.Logger log
        Logger.
      • keyAlgorithm

        private final String keyAlgorithm
        Base criteria.
    • Constructor Detail

      • EvaluableKeyAlgorithmCredentialCriterion

        public EvaluableKeyAlgorithmCredentialCriterion​(@Nonnull
                                                        KeyAlgorithmCriterion criteria)
        Constructor.
        Parameters:
        criteria - the criteria which is the basis for evaluation
      • EvaluableKeyAlgorithmCredentialCriterion

        public EvaluableKeyAlgorithmCredentialCriterion​(@Nonnull
                                                        String newKeyAlgorithm)
        Constructor.
        Parameters:
        newKeyAlgorithm - the criteria value which is the basis for evaluation
    • Method Detail

      • getKey

        @Nullable
        private Key getKey​(@Nonnull
                           Credential credential)
        Get the key contained within the credential.
        Parameters:
        credential - the credential containing a key
        Returns:
        the key from the credential
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object