Package eu.europa.esig.dss.xades
Class XAdESTimestampParameters
java.lang.Object
eu.europa.esig.dss.model.TimestampParameters
eu.europa.esig.dss.xades.XAdESTimestampParameters
- All Implemented Interfaces:
SerializableTimestampParameters
,Serializable
public class XAdESTimestampParameters extends TimestampParameters
Parameters for a XAdES timestamp creation
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class eu.europa.esig.dss.model.TimestampParameters
digestAlgorithm
-
Constructor Summary
Constructors Constructor Description XAdESTimestampParameters()
Empty constructorXAdESTimestampParameters(DigestAlgorithm digestAlgorithm)
Constructor with digest algorithmXAdESTimestampParameters(DigestAlgorithm digestAlgorithm, String canonicalizationMethod)
Default constructor -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
String
getCanonicalizationMethod()
Gets the canonicalization methodint
hashCode()
void
setCanonicalizationMethod(String canonicalizationMethod)
Sets the canonicalization methodString
toString()
Methods inherited from class eu.europa.esig.dss.model.TimestampParameters
getDigestAlgorithm, setDigestAlgorithm
-
Constructor Details
-
XAdESTimestampParameters
public XAdESTimestampParameters()Empty constructor -
XAdESTimestampParameters
Constructor with digest algorithm- Parameters:
digestAlgorithm
-DigestAlgorithm
to use for message-imprint digest calculation
-
XAdESTimestampParameters
Default constructor- Parameters:
digestAlgorithm
-DigestAlgorithm
to use for message-imprint digest calculationcanonicalizationMethod
-String
canonicalization to use for the message-imprint
-
-
Method Details
-
getCanonicalizationMethod
Gets the canonicalization method- Returns:
String
-
setCanonicalizationMethod
Sets the canonicalization method- Parameters:
canonicalizationMethod
-String
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTimestampParameters
-
equals
- Overrides:
equals
in classTimestampParameters
-
toString
- Overrides:
toString
in classTimestampParameters
-