Class DefaultCompiledSignedDocument<T,X extends AdesObject>

java.lang.Object
se.idsec.signservice.integration.document.impl.DefaultCompiledSignedDocument<T,X>
Type Parameters:
T - the document type
X - the AdES object from the signature
All Implemented Interfaces:
CompiledSignedDocument<T,X>

public class DefaultCompiledSignedDocument<T,X extends AdesObject> extends Object implements CompiledSignedDocument<T,X>
Base class implementing the CompiledSignedDocument interface.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Constructor Details

    • DefaultCompiledSignedDocument

      public DefaultCompiledSignedDocument(String id, T document, String mimeType, DocumentEncoder<T> documentEncoder)
      Constructor.
      Parameters:
      id - the document ID
      document - the document
      mimeType - document MIME type
      documentEncoder - the document encoder
    • DefaultCompiledSignedDocument

      public DefaultCompiledSignedDocument(String id, T document, String mimeType, DocumentEncoder<T> documentEncoder, X adesObject)
      Constructor.
      Parameters:
      id - the document ID
      document - the document
      mimeType - document MIME type
      documentEncoder - the document encoder
      adesObject - AdES object (may be null)
  • Method Details