Class KeyManagmentAlgorithmCriterion

  • All Implemented Interfaces:
    Criterion

    public final class KeyManagmentAlgorithmCriterion
    extends Object
    implements Criterion
    An implementation of Criterion which specifies key management algorithm criteria.
    Since:
    2.2.0
    • Field Detail

      • algorithmName

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

      • KeyManagmentAlgorithmCriterion

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

      • getAlgorithm

        @Nonnull
        public String getAlgorithm()
        Get the algorithm criteria.
        Returns:
        returns the keyAlgorithm.
      • setAlgorithm

        public void setAlgorithm​(@Nonnull
                                 String algorithm)
        Set the algorithm criteria.
        Parameters:
        algorithm - The encryption algorithm to set.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object