Class DataEncryptionAlgorithmCriterion

  • All Implemented Interfaces:
    Criterion

    public final class DataEncryptionAlgorithmCriterion
    extends Object
    implements Criterion
    An implementation of an Criterion which specifies content encryption algorithm criteria.
    Since:
    2.2.0
    • Field Detail

      • encAlgorithm

        @Nonnull
        @NotEmpty
        private String encAlgorithm
        Key algorithm type of resolved credentials.
    • Constructor Detail

      • DataEncryptionAlgorithmCriterion

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

      • getEncAlgorithm

        @Nonnull
        @NotEmpty
        public String getEncAlgorithm()
        Get the encryption algorithm criteria.
        Returns:
        returns the keyAlgorithm.
      • setEncAlgorithm

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

        public int hashCode()
        Overrides:
        hashCode in class Object