Class CounterSignSignatureDTO
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.AbstractSignDocumentDTO
eu.europa.esig.dss.ws.signature.dto.CounterSignSignatureDTO
- All Implemented Interfaces:
Serializable
This class is a DTO to transfer required objects to execute counterSignSignature method
It's only possible to transfer an object by POST and REST.
It's impossible to transfer big objects by GET (url size limitation)
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructorCounterSignSignatureDTO
(RemoteDocument signatureDocument, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the signature documentint
hashCode()
void
setSignatureDocument
(RemoteDocument signatureDocument) Sets the signature documenttoString()
Methods inherited from class eu.europa.esig.dss.ws.signature.dto.AbstractSignDocumentDTO
getParameters, getSignatureValue, setParameters, setSignatureValue
-
Constructor Details
-
CounterSignSignatureDTO
public CounterSignSignatureDTO()Empty constructor -
CounterSignSignatureDTO
public CounterSignSignatureDTO(RemoteDocument signatureDocument, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue) Default constructor- Parameters:
signatureDocument
-RemoteDocument
with a signature to counter signparameters
-RemoteSignatureParameters
signatureValue
-SignatureValueDTO
-
-
Method Details
-
getSignatureDocument
Gets the signature document- Returns:
RemoteDocument
-
setSignatureDocument
Sets the signature document- Parameters:
signatureDocument
-RemoteDocument
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractSignDocumentDTO
-
equals
- Overrides:
equals
in classAbstractSignDocumentDTO
-
toString
-