Class RemoteTimestampParameters
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.parameters.RemoteTimestampParameters
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty 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 TypeMethodDescriptionbooleanGets the canonicalization methodGets the digest algorithmGets the timestamp container forminthashCode()voidsetCanonicalizationMethod(String canonicalizationMethod) Sets the canonicalization algorithm NOTE: to be used for XAdES format onlyvoidsetDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets the digest algorithm for message-imprint hash computationvoidsetTimestampContainerForm(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-TimestampContainerFormdigestAlgorithm-DigestAlgorithm
-
RemoteTimestampParameters
public RemoteTimestampParameters(TimestampContainerForm timestampForm, DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Constructor with a canonicalization method (to be used for XAdES)- Parameters:
timestampForm-TimestampContainerFormdigestAlgorithm-DigestAlgorithmcanonicalizationMethod-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
-