Package eu.europa.esig.dss.model.policy
Class EncryptionAlgorithmWithMinKeySize
java.lang.Object
eu.europa.esig.dss.model.policy.EncryptionAlgorithmWithMinKeySize
- All Implemented Interfaces:
Serializable
DTO containing a pair of an
eu.europa.esig.dss.enumerations.EncryptionAlgorithm
and
its corresponding minimal allowed key size- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptionAlgorithmWithMinKeySize
(EncryptionAlgorithm encryptionAlgorithm, int minKeySize) Default constructor -
Method Summary
-
Constructor Details
-
EncryptionAlgorithmWithMinKeySize
Default constructor- Parameters:
encryptionAlgorithm
-EncryptionAlgorithm
minKeySize
- integer key size. 0 when not defined
-
-
Method Details
-
getEncryptionAlgorithm
Gets Encryption algorithm- Returns:
EncryptionAlgorithm
-
getMinKeySize
public int getMinKeySize()Gets the minimum key size value- Returns:
- key size
-
equals
-
hashCode
public int hashCode() -
toString
-