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
Parameters for a XAdES timestamp creation
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.model.TimestampParameters
digestAlgorithm
-
Constructor Summary
ConstructorDescriptionEmpty constructorXAdESTimestampParameters
(DigestAlgorithm digestAlgorithm) Constructor with digest algorithmXAdESTimestampParameters
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the canonicalization methodint
hashCode()
void
setCanonicalizationMethod
(String canonicalizationMethod) Sets the canonicalization methodtoString()
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
-