Package eu.europa.esig.dss.model
Class TimestampParameters
java.lang.Object
eu.europa.esig.dss.model.TimestampParameters
- All Implemented Interfaces:
SerializableTimestampParameters,Serializable
- Direct Known Subclasses:
CAdESTimestampParameters,JAdESTimestampParameters,XAdESTimestampParameters
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 DigestAlgorithmThe digest algorithm to provide to the timestamping authority -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEmpty constructorprotectedTimestampParameters(DigestAlgorithm digestAlgorithm) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a DigestAlgorithm to be used to hash a data to be timestampedinthashCode()voidsetDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets DigestAlgorithm to use for timestamped data's digest computationtoString()
-
Field Details
-
digestAlgorithm
The digest algorithm to provide to the timestamping authority
-
-
Constructor Details
-
TimestampParameters
protected TimestampParameters()Empty constructor -
TimestampParameters
The default constructor- Parameters:
digestAlgorithm-DigestAlgorithmto use for data digest computation
-
-
Method Details
-
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
Sets DigestAlgorithm to use for timestamped data's digest computation- Parameters:
digestAlgorithm-DigestAlgorithm
-
hashCode
-
equals
-
toString
-