Class SignatureAlgorithmWithMinKeySize

java.lang.Object
eu.europa.esig.dss.model.policy.SignatureAlgorithmWithMinKeySize
All Implemented Interfaces:
Serializable

public class SignatureAlgorithmWithMinKeySize extends Object implements Serializable
Defines a eu.europa.esig.dss.enumerations.SignatureAlgorithm with a minimum key size
See Also:
  • Constructor Details

    • SignatureAlgorithmWithMinKeySize

      public SignatureAlgorithmWithMinKeySize(SignatureAlgorithm signatureAlgorithm, int minKeySize)
      Default constructor
      Parameters:
      signatureAlgorithm - SignatureAlgorithm
      minKeySize - integer key size. 0 when not defined
  • Method Details

    • getSignatureAlgorithm

      public SignatureAlgorithm getSignatureAlgorithm()
      Gets Signature algorithm
      Returns:
      SignatureAlgorithm
    • getMinKeySize

      public int getMinKeySize()
      Gets the minimum key size value
      Returns:
      key size
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object