Class RemoteTimestampParameters
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.parameters.RemoteTimestampParameters
- All Implemented Interfaces:
Serializable
Parameters for a timestamp creation
- See Also:
-
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
Gets the digest algorithm- Returns:
DigestAlgorithm
-
setDigestAlgorithm
Sets the digest algorithm for message-imprint hash computation- Parameters:
digestAlgorithm
-DigestAlgorithm
-
getCanonicalizationMethod
Gets the canonicalization method- Returns:
String
-
setCanonicalizationMethod
Sets the canonicalization algorithm NOTE: to be used for XAdES format only- Parameters:
canonicalizationMethod
-String
-
getTimestampContainerForm
Gets the timestamp container form- Returns:
TimestampContainerForm
-
setTimestampContainerForm
Sets the timestamp container form for a standalone timestamp creation- Parameters:
timestampForm
-TimestampContainerForm
-
hashCode
public int hashCode() -
equals
-
toString
-