Interface RemoteTrustedListSignatureService

All Superinterfaces:
Serializable
All Known Implementing Classes:
RemoteTrustedListSignatureServiceImpl

public interface RemoteTrustedListSignatureService extends Serializable
Service to be used for a simplified straight-forward signing of a Trusted List
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.ws.dto.ToBeSignedDTO
    getDataToSign(eu.europa.esig.dss.ws.dto.RemoteDocument trustedList, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteTrustedListSignatureParameters parameters)
    Retrieves the bytes of the data that need to be signed for a conformant XML Trusted List signing according to a set of customizable parameters
    eu.europa.esig.dss.ws.dto.RemoteDocument
    signDocument(eu.europa.esig.dss.ws.dto.RemoteDocument trustedList, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteTrustedListSignatureParameters parameters, eu.europa.esig.dss.ws.dto.SignatureValueDTO signatureValue)
    Signs the XML Trusted List with the provided signatureValue according to a set of customizable parameters.
  • Method Details

    • getDataToSign

      eu.europa.esig.dss.ws.dto.ToBeSignedDTO getDataToSign(eu.europa.esig.dss.ws.dto.RemoteDocument trustedList, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteTrustedListSignatureParameters parameters) throws eu.europa.esig.dss.model.DSSException
      Retrieves the bytes of the data that need to be signed for a conformant XML Trusted List signing according to a set of customizable parameters
      Parameters:
      trustedList - RemoteDocument XML trusted list to be signed (the full XML file shall be provided)
      parameters - RemoteTrustedListSignatureParameters set of the signing parameters for Trusted List signature creation
      Returns:
      the data to be signed
      Throws:
      eu.europa.esig.dss.model.DSSException - if an error occurred
    • signDocument

      eu.europa.esig.dss.ws.dto.RemoteDocument signDocument(eu.europa.esig.dss.ws.dto.RemoteDocument trustedList, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteTrustedListSignatureParameters parameters, eu.europa.esig.dss.ws.dto.SignatureValueDTO signatureValue) throws eu.europa.esig.dss.model.DSSException
      Signs the XML Trusted List with the provided signatureValue according to a set of customizable parameters. This method produces a signed XML Trusted List with an enveloped signature.
      Parameters:
      trustedList - RemoteDocument XML trusted list to be signed (the full XML file shall be provided)
      parameters - RemoteTrustedListSignatureParameters set of the signing parameters
      signatureValue - SignatureValueDTO the signature value to incorporate
      Returns:
      the signed XML Trusted List with an enveloped signature
      Throws:
      eu.europa.esig.dss.model.DSSException - if an error occurred