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
,XAdESTimestampParameters
public abstract class TimestampParameters extends Object implements SerializableTimestampParameters
This class represents the parameters provided when generating specific timestamps in a signature, such as an
AllDataObjectsTimestamp or an
IndividualDataObjectsTimestamp.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected DigestAlgorithm
digestAlgorithm
The digest algorithm to provide to the timestamping authority -
Constructor Summary
Constructors Modifier Constructor Description protected
TimestampParameters()
protected
TimestampParameters(DigestAlgorithm digestAlgorithm)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
DigestAlgorithm
getDigestAlgorithm()
Returns a DigestAlgorithm to be used to hash a data to be timestampedint
hashCode()
void
setDigestAlgorithm(DigestAlgorithm digestAlgorithm)
String
toString()
-
Field Details
-
digestAlgorithm
The digest algorithm to provide to the timestamping authority
-
-
Constructor Details
-
TimestampParameters
protected TimestampParameters() -
TimestampParameters
-
-
Method Details
-
getDigestAlgorithm
Description copied from interface:SerializableTimestampParameters
Returns a DigestAlgorithm to be used to hash a data to be timestamped- Specified by:
getDigestAlgorithm
in interfaceSerializableTimestampParameters
- Returns:
DigestAlgorithm
-
setDigestAlgorithm
-
hashCode
public int hashCode() -
equals
-
toString
-