Class CAdESService

All Implemented Interfaces:
DocumentSignatureService<CAdESSignatureParameters>, Serializable

public class CAdESService
extends AbstractSignatureService<CAdESSignatureParameters>
CAdES implementation of DocumentSignatureService
See Also:
Serialized Form
  • Constructor Details

    • CAdESService

      public CAdESService​(CertificateVerifier certificateVerifier)
      This is the constructor to create an instance of the CAdESService. A certificate verifier must be provided.
      Parameters:
      certificateVerifier - CertificateVerifier provides information on the sources to be used in the validation process in the context of a signature.
  • Method Details

    • getContentTimestamp

      public TimestampToken getContentTimestamp​(eu.europa.esig.dss.model.DSSDocument toSignDocument, CAdESSignatureParameters parameters)
    • getDataToSign

      public eu.europa.esig.dss.model.ToBeSigned getDataToSign​(eu.europa.esig.dss.model.DSSDocument toSignDocument, CAdESSignatureParameters parameters) throws eu.europa.esig.dss.model.DSSException
      Throws:
      eu.europa.esig.dss.model.DSSException
    • signDocument

      public eu.europa.esig.dss.model.DSSDocument signDocument​(eu.europa.esig.dss.model.DSSDocument toSignDocument, CAdESSignatureParameters parameters, eu.europa.esig.dss.model.SignatureValue signatureValue) throws eu.europa.esig.dss.model.DSSException
      Throws:
      eu.europa.esig.dss.model.DSSException
    • extendDocument

      public eu.europa.esig.dss.model.DSSDocument extendDocument​(eu.europa.esig.dss.model.DSSDocument toExtendDocument, CAdESSignatureParameters parameters)