Class ExtendDocumentDTO
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.ExtendDocumentDTO
- All Implemented Interfaces:
Serializable
This class is a DTO to transfer required objects to execute extendDocument 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).
NOTE: In addition to toExtendDocument (mandatory), at least one of
signatureProfile or parameters shall be provided.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty documentExtendDocumentDTO(RemoteDocument toExtendDocument, SignatureProfile signatureProfile) Simplified constructor with a target signature augmentation profile definitionExtendDocumentDTO(RemoteDocument toExtendDocument, SignatureProfile signatureProfile, RemoteSignatureParameters parameters) Constructor with a target signature augmentation profile and signature parameters definitionsExtendDocumentDTO(RemoteDocument toExtendDocument, RemoteSignatureParameters parameters) Constructor with signature parameters definition -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the extension parametersGets the target signature augmentation profileGets the document to be extendedinthashCode()voidsetParameters(RemoteSignatureParameters parameters) Sets the extension parametersvoidsetSignatureProfile(SignatureProfile signatureProfile) Sets the target signature augmentation profilevoidsetToExtendDocument(RemoteDocument toExtendDocument) Sets the document to be extendedtoString()
-
Constructor Details
-
ExtendDocumentDTO
public ExtendDocumentDTO()Empty document -
ExtendDocumentDTO
Simplified constructor with a target signature augmentation profile definition- Parameters:
toExtendDocument-RemoteDocumentsignatureProfile-SignatureProfile
-
ExtendDocumentDTO
Constructor with signature parameters definition- Parameters:
toExtendDocument-RemoteDocumentparameters-RemoteSignatureParameters
-
ExtendDocumentDTO
public ExtendDocumentDTO(RemoteDocument toExtendDocument, SignatureProfile signatureProfile, RemoteSignatureParameters parameters) Constructor with a target signature augmentation profile and signature parameters definitions- Parameters:
toExtendDocument-RemoteDocumentsignatureProfile-SignatureProfileparameters-RemoteSignatureParameters
-
-
Method Details
-
getToExtendDocument
Gets the document to be extended- Returns:
RemoteDocument
-
setToExtendDocument
Sets the document to be extended- Parameters:
toExtendDocument-RemoteDocument
-
getSignatureProfile
Gets the target signature augmentation profile- Returns:
SignatureProfile
-
setSignatureProfile
Sets the target signature augmentation profile- Parameters:
signatureProfile-SignatureProfile
-
getParameters
Gets the extension parameters- Returns:
RemoteSignatureParameters
-
setParameters
Sets the extension parameters- Parameters:
parameters-RemoteSignatureParameters
-
toString
-
hashCode
-
equals
-