Interface SignatureState
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
RestClientSignatureState
The
SignatureState
is used to represent the state of an ongoing signature operation. It is generated by the
SignServiceIntegrationService.createSignRequest(SignRequestInput)
method and should be supplied as a
parameter to
SignServiceIntegrationService.processSignResponse(String, String, SignatureState, SignResponseProcessingParameters)
.
If the SignService Integration Service instance/profile is executing in stateless mode (see
IntegrationServiceDefaultConfiguration.isStateless()
), the getState()
holds the session state. In
statefull mode the state is stored internally in the SignService Integration Service and will not be part of the
resulting SignatureState
object that is returned by
SignServiceIntegrationService.createSignRequest(SignRequestInput)
.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Method Details
-
getId
String getId()Returns the unique identifier for the signature operation.- Returns:
- the signature operation identifier
-
getState
Serializable getState()Holds the session state.Note: Only the implementation of the SignService Integration Service needs to understand how to interpret this data.
- Returns:
- the session state, or
null
-