Package se.idsec.signservice.integration
Class ProcessSignResponseInput
java.lang.Object
se.idsec.signservice.integration.ProcessSignResponseInput
The
ProceessSignResponseInput
class is intended to be used when the SignService Integration service is
implemented as a REST service. It collects all the parameters of the
SignServiceIntegrationService.processSignResponse(String, String, se.idsec.signservice.integration.core.SignatureState, SignResponseProcessingParameters)
method.- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder forProcessSignResponseInput
objects. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ProcessSignResponseInput
(String signResponse, String relayState, SignatureState state, SignResponseProcessingParameters parameters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the optional processing parameters giving directives about the processing.Gets the relayState (read from the RelayState POST parameter).Gets the Base64-encoded SignResponse message (read from the EidSignResponse POST parameter).getState()
Gets the signature state.void
setParameters
(SignResponseProcessingParameters parameters) Assigns the processing parameters giving directives about the processing.void
setRelayState
(String relayState) Assigns the relayState (read from the RelayState POST parameter).void
setSignResponse
(String signResponse) Assigns the Base64-encoded SignResponse message (read from the EidSignResponse POST parameter).void
setState
(SignatureState state) Assigns the signature state.
-
Constructor Details
-
ProcessSignResponseInput
public ProcessSignResponseInput()Default constructor. -
ProcessSignResponseInput
public ProcessSignResponseInput(String signResponse, String relayState, SignatureState state, SignResponseProcessingParameters parameters) Constructor.- Parameters:
signResponse
- the Base64-encoded SignResponse message (from the EidSignResponse POST parameter)relayState
- the relayState (read from the RelayState POST parameter)state
- the signature stateparameters
- processing parameters giving directives about the processing (may benull
)
-
-
Method Details
-
getSignResponse
Gets the Base64-encoded SignResponse message (read from the EidSignResponse POST parameter).- Returns:
- the base64-encoded SignResponse
-
setSignResponse
Assigns the Base64-encoded SignResponse message (read from the EidSignResponse POST parameter).- Parameters:
signResponse
- the base64-encoded SignResponse
-
getRelayState
Gets the relayState (read from the RelayState POST parameter).- Returns:
- the RelayState parameter
-
setRelayState
Assigns the relayState (read from the RelayState POST parameter).- Parameters:
relayState
- the RelayState parameter
-
getState
Gets the signature state.- Returns:
- the signature state
-
setState
Assigns the signature state.- Parameters:
state
- the signature state
-
getParameters
Gets the optional processing parameters giving directives about the processing.- Returns:
- processing parameters, or
null
-
setParameters
Assigns the processing parameters giving directives about the processing.- Parameters:
parameters
- processing parameters
-