Class DataEncryptionAlgorithmCriterion

java.lang.Object
net.shibboleth.oidc.security.credential.impl.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 Details

    • encAlgorithm

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

    • DataEncryptionAlgorithmCriterion

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

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

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object