Class ProcessedTbsDocument

java.lang.Object
se.idsec.signservice.integration.document.ProcessedTbsDocument

public class ProcessedTbsDocument extends Object
Representation of a "processed" TBS document. This is basically the TbsDocument instance and its document object (as a Java object).
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Constructor Details

    • ProcessedTbsDocument

      public ProcessedTbsDocument(@Nonnull se.idsec.signservice.integration.document.TbsDocument tbsDocument, @Nullable Object documentObject)
      Constructor.
      Parameters:
      tbsDocument - the TbsDocument
      documentObject - the document as a Java object
  • Method Details

    • getDocumentObject

      public <T> T getDocumentObject(Class<T> type)
      Gets the document object.
      Type Parameters:
      T - the type
      Parameters:
      type - the required type
      Returns:
      the document object or null