Interface CompiledSignedDocument<T,X extends AdesObject>

Type Parameters:
T - the document type
X - the AdES object from the signature
All Known Implementing Classes:
DefaultCompiledSignedDocument

public interface CompiledSignedDocument<T,X extends AdesObject>
An interface that is used to represent a signed document that is the compilation of the TBS document from the SignRequest and the signature from the SignResponse.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the AdES object (if present in the signature)
    Gets the signed document.
    se.idsec.signservice.integration.document.SignedDocument
    Gets the SignedDocument to be returned back in the result to the caller.
  • Method Details

    • getDocument

      @Nonnull T getDocument()
      Gets the signed document.
      Returns:
      the signed document
    • getSignedDocument

      @Nonnull se.idsec.signservice.integration.document.SignedDocument getSignedDocument()
      Gets the SignedDocument to be returned back in the result to the caller.
      Returns:
      a SignedDocument object
    • getAdesObject

      @Nullable X getAdesObject()
      Gets the AdES object (if present in the signature)
      Returns:
      the AdES object, or null