Class RemoteTimestampParameters
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.parameters.RemoteTimestampParameters
-
Constructor Summary
ConstructorDescriptionEmpty constructorRemoteTimestampParameters
(TimestampContainerForm timestampForm, DigestAlgorithm digestAlgorithm) Default constructorRemoteTimestampParameters
(TimestampContainerForm timestampForm, DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Constructor with a canonicalization method (to be used for XAdES) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the canonicalization methodGets the digest algorithmGets the timestamp container formint
hashCode()
void
setCanonicalizationMethod
(String canonicalizationMethod) Sets the canonicalization algorithm NOTE: to be used for XAdES format onlyvoid
setDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Sets the digest algorithm for message-imprint hash computationvoid
setTimestampContainerForm
(TimestampContainerForm timestampForm) Sets the timestamp container form for a standalone timestamp creationtoString()
-
Constructor Details
-
RemoteTimestampParameters
public RemoteTimestampParameters()Empty constructor -
RemoteTimestampParameters
public RemoteTimestampParameters(TimestampContainerForm timestampForm, DigestAlgorithm digestAlgorithm) Default constructor- Parameters:
timestampForm
-TimestampContainerForm
digestAlgorithm
-DigestAlgorithm
-
RemoteTimestampParameters
public RemoteTimestampParameters(TimestampContainerForm timestampForm, DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Constructor with a canonicalization method (to be used for XAdES)- Parameters:
timestampForm
-TimestampContainerForm
digestAlgorithm
-DigestAlgorithm
canonicalizationMethod
-String
-
-
Method Details
-
getDigestAlgorithm
-
setDigestAlgorithm
Sets the digest algorithm for message-imprint hash computation- Parameters:
digestAlgorithm
-DigestAlgorithm
-
getCanonicalizationMethod
-
setCanonicalizationMethod
-
getTimestampContainerForm
Gets the timestamp container form- Returns:
TimestampContainerForm
-
setTimestampContainerForm
Sets the timestamp container form for a standalone timestamp creation- Parameters:
timestampForm
-TimestampContainerForm
-
hashCode
-
equals
-
toString
-