Class DataToBeCounterSignedDTO
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.AbstractDataToSignDTO
eu.europa.esig.dss.ws.signature.dto.DataToBeCounterSignedDTO
- All Implemented Interfaces:
Serializable
This class is a DTO to transfer required objects to execute getDataToBeCounterSigned 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 constructorDataToBeCounterSignedDTO
(RemoteDocument signatureDocument, RemoteSignatureParameters parameters) 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.AbstractDataToSignDTO
getParameters, setParameters
-
Constructor Details
-
DataToBeCounterSignedDTO
public DataToBeCounterSignedDTO()Empty constructor -
DataToBeCounterSignedDTO
public DataToBeCounterSignedDTO(RemoteDocument signatureDocument, RemoteSignatureParameters parameters) Default constructor- Parameters:
signatureDocument
-RemoteDocument
with a signature to counter signparameters
-RemoteSignatureParameters
-
-
Method Details
-
getSignatureDocument
Gets the signature document- Returns:
RemoteDocument
-
setSignatureDocument
Sets the signature document- Parameters:
signatureDocument
-RemoteDocument
-
toString
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractDataToSignDTO
-
equals
- Overrides:
equals
in classAbstractDataToSignDTO
-