java.lang.Object
eu.europa.esig.dss.model.TimestampParameters
- All Implemented Interfaces:
SerializableTimestampParameters,Serializable
This class represents the parameters provided when generating specific timestamps in a signature, such as an
AllDataObjectsTimestamp or an
IndividualDataObjectsTimestamp.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected eu.europa.esig.dss.enumerations.DigestAlgorithmThe digest algorithm to provide to the timestamping authority -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEmpty constructorprotectedTimestampParameters(eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleaneu.europa.esig.dss.enumerations.DigestAlgorithmReturns a DigestAlgorithm to be used to hash a data to be timestampedinthashCode()voidsetDigestAlgorithm(eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm) Sets DigestAlgorithm to use for timestamped data's digest computationtoString()
-
Field Details
-
digestAlgorithm
protected eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithmThe digest algorithm to provide to the timestamping authority
-
-
Constructor Details
-
TimestampParameters
protected TimestampParameters()Empty constructor -
TimestampParameters
protected TimestampParameters(eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm) The default constructor- Parameters:
digestAlgorithm-DigestAlgorithmto use for data digest computation
-
-
Method Details
-
getDigestAlgorithm
public eu.europa.esig.dss.enumerations.DigestAlgorithm getDigestAlgorithm()Description copied from interface:SerializableTimestampParametersReturns a DigestAlgorithm to be used to hash a data to be timestamped- Specified by:
getDigestAlgorithmin interfaceSerializableTimestampParameters- Returns:
DigestAlgorithm
-
setDigestAlgorithm
public void setDigestAlgorithm(eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm) Sets DigestAlgorithm to use for timestamped data's digest computation- Parameters:
digestAlgorithm-DigestAlgorithm
-
toString
-
equals
-
hashCode
public int hashCode()
-