Class SignTrustedListDTO

java.lang.Object
eu.europa.esig.dss.ws.signature.dto.SignTrustedListDTO
All Implemented Interfaces:
Serializable

public class SignTrustedListDTO extends Object implements 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 Details

    • SignTrustedListDTO

      public SignTrustedListDTO()
      Empty constructor
    • SignTrustedListDTO

      public SignTrustedListDTO(eu.europa.esig.dss.ws.dto.RemoteDocument trustedList, RemoteTrustedListSignatureParameters parameters, eu.europa.esig.dss.ws.dto.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 parameters
      signatureValue - SignatureValueDTO created signature value
  • Method Details

    • getTrustedList

      public eu.europa.esig.dss.ws.dto.RemoteDocument getTrustedList()
      Gets an XML Trusted List to be signed
      Returns:
      RemoteDocument
    • setTrustedList

      public void setTrustedList(eu.europa.esig.dss.ws.dto.RemoteDocument trustedList)
      Sets an XML Trusted List to be signed
      Parameters:
      trustedList - RemoteDocument
    • getParameters

      public RemoteTrustedListSignatureParameters getParameters()
      Gets a set of customizable parameters
      Returns:
      RemoteTrustedListSignatureParameters
    • setParameters

      public void setParameters(RemoteTrustedListSignatureParameters parameters)
      Sets a set of customizable parameters (optional)
      Parameters:
      parameters - RemoteTrustedListSignatureParameters
    • getSignatureValue

      public eu.europa.esig.dss.ws.dto.SignatureValueDTO getSignatureValue()
      Gets a signature value
      Returns:
      SignatureValueDTO
    • setSignatureValue

      public void setSignatureValue(eu.europa.esig.dss.ws.dto.SignatureValueDTO signatureValue)
      Sets a signature value
      Parameters:
      signatureValue - SignatureValueDTO