Interface CompiledSignedDocument<T,X extends AdesObject>
- Type Parameters:
T
- the document typeX
- 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 TypeMethodDescriptionGets the AdES object (if present in the signature)Gets the signed document.se.idsec.signservice.integration.document.SignedDocument
Gets theSignedDocument
to be returned back in the result to the caller.
-
Method Details
-
getDocument
Gets the signed document.- Returns:
- the signed document
-
getSignedDocument
@Nonnull se.idsec.signservice.integration.document.SignedDocument getSignedDocument()Gets theSignedDocument
to be returned back in the result to the caller.- Returns:
- a SignedDocument object
-
getAdesObject
Gets the AdES object (if present in the signature)- Returns:
- the AdES object, or null
-