Class SignTrustedListDTO
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.SignTrustedListDTO
- All Implemented Interfaces:
Serializable
DTO to be used for the method signDocument(..) for Trusted List signing.
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 constructorSignTrustedListDTO
(RemoteDocument trustedList, RemoteTrustedListSignatureParameters parameters, SignatureValueDTO signatureValue) Default constructor with parameters -
Method Summary
Modifier and TypeMethodDescriptionGets a set of customizable parametersGets a signature valueGets an XML Trusted List to be signedvoid
setParameters
(RemoteTrustedListSignatureParameters parameters) Sets a set of customizable parameters (optional)void
setSignatureValue
(SignatureValueDTO signatureValue) Sets a signature valuevoid
setTrustedList
(RemoteDocument trustedList) Sets an XML Trusted List to be signed
-
Constructor Details
-
SignTrustedListDTO
public SignTrustedListDTO()Empty constructor -
SignTrustedListDTO
public SignTrustedListDTO(RemoteDocument trustedList, RemoteTrustedListSignatureParameters parameters, SignatureValueDTO signatureValue) Default constructor with parameters- Parameters:
trustedList
-RemoteDocument
XML Trusted List to be signed (shall be represented by a full document binaries)parameters
-RemoteTrustedListSignatureParameters
a set of customizable parameterssignatureValue
-SignatureValueDTO
created signature value
-
-
Method Details
-
getTrustedList
Gets an XML Trusted List to be signed- Returns:
RemoteDocument
-
setTrustedList
Sets an XML Trusted List to be signed- Parameters:
trustedList
-RemoteDocument
-
getParameters
Gets a set of customizable parameters- Returns:
RemoteTrustedListSignatureParameters
-
setParameters
Sets a set of customizable parameters (optional)- Parameters:
parameters
-RemoteTrustedListSignatureParameters
-
getSignatureValue
Gets a signature value- Returns:
SignatureValueDTO
-
setSignatureValue
Sets a signature value- Parameters:
signatureValue
-SignatureValueDTO
-